gnulib.git
22 years ago*** empty log message *** FILEUTILS-4_1_3
Jim Meyering [Sun, 2 Dec 2001 19:59:49 +0000 (19:59 +0000)]
*** empty log message ***

22 years agoDon't declare getenv, thus reverting the change of 2001-11-18.
Jim Meyering [Sun, 2 Dec 2001 19:59:39 +0000 (19:59 +0000)]
Don't declare getenv, thus reverting the change of 2001-11-18.
It's no longer necessary, now that stdlib.h is always included.

22 years ago*** empty log message ***
Jim Meyering [Sun, 2 Dec 2001 17:47:01 +0000 (17:47 +0000)]
*** empty log message ***

22 years ago[!__BOUNDED_POINTERS__]: Define away __bounded, __unbounded, and __ptrvalue.
Jim Meyering [Sun, 2 Dec 2001 17:46:54 +0000 (17:46 +0000)]
[!__BOUNDED_POINTERS__]: Define away __bounded, __unbounded, and __ptrvalue.

22 years ago*** empty log message *** TEXTUTILS-2_0_18
Jim Meyering [Fri, 30 Nov 2001 14:51:13 +0000 (14:51 +0000)]
*** empty log message ***

22 years agoInclude xalloc.h, so that xstrdup is declared before being defined.
Jim Meyering [Fri, 30 Nov 2001 14:32:22 +0000 (14:32 +0000)]
Include xalloc.h, so that xstrdup is declared before being defined.

