gnulib.git
22 years ago*** empty log message *** FILEUTILS-4_1_4
Jim Meyering [Sat, 15 Dec 2001 16:59:00 +0000 (16:59 +0000)]
*** empty log message ***

22 years ago(STREQ): Define.
Jim Meyering [Sat, 15 Dec 2001 16:58:53 +0000 (16:58 +0000)]
(STREQ): Define.

22 years ago(__restrict_arr): Update from libc.
Jim Meyering [Sat, 15 Dec 2001 16:57:15 +0000 (16:57 +0000)]
(__restrict_arr): Update from libc.

22 years ago*** empty log message ***
Jim Meyering [Sat, 15 Dec 2001 10:37:11 +0000 (10:37 +0000)]
*** empty log message ***

22 years ago(ME_REMOTE): Recognize file systems of type smbfs
Jim Meyering [Sat, 15 Dec 2001 10:36:58 +0000 (10:36 +0000)]
(ME_REMOTE): Recognize file systems of type smbfs
as `remote' if the name starts with `//'.

22 years ago*** empty log message ***
Jim Meyering [Fri, 14 Dec 2001 11:21:13 +0000 (11:21 +0000)]
*** empty log message ***

22 years ago(jm_MACROS): Check for iswspace.
Jim Meyering [Fri, 14 Dec 2001 11:21:04 +0000 (11:21 +0000)]
(jm_MACROS): Check for iswspace.
Suggestion from Bruno Haible.

22 years ago. TEXTUTILS-2_0_19
Jim Meyering [Mon, 10 Dec 2001 00:17:05 +0000 (00:17 +0000)]
.

22 years agoRemove explicit declarations of xmalloc and xrealloc,
Jim Meyering [Mon, 10 Dec 2001 00:13:36 +0000 (00:13 +0000)]
Remove explicit declarations of xmalloc and xrealloc,
Instead, include "xalloc.h".
(initbuffer): Don't cast xmalloc return value to char*.
(readline): Reword comment.
Don't cast xrealloc return value to char*
Return NULL, not 0.

22 years ago*** empty log message ***
Jim Meyering [Sun, 9 Dec 2001 22:57:15 +0000 (22:57 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sun, 9 Dec 2001 22:56:52 +0000 (22:56 +0000)]
*** empty log message ***

22 years ago(posix_time_parse): Add cast to avoid warning about
Jim Meyering [Sun, 9 Dec 2001 22:56:16 +0000 (22:56 +0000)]
(posix_time_parse): Add cast to avoid warning about
`signed and unsigned type in conditional expression'.

22 years ago(mode_compile): Add cast to avoid warning about
Jim Meyering [Sun, 9 Dec 2001 22:54:19 +0000 (22:54 +0000)]
(mode_compile): Add cast to avoid warning about
`signed and unsigned type in conditional expression'.

22 years ago(xreadlink): Add cast to avoid a warning.
Jim Meyering [Sun, 9 Dec 2001 22:46:53 +0000 (22:46 +0000)]
(xreadlink): Add cast to avoid a warning.

22 years ago(readtoken): Declare an index to be of type unsigned
Jim Meyering [Sun, 9 Dec 2001 22:39:02 +0000 (22:39 +0000)]
(readtoken): Declare an index to be of type unsigned
to avoid a pedantic warning.

22 years agoDon't include assert.h.
Jim Meyering [Sun, 9 Dec 2001 22:08:19 +0000 (22:08 +0000)]
Don't include assert.h.
(getstr): Remove warning-evoking assertions.
Return -1 if offset parameter is out of bounds.
Change the type of a local from int to size_t.

22 years ago(my_strftime_localtime_r): Include this function
Jim Meyering [Sun, 9 Dec 2001 21:02:43 +0000 (21:02 +0000)]
(my_strftime_localtime_r): Include this function
definition in the `#if ! HAVE_TM_GMTOFF' block.

22 years ago*** empty log message ***
Jim Meyering [Sun, 9 Dec 2001 21:01:23 +0000 (21:01 +0000)]
*** empty log message ***

22 years agoRemove declarations of xmalloc and xrealloc.
Jim Meyering [Sun, 9 Dec 2001 21:01:15 +0000 (21:01 +0000)]
Remove declarations of xmalloc and xrealloc.
Include xalloc.h instead.

22 years agotweak to align with libc
Jim Meyering [Sat, 8 Dec 2001 06:57:58 +0000 (06:57 +0000)]
tweak to align with libc

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)]
.