gnulib.git
26 years agofilter through cppi post-jumbo-LFS
Jim Meyering [Sun, 30 Nov 1997 11:17:28 +0000 (11:17 +0000)]
filter through cppi

26 years agoremove trailing blank
Jim Meyering [Sun, 30 Nov 1997 11:16:14 +0000 (11:16 +0000)]
remove trailing blank

26 years ago(human_readable): Convert to ANSI-style definition.
Jim Meyering [Sun, 30 Nov 1997 11:10:24 +0000 (11:10 +0000)]
(human_readable): Convert to ANSI-style definition.
[lint]: Define `power'.

26 years agofilter through cppi
Jim Meyering [Sun, 30 Nov 1997 11:08:39 +0000 (11:08 +0000)]
filter through cppi

26 years ago.
Jim Meyering [Sun, 30 Nov 1997 11:08:23 +0000 (11:08 +0000)]
.

26 years ago(savedir): Check for size zero before invoking
Jim Meyering [Sun, 30 Nov 1997 10:24:41 +0000 (10:24 +0000)]
(savedir): Check for size zero before invoking
malloc; this can occur if st_size arg overflows on conversion to
unsigned int.  All callers now cast st_size arg to unsigned int.

26 years ago(getuidbyname, getgidbyname): Names can now
Jim Meyering [Sun, 30 Nov 1997 10:24:38 +0000 (10:24 +0000)]
(getuidbyname, getgidbyname): Names can now
be NULL in cache.  This change merely fixes ifdeffed-out code.

26 years agoNew file. The interface is inspired
Jim Meyering [Sun, 30 Nov 1997 10:24:32 +0000 (10:24 +0000)]
New file.  The interface is inspired
by the human_readable function that was in du.c, but it's pretty
much rewritten from scratch.

26 years ago(struct fs_usage): New member fsu_blocksize.
Jim Meyering [Sun, 30 Nov 1997 10:24:28 +0000 (10:24 +0000)]
(struct fs_usage): New member fsu_blocksize.
Other members are now uintmax_t, not long.

26 years agoDo all calculations using uintmax_t.
Jim Meyering [Sun, 30 Nov 1997 10:24:24 +0000 (10:24 +0000)]
Do all calculations using uintmax_t.
Include <inttypes.h> if available.
(adjust_blocks, CONVERT_BLOCKS): Remove.
(get_fs_usage): Set new member fsu_blocksize, and do not convert
numbers to 512-byte block units; this avoids overflow here.
Cast lseek arg to off_t, not long.

26 years ago(st_blocks): long -> off_t.
Jim Meyering [Sun, 30 Nov 1997 10:24:20 +0000 (10:24 +0000)]
(st_blocks): long -> off_t.
Avoid arithmetic overflow when size is near max.
Depend on _POSIX_SOURCE and BSIZE, not _POSIX_VERSION, for
compatibility with system.h.
(BSIZE): Remove definition, since if BSIZE is not defined
we're never invoked.

26 years ago(libfu_a_SOURCES): Add new file human.c.
Jim Meyering [Sun, 30 Nov 1997 10:24:16 +0000 (10:24 +0000)]
(libfu_a_SOURCES): Add new file human.c.
(noinst_HEADERS): Add new file human.h.

26 years ago. pre-jumbo-LFS
Jim Meyering [Sat, 29 Nov 1997 18:05:14 +0000 (18:05 +0000)]
.

26 years agoalso test for stdlib.h
Jim Meyering [Mon, 24 Nov 1997 14:21:16 +0000 (14:21 +0000)]
also test for stdlib.h
don't use STDC_HEADERS in ifdef for stdlib.h

26 years agoadd PARAMS around prototype lists
Jim Meyering [Wed, 19 Nov 1997 18:57:40 +0000 (18:57 +0000)]
add PARAMS around prototype lists

26 years ago.
Jim Meyering [Wed, 19 Nov 1997 18:55:53 +0000 (18:55 +0000)]
.

26 years agorevert a mempcpy to memcpy
Jim Meyering [Wed, 19 Nov 1997 18:55:31 +0000 (18:55 +0000)]
revert a mempcpy to memcpy

26 years ago(AUTOMAKE_OPTIONS): Use ansi2knr so *I* don't
Jim Meyering [Wed, 19 Nov 1997 15:04:15 +0000 (15:04 +0000)]
(AUTOMAKE_OPTIONS): Use ansi2knr so *I* don't
have to convert my hash package to use k&r C.

26 years ago(_REENTRANT): #define, as some hosts need this to declare localtime_r properly.
Jim Meyering [Tue, 18 Nov 1997 03:32:00 +0000 (03:32 +0000)]
(_REENTRANT): #define, as some hosts need this to declare localtime_r properly.
From Paul Eggert.

26 years ago.
Jim Meyering [Tue, 18 Nov 1997 03:29:24 +0000 (03:29 +0000)]
.

26 years agoundef putenv
Jim Meyering [Mon, 17 Nov 1997 15:45:19 +0000 (15:45 +0000)]
undef putenv

26 years agoadd jm_ prefix to use of am_cv_func_working_mktime
Jim Meyering [Mon, 17 Nov 1997 15:13:41 +0000 (15:13 +0000)]
add jm_ prefix to use of am_cv_func_working_mktime
increment serial #

26 years ago.
Jim Meyering [Sat, 15 Nov 1997 19:58:19 +0000 (19:58 +0000)]
.

26 years agoinclude unistd.h
Jim Meyering [Sat, 15 Nov 1997 19:43:06 +0000 (19:43 +0000)]
include unistd.h

26 years agoremove fixup_null_alloc prototype
Jim Meyering [Sat, 15 Nov 1997 17:18:01 +0000 (17:18 +0000)]
remove fixup_null_alloc prototype

26 years ago(EXTRA_DIST): Add mktime.m4.
Jim Meyering [Sat, 15 Nov 1997 17:14:10 +0000 (17:14 +0000)]
(EXTRA_DIST): Add mktime.m4.

26 years agoRequire jm_AM_FUNC_MKTIME, not the one from automake.
Jim Meyering [Sat, 15 Nov 1997 17:13:02 +0000 (17:13 +0000)]
Require jm_AM_FUNC_MKTIME, not the one from automake.

26 years agoCheck for %F format.
Jim Meyering [Sat, 15 Nov 1997 13:17:15 +0000 (13:17 +0000)]
Check for %F format.
Add comments.

26 years ago(bigtime_test): New function from Paul Eggert to detect SunOS4.1.4's
Jim Meyering [Sat, 15 Nov 1997 05:41:02 +0000 (05:41 +0000)]
(bigtime_test): New function from Paul Eggert to detect SunOS4.1.4's
infinite looping mktime.
Portability tweaks from Paul Eggert.

26 years agoTemporarily add a copy of this file from the automake
Jim Meyering [Sat, 15 Nov 1997 05:28:04 +0000 (05:28 +0000)]
Temporarily add a copy of this file from the automake
distribution.  Update names to have jm_ prefix.
(irix_6_4_bug): New function based on code from Ariel Faigon.

26 years ago.
Jim Meyering [Sat, 15 Nov 1997 05:24:30 +0000 (05:24 +0000)]
.

26 years ago.
Jim Meyering [Thu, 13 Nov 1997 14:29:18 +0000 (14:29 +0000)]
.

26 years agoupdate from GNU libc
Jim Meyering [Thu, 13 Nov 1997 14:22:56 +0000 (14:22 +0000)]
update from GNU libc

26 years agopartial update from FSF -- use int, not size_t; 0, not NULL
Jim Meyering [Thu, 13 Nov 1997 14:21:02 +0000 (14:21 +0000)]
partial update from FSF -- use int, not size_t; 0, not NULL

26 years ago.
Jim Meyering [Thu, 13 Nov 1997 14:16:21 +0000 (14:16 +0000)]
.

26 years agoUpdate from FSF.
Jim Meyering [Thu, 13 Nov 1997 13:22:54 +0000 (13:22 +0000)]
Update from FSF.

26 years agoCheck for POSIX.2's %f format spec.
Jim Meyering [Thu, 13 Nov 1997 13:19:15 +0000 (13:19 +0000)]
Check for POSIX.2's %f format spec.

26 years ago.
Jim Meyering [Wed, 12 Nov 1997 17:27:41 +0000 (17:27 +0000)]
.

26 years ago(path_concat): Use mempcpy, not stpcpy.
Jim Meyering [Wed, 12 Nov 1997 16:18:23 +0000 (16:18 +0000)]
(path_concat): Use mempcpy, not stpcpy.

26 years agoreturn memcpy result directly
Jim Meyering [Wed, 12 Nov 1997 16:11:17 +0000 (16:11 +0000)]
return memcpy result directly

26 years ago.
Jim Meyering [Mon, 10 Nov 1997 14:40:40 +0000 (14:40 +0000)]
.

26 years ago.
Jim Meyering [Mon, 10 Nov 1997 14:39:14 +0000 (14:39 +0000)]
.

26 years ago(jm_STRFTIME_PREREQS): Check for localtime_r.
Jim Meyering [Mon, 10 Nov 1997 03:52:47 +0000 (03:52 +0000)]
(jm_STRFTIME_PREREQS): Check for localtime_r.
(jm_FUNC_GNU_STRFTIME): Use new macro.
(jm_FUNC_STRFTIME): New macro.  Likewise.

26 years ago(jm_FUNC_MKTIME): Check for localtime_r.
Jim Meyering [Mon, 10 Nov 1997 03:52:33 +0000 (03:52 +0000)]
(jm_FUNC_MKTIME): Check for localtime_r.

26 years agoadd -*-Makefile-*- to first line
Jim Meyering [Sun, 9 Nov 1997 19:06:31 +0000 (19:06 +0000)]
add -*-Makefile-*- to first line

26 years ago.
Jim Meyering [Sat, 8 Nov 1997 21:10:39 +0000 (21:10 +0000)]
.

26 years ago(EXTRA_DIST): Add lfs.m4.
Jim Meyering [Sat, 8 Nov 1997 21:02:34 +0000 (21:02 +0000)]
(EXTRA_DIST): Add lfs.m4.

26 years ago.
Jim Meyering [Sat, 8 Nov 1997 20:42:52 +0000 (20:42 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Sat, 8 Nov 1997 20:38:23 +0000 (20:38 +0000)]
*** empty log message ***

26 years agoFix typo in comment.
Jim Meyering [Sat, 8 Nov 1997 03:00:20 +0000 (03:00 +0000)]
Fix typo in comment.
Add header check for string.h.

26 years agocleanup
Jim Meyering [Sat, 8 Nov 1997 02:56:10 +0000 (02:56 +0000)]
cleanup
use abort for framework errors

26 years ago.
Jim Meyering [Fri, 7 Nov 1997 18:19:50 +0000 (18:19 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Fri, 7 Nov 1997 17:19:00 +0000 (17:19 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Fri, 7 Nov 1997 17:18:15 +0000 (17:18 +0000)]
.

26 years agomake sure autoconf tests have been run
Jim Meyering [Mon, 3 Nov 1997 15:19:20 +0000 (15:19 +0000)]
make sure autoconf tests have been run

26 years agoAdd insurance: tell xmalloc.c we've done the test.
Jim Meyering [Mon, 3 Nov 1997 15:18:09 +0000 (15:18 +0000)]
Add insurance: tell xmalloc.c we've done the test.

26 years ago(xalloc_fail): Renamed from fixup_null_alloc.
Jim Meyering [Mon, 3 Nov 1997 05:25:44 +0000 (05:25 +0000)]
(xalloc_fail): Renamed from fixup_null_alloc.
(xcalloc): #ifdef-out unused function.
(xrealloc): Remove code to work around deficient versions of realloc.
Now we have an autoconf-enabled replacement version.
(xmalloc): Remove code to work around deficient versions of malloc.
Now we have an autoconf-enabled replacement version.

26 years agobe stricter: check for both P == 0 and N == 0.
Jim Meyering [Mon, 3 Nov 1997 05:20:41 +0000 (05:20 +0000)]
be stricter: check for both P == 0 and N == 0.

26 years ago*** empty log message ***
Jim Meyering [Mon, 3 Nov 1997 05:20:09 +0000 (05:20 +0000)]
*** empty log message ***

26 years ago*** empty log message ***
Jim Meyering [Mon, 3 Nov 1997 05:19:56 +0000 (05:19 +0000)]
*** empty log message ***

26 years agoadd comment
Jim Meyering [Mon, 27 Oct 1997 04:59:25 +0000 (04:59 +0000)]
add comment

26 years agoConvert to upper case before comparing.
Jim Meyering [Mon, 27 Oct 1997 04:58:22 +0000 (04:58 +0000)]
Convert to upper case before comparing.
This makes join -i work with sort -f.

26 years ago.
Jim Meyering [Sun, 26 Oct 1997 04:51:38 +0000 (04:51 +0000)]
.

26 years ago.
Jim Meyering [Sun, 26 Oct 1997 04:50:59 +0000 (04:50 +0000)]
.

26 years ago(xalloc_fail_func): Initialize to 0, not NULL.
Jim Meyering [Sun, 26 Oct 1997 04:39:53 +0000 (04:39 +0000)]
(xalloc_fail_func): Initialize to 0, not NULL.

26 years ago.
Jim Meyering [Sun, 26 Oct 1997 04:26:09 +0000 (04:26 +0000)]
.

26 years ago(EXTRA_DIST): Add malloc.c.
Jim Meyering [Sun, 26 Oct 1997 03:58:27 +0000 (03:58 +0000)]
(EXTRA_DIST): Add malloc.c.

26 years ago.
Jim Meyering [Sun, 26 Oct 1997 03:57:43 +0000 (03:57 +0000)]
.

26 years ago(EXTRA_DIST): Add malloc.m4.
Jim Meyering [Sun, 26 Oct 1997 03:53:07 +0000 (03:53 +0000)]
(EXTRA_DIST): Add malloc.m4.

26 years ago.
Jim Meyering [Sun, 26 Oct 1997 03:52:27 +0000 (03:52 +0000)]
.

26 years ago.
Jim Meyering [Sun, 26 Oct 1997 02:48:15 +0000 (02:48 +0000)]
.

26 years ago.
Jim Meyering [Sun, 26 Oct 1997 02:47:19 +0000 (02:47 +0000)]
.

26 years ago(noinst_HEADERS): Add xalloc.h.
Jim Meyering [Sun, 26 Oct 1997 02:20:32 +0000 (02:20 +0000)]
(noinst_HEADERS): Add xalloc.h.

26 years agoInclude xalloc.h.
Jim Meyering [Sat, 25 Oct 1997 21:51:21 +0000 (21:51 +0000)]
Include xalloc.h.
Change VOID to void.
(xalloc_exit_failure): Renamed extern.
(xalloc_msg_memory_exhausted): New extern.
(xalloc_fail_func): New extern.
(fixup_null_alloc): Use new variables.

26 years ago.
Jim Meyering [Sat, 25 Oct 1997 21:49:45 +0000 (21:49 +0000)]
.

26 years agoUse unsigned int, not just unsigned.
Jim Meyering [Fri, 24 Oct 1997 13:17:16 +0000 (13:17 +0000)]
Use unsigned int, not just unsigned.

26 years ago.
Jim Meyering [Fri, 24 Oct 1997 04:29:41 +0000 (04:29 +0000)]
.

26 years agoquote AC_HEADER_STDC in AC_REQUIRE.
Jim Meyering [Fri, 24 Oct 1997 02:06:52 +0000 (02:06 +0000)]
quote AC_HEADER_STDC in AC_REQUIRE.

26 years agodon't use lower and upper temporaries
Jim Meyering [Fri, 24 Oct 1997 01:45:56 +0000 (01:45 +0000)]
don't use lower and upper temporaries

26 years ago.
Jim Meyering [Fri, 24 Oct 1997 01:42:27 +0000 (01:42 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Fri, 24 Oct 1997 01:42:02 +0000 (01:42 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Thu, 23 Oct 1997 15:32:42 +0000 (15:32 +0000)]
.

26 years ago.
Jim Meyering [Thu, 23 Oct 1997 15:32:08 +0000 (15:32 +0000)]
.

26 years ago*** empty log message ***
Jim Meyering [Thu, 23 Oct 1997 13:28:01 +0000 (13:28 +0000)]
*** empty log message ***

26 years ago(EXTRA_DIST): Add decl.m4 and do-decl.m4.
Jim Meyering [Thu, 23 Oct 1997 13:26:45 +0000 (13:26 +0000)]
(EXTRA_DIST): Add decl.m4 and do-decl.m4.

26 years ago.
Jim Meyering [Thu, 23 Oct 1997 04:53:06 +0000 (04:53 +0000)]
.

26 years agoupdate from FSF
Jim Meyering [Wed, 22 Oct 1997 14:06:16 +0000 (14:06 +0000)]
update from FSF

26 years ago*** empty log message ***
Jim Meyering [Mon, 20 Oct 1997 18:31:29 +0000 (18:31 +0000)]
*** empty log message ***

26 years ago.
Jim Meyering [Fri, 17 Oct 1997 15:20:17 +0000 (15:20 +0000)]
.

26 years ago.
Jim Meyering [Tue, 7 Oct 1997 22:09:01 +0000 (22:09 +0000)]
.

26 years ago(make_path): Print verbose message using fprintf, not error.
Jim Meyering [Mon, 6 Oct 1997 13:07:14 +0000 (13:07 +0000)]
(make_path): Print verbose message using fprintf, not error.

26 years ago(make_path): Print message IFF the directory was
Jim Meyering [Mon, 6 Oct 1997 13:03:29 +0000 (13:03 +0000)]
(make_path): Print message IFF the directory was
just created and the format string is non-NULL.

26 years ago(noinst_HEADERS): Add savedir.h.
Jim Meyering [Mon, 6 Oct 1997 05:04:11 +0000 (05:04 +0000)]
(noinst_HEADERS): Add savedir.h.

26 years ago(savedir): Declare DIR parameter to be const.
Jim Meyering [Sat, 4 Oct 1997 01:43:58 +0000 (01:43 +0000)]
(savedir): Declare DIR parameter to be const.
Include savedir.h.

26 years ago.
Jim Meyering [Sat, 4 Oct 1997 01:43:13 +0000 (01:43 +0000)]
.

26 years ago.
Jim Meyering [Tue, 30 Sep 1997 04:32:56 +0000 (04:32 +0000)]
.

26 years ago.
Jim Meyering [Tue, 30 Sep 1997 04:19:04 +0000 (04:19 +0000)]
.

26 years ago.
Jim Meyering [Sun, 28 Sep 1997 02:40:17 +0000 (02:40 +0000)]
.

26 years agoIntegrate test to detect bug in memcmp from the
Jim Meyering [Sun, 28 Sep 1997 02:32:26 +0000 (02:32 +0000)]
Integrate test to detect bug in memcmp from the
Next x86 OpenStep C library.  Test program from William Lewis.

26 years ago.
Jim Meyering [Sat, 27 Sep 1997 23:24:39 +0000 (23:24 +0000)]
.