22 years ago.
Jim Meyering [Wed, 28 Nov 2001 14:05:29 +0000 (14:05 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Wed, 28 Nov 2001 06:57:33 +0000 (06:57 +0000)]
*** empty log message ***

22 years ago(quotearg_n, quotearg_n_style):
Jim Meyering [Wed, 28 Nov 2001 06:57:25 +0000 (06:57 +0000)]
(quotearg_n, quotearg_n_style):
First arg is int, not unsigned.

22 years ago(quotearg_n, quotearg_n_style): Likewise.
Jim Meyering [Wed, 28 Nov 2001 06:57:02 +0000 (06:57 +0000)]
(quotearg_n, quotearg_n_style): Likewise.
(SIZE_MAX, UINT_MAX): New macros.
(quotearg_n_options): Abort if N is negative.
Avoid overflow check on hosts where size_t is 64 bits and int
is 32 bits, as overflow is impossible there.
Fix off-by-one typo that caused unnecessary reallocation.

22 years agoMerge with version from libc.
Jim Meyering [Tue, 27 Nov 2001 21:34:15 +0000 (21:34 +0000)]
Merge with version from libc.

22 years ago*** empty log message ***
Jim Meyering [Tue, 27 Nov 2001 12:56:20 +0000 (12:56 +0000)]
*** empty log message ***

22 years agoInclude stdlib.h unconditionally. On some old systems for which
Jim Meyering [Tue, 27 Nov 2001 12:55:16 +0000 (12:55 +0000)]
Include stdlib.h unconditionally.  On some old systems for which
STDC_HEADERS is 0, it was not included, resulting in a warning
about an integer-to-pointer conversion problem with getenv.

22 years agoMerge with version from libc.
Jim Meyering [Tue, 27 Nov 2001 12:54:58 +0000 (12:54 +0000)]
Merge with version from libc.

22 years ago(libfetish_a_SOURCES): Remove gtod.h.
Jim Meyering [Tue, 27 Nov 2001 10:25:52 +0000 (10:25 +0000)]
(libfetish_a_SOURCES): Remove gtod.h.

22 years ago*** empty log message ***
Jim Meyering [Mon, 26 Nov 2001 12:31:12 +0000 (12:31 +0000)]
*** empty log message ***

22 years agoDon't include gtod.h.
Jim Meyering [Mon, 26 Nov 2001 12:29:43 +0000 (12:29 +0000)]
Don't include gtod.h.
(GTOD_init): Remove function.
(rpl_gettimeofday): Do its job here instead, rather than aborting.

22 years ago.
Jim Meyering [Mon, 26 Nov 2001 12:08:16 +0000 (12:08 +0000)]
.

22 years agonow generated
Jim Meyering [Sat, 24 Nov 2001 08:05:20 +0000 (08:05 +0000)]
now generated

22 years ago*** empty log message *** FILEUTILS-4_1_2
Jim Meyering [Fri, 23 Nov 2001 08:12:06 +0000 (08:12 +0000)]
*** empty log message ***

22 years ago(struct hash_table): Don't define here. Merely declare it.
Jim Meyering [Fri, 23 Nov 2001 08:09:31 +0000 (08:09 +0000)]
(struct hash_table): Don't define here.  Merely declare it.

22 years ago(struct hash_table): Define it here instead.
Jim Meyering [Fri, 23 Nov 2001 08:09:14 +0000 (08:09 +0000)]
(struct hash_table): Define it here instead.

22 years ago. TEXTUTILS-2_0_17
Jim Meyering [Thu, 22 Nov 2001 10:58:01 +0000 (10:58 +0000)]
.

22 years agoBracket contents of file with #ifndef HASH_H_ ... #endif.
Jim Meyering [Thu, 22 Nov 2001 10:38:49 +0000 (10:38 +0000)]
Bracket contents of file with #ifndef HASH_H_ ... #endif.

22 years ago*** empty log message ***
Jim Meyering [Tue, 20 Nov 2001 10:38:47 +0000 (10:38 +0000)]
*** empty log message ***

22 years agoupdate comment to reflect that SunOS4, solaris2.5.1 lose, too.
Jim Meyering [Tue, 20 Nov 2001 10:37:24 +0000 (10:37 +0000)]
update comment to reflect that SunOS4, solaris2.5.1 lose, too.

22 years agoremove a harmless newline
Jim Meyering [Mon, 19 Nov 2001 13:33:50 +0000 (13:33 +0000)]
remove a harmless newline

22 years ago(Makefile): Depend on $(BUILT_SOURCES), so those
Jim Meyering [Mon, 19 Nov 2001 13:33:26 +0000 (13:33 +0000)]
(Makefile): Depend on $(BUILT_SOURCES), so those
files will be created before anything else.

22 years ago*** empty log message ***
Jim Meyering [Mon, 19 Nov 2001 13:32:29 +0000 (13:32 +0000)]
*** empty log message ***

22 years ago(mode_adjust): Fix error introduced on 1999-04-26
Jim Meyering [Mon, 19 Nov 2001 13:32:23 +0000 (13:32 +0000)]
(mode_adjust): Fix error introduced on 1999-04-26
that made e.g., `chmod a=,o=w,g=o F' cause F to be group readable
rather than group writable.  Patch by Juan F. Codagnone.

22 years ago*** empty log message ***
Jim Meyering [Mon, 19 Nov 2001 11:06:38 +0000 (11:06 +0000)]
*** empty log message ***

22 years ago(TMP_MAX): Remove; no longer needed.
Jim Meyering [Mon, 19 Nov 2001 11:06:32 +0000 (11:06 +0000)]
(TMP_MAX): Remove; no longer needed.
(TEMPORARIES): New macro.
(__gen_tempname): Use TEMPORARIES rather than TMP_MAX.  This
removes an artificial limitation (e.g. HP-UX 10.20, where
TMP_MAX is 17576).

22 years ago*** empty log message ***
Jim Meyering [Mon, 19 Nov 2001 10:00:17 +0000 (10:00 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Mon, 19 Nov 2001 10:00:06 +0000 (10:00 +0000)]
*** empty log message ***

22 years ago(UTILS_FUNC_MKSTEMP): Don't bother with a temporary
Jim Meyering [Mon, 19 Nov 2001 10:00:00 +0000 (10:00 +0000)]
(UTILS_FUNC_MKSTEMP): Don't bother with a temporary
directory.  Use "conftestXXXXXX" as the template.
Suggestion from Paul Eggert.

22 years ago*** empty log message ***
Jim Meyering [Mon, 19 Nov 2001 09:56:36 +0000 (09:56 +0000)]
*** empty log message ***

22 years agoClose each descriptor immediately so the test
Jim Meyering [Mon, 19 Nov 2001 09:56:29 +0000 (09:56 +0000)]
Close each descriptor immediately so the test
doesn't mistakenly hit the max-open-files limit.

22 years ago.
Jim Meyering [Sun, 18 Nov 2001 17:59:36 +0000 (17:59 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Sun, 18 Nov 2001 10:55:55 +0000 (10:55 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sun, 18 Nov 2001 10:55:26 +0000 (10:55 +0000)]
*** empty log message ***

22 years ago(jm_PREREQ_TEMPNAME): Check for declaration of getenv.
Jim Meyering [Sun, 18 Nov 2001 10:55:18 +0000 (10:55 +0000)]
(jm_PREREQ_TEMPNAME): Check for declaration of getenv.

22 years ago[!HAVE_DECL_GETENV]: Declare getenv to avoid warning on SunOS4.
Jim Meyering [Sun, 18 Nov 2001 10:54:42 +0000 (10:54 +0000)]
[!HAVE_DECL_GETENV]: Declare getenv to avoid warning on SunOS4.

22 years ago.
Jim Meyering [Sat, 17 Nov 2001 23:43:36 +0000 (23:43 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Sat, 17 Nov 2001 13:51:40 +0000 (13:51 +0000)]
*** empty log message ***

22 years agoRemove explicit declarations of xmalloc and xrealloc,
Jim Meyering [Sat, 17 Nov 2001 13:51:34 +0000 (13:51 +0000)]
Remove explicit declarations of xmalloc and xrealloc,
Instead, include "xalloc.h".

22 years agoInclude unlocked-io.h after all system headers.
Jim Meyering [Sat, 17 Nov 2001 13:50:40 +0000 (13:50 +0000)]
Include unlocked-io.h after all system headers.
Remove explicit declarations of xmalloc, xrealloc,
and xstrdup.  Instead, include "xalloc.h".

22 years ago*** empty log message ***
Jim Meyering [Sat, 17 Nov 2001 13:45:34 +0000 (13:45 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sat, 17 Nov 2001 13:31:37 +0000 (13:31 +0000)]
*** empty log message ***

22 years agoInclude unlocked-io.h.
Jim Meyering [Sat, 17 Nov 2001 13:29:42 +0000 (13:29 +0000)]
Include unlocked-io.h.

22 years ago.
Jim Meyering [Sat, 17 Nov 2001 11:31:21 +0000 (11:31 +0000)]
.

22 years ago.
Jim Meyering [Sat, 17 Nov 2001 11:09:24 +0000 (11:09 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Sat, 17 Nov 2001 10:59:07 +0000 (10:59 +0000)]
*** empty log message ***

22 years ago#undef mkstemp.
Jim Meyering [Sat, 17 Nov 2001 10:59:01 +0000 (10:59 +0000)]
#undef mkstemp.
Include config.h.
(rpl_mkstemp): Rename from mkstemp.
Protoize.

22 years ago(UTILS_FUNC_MKSTEMP): New file and macro.
Jim Meyering [Sat, 17 Nov 2001 08:54:26 +0000 (08:54 +0000)]
(UTILS_FUNC_MKSTEMP): New file and macro.
Prompted by a report from Bob Proulx.

22 years ago(jm_MACROS): Don't test for mkstemp here.
Jim Meyering [Sat, 17 Nov 2001 08:18:48 +0000 (08:18 +0000)]
(jm_MACROS): Don't test for mkstemp here.
Instead, require UTILS_FUNC_MKSTEMP.

22 years ago*** empty log message ***
Jim Meyering [Sat, 17 Nov 2001 07:25:14 +0000 (07:25 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sat, 17 Nov 2001 07:13:18 +0000 (07:13 +0000)]
*** empty log message ***

22 years ago(jm_WINSIZE_IN_PTEM): Do not define
Jim Meyering [Sat, 17 Nov 2001 07:13:12 +0000 (07:13 +0000)]
(jm_WINSIZE_IN_PTEM): Do not define
WINSIZE_IN_PTEM if <termios.h> defines struct winsize.

22 years ago*** empty log message ***
Jim Meyering [Fri, 16 Nov 2001 09:20:31 +0000 (09:20 +0000)]
*** empty log message ***

22 years ago[HAVE_SYS_PSTAT_H]: Include <sys/pstat.h>.
Jim Meyering [Fri, 16 Nov 2001 09:20:25 +0000 (09:20 +0000)]
[HAVE_SYS_PSTAT_H]: Include <sys/pstat.h>.
(physmem_total) [HAVE_PSTAT_GETSTATIC]: If sysconf couldn't be used to
determine the amount of total physical memory, use pstat_getstatic.
HPUX-11 doesn't define _SC_PHYS_PAGES.
(physmem_available) [HAVE_PSTAT_GETSTATIC && HAVE_PSTAT_GETDYNAMIC]:
If sysconf couldn't be used to determine the amount of available
physical memory, use both pstat_getstatic and pstat_getdynamic.
Based on a patch from Bob Proulx.

22 years ago(jm_PREREQ_PHYSMEM): don't check for bp-sym.h
Jim Meyering [Sun, 11 Nov 2001 10:55:41 +0000 (10:55 +0000)]
(jm_PREREQ_PHYSMEM): don't check for bp-sym.h

22 years ago(jm_MACROS): Remove code to set POW_LIBM.
Jim Meyering [Sun, 11 Nov 2001 10:07:07 +0000 (10:07 +0000)]
(jm_MACROS): Remove code to set POW_LIBM.
Now, that's done as part of AC_FUNC_STRTOD.

22 years ago*** empty log message ***
Jim Meyering [Sat, 10 Nov 2001 21:18:48 +0000 (21:18 +0000)]
*** empty log message ***

22 years ago(jm_PREREQ_PHYSMEM): New function.
Jim Meyering [Sat, 10 Nov 2001 21:18:34 +0000 (21:18 +0000)]
(jm_PREREQ_PHYSMEM): New function.
(jm_PREREQ): Use it.

22 years ago.
Jim Meyering [Thu, 8 Nov 2001 23:24:04 +0000 (23:24 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Thu, 8 Nov 2001 23:20:09 +0000 (23:20 +0000)]
*** empty log message ***

22 years agoRequire autoconf-2.52f.
Jim Meyering [Thu, 8 Nov 2001 23:20:01 +0000 (23:20 +0000)]
Require autoconf-2.52f.
(AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD):
Use these AC_-prefixed names, not the AM_-prefixed ones.

22 years ago*** empty log message ***
Jim Meyering [Thu, 8 Nov 2001 23:17:52 +0000 (23:17 +0000)]
*** empty log message ***

22 years ago(jm_AFS): Quote the body. Patch by Akim Demaille.
Jim Meyering [Thu, 8 Nov 2001 23:17:41 +0000 (23:17 +0000)]
(jm_AFS): Quote the body.  Patch by Akim Demaille.

22 years ago*** empty log message ***
Jim Meyering [Mon, 5 Nov 2001 11:20:15 +0000 (11:20 +0000)]
*** empty log message ***

22 years ago(slash_aware_lstat): Correct a misleading comment.
Jim Meyering [Mon, 5 Nov 2001 11:20:02 +0000 (11:20 +0000)]
(slash_aware_lstat): Correct a misleading comment.

22 years ago*** empty log message *** FILEUTILS-4_1_1
Jim Meyering [Sun, 4 Nov 2001 07:16:06 +0000 (07:16 +0000)]
*** empty log message ***

22 years agoRemove unused cruft that saved, set, and restored $DEFS.
Jim Meyering [Sun, 4 Nov 2001 07:15:57 +0000 (07:15 +0000)]
Remove unused cruft that saved, set, and restored $DEFS.

22 years ago*** empty log message ***
Jim Meyering [Sat, 3 Nov 2001 22:22:50 +0000 (22:22 +0000)]
*** empty log message ***

22 years ago(jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg of AC_DEFUN.
Jim Meyering [Sat, 3 Nov 2001 22:22:41 +0000 (22:22 +0000)]
(jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg of AC_DEFUN.

22 years ago*** empty log message ***
Jim Meyering [Sat, 3 Nov 2001 21:46:35 +0000 (21:46 +0000)]
*** empty log message ***

22 years ago(ARGMATCH_TO_ARGUMENT): Remove casts of first two args
Jim Meyering [Sat, 3 Nov 2001 21:46:29 +0000 (21:46 +0000)]
(ARGMATCH_TO_ARGUMENT): Remove casts of first two args
in argmatch_to_argument call.

22 years agoit's CFLAGS, not DEFS
Jim Meyering [Sat, 3 Nov 2001 20:07:10 +0000 (20:07 +0000)]
it's CFLAGS, not DEFS

22 years agofix indentation of cpp `#'s
Jim Meyering [Sat, 3 Nov 2001 20:00:36 +0000 (20:00 +0000)]
fix indentation of cpp `#'s

22 years ago.
Jim Meyering [Sat, 3 Nov 2001 18:51:46 +0000 (18:51 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Sat, 3 Nov 2001 18:51:38 +0000 (18:51 +0000)]
*** empty log message ***

22 years ago(dirfd): Reflect the fact that DIR_TO_FD now takes an argument.
Jim Meyering [Sat, 3 Nov 2001 18:50:53 +0000 (18:50 +0000)]
(dirfd): Reflect the fact that DIR_TO_FD now takes an argument.

22 years ago(UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
Jim Meyering [Sat, 3 Nov 2001 18:49:27 +0000 (18:49 +0000)]
(UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
know the name of the variable in the macro definition.

22 years ago*** empty log message ***
Jim Meyering [Sat, 3 Nov 2001 08:24:27 +0000 (08:24 +0000)]
*** empty log message ***

22 years ago(hash_clear): Fix a bug that could lead to an infloop or
Jim Meyering [Sat, 3 Nov 2001 08:23:54 +0000 (08:23 +0000)]
(hash_clear): Fix a bug that could lead to an infloop or
e.g., a fault due to an attempt to free a NULL pointer.

22 years ago(re_wctype): Try to fix some warnings. emacs-unicode-base
Stefan Monnier [Fri, 2 Nov 2001 16:06:54 +0000 (16:06 +0000)]
(re_wctype): Try to fix some warnings.
(regcomp, regexec): Don't forget the __restrict.

22 years agoput `const' back, now that the .m4 test works
Jim Meyering [Fri, 2 Nov 2001 07:37:19 +0000 (07:37 +0000)]
put `const' back, now that the .m4 test works

22 years agoUse the replacement only if we have neither the function
Jim Meyering [Fri, 2 Nov 2001 07:36:35 +0000 (07:36 +0000)]
Use the replacement only if we have neither the function
nor a declaration.

22 years agoremove const
Jim Meyering [Thu, 1 Nov 2001 22:16:43 +0000 (22:16 +0000)]
remove const

22 years agowhoops
Jim Meyering [Thu, 1 Nov 2001 22:14:26 +0000 (22:14 +0000)]
whoops

22 years ago*** empty log message ***
Jim Meyering [Thu, 1 Nov 2001 17:58:09 +0000 (17:58 +0000)]
*** empty log message ***

22 years ago(libfetish_a_SOURCES): Add dirfd.h.
Jim Meyering [Thu, 1 Nov 2001 17:57:56 +0000 (17:57 +0000)]
(libfetish_a_SOURCES): Add dirfd.h.

22 years ago.
Jim Meyering [Thu, 1 Nov 2001 17:57:09 +0000 (17:57 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Thu, 1 Nov 2001 17:44:43 +0000 (17:44 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Thu, 1 Nov 2001 16:57:18 +0000 (16:57 +0000)]
*** empty log message ***

22 years agouse AC_HEADER_DIRECT and all the associated cruft
Jim Meyering [Thu, 1 Nov 2001 16:55:16 +0000 (16:55 +0000)]
use AC_HEADER_DIRECT and all the associated cruft

22 years agodon't indent the #include directive
Jim Meyering [Thu, 1 Nov 2001 16:47:00 +0000 (16:47 +0000)]
don't indent the #include directive

22 years agocheck for decl, too
Jim Meyering [Thu, 1 Nov 2001 16:46:06 +0000 (16:46 +0000)]
check for decl, too

22 years ago*** empty log message ***
Jim Meyering [Thu, 1 Nov 2001 16:43:02 +0000 (16:43 +0000)]
*** empty log message ***

22 years ago(jm_MACROS): Require UTILS_FUNC_DIRFD.
Jim Meyering [Thu, 1 Nov 2001 16:42:53 +0000 (16:42 +0000)]
(jm_MACROS): Require UTILS_FUNC_DIRFD.