gnulib.git
22 years ago*** empty log message *** TEXTUTILS-2_0_16
Jim Meyering [Sun, 30 Sep 2001 21:39:54 +0000 (21:39 +0000)]
*** empty log message ***

22 years ago(jm_LIST_MOUNTED_FILESYSTEMS): See if
Jim Meyering [Sun, 30 Sep 2001 21:39:51 +0000 (21:39 +0000)]
(jm_LIST_MOUNTED_FILESYSTEMS): See if
`struct fsstat' has the `f_fstypename' member.
Use that to define FS_TYPE, which is now used to make
the getfsstat link test tighter.

22 years ago*** empty log message ***
Jim Meyering [Sun, 30 Sep 2001 21:28:26 +0000 (21:28 +0000)]
*** empty log message ***

22 years ago[MOUNTED_GETFSSTAT]:
Jim Meyering [Sun, 30 Sep 2001 21:28:15 +0000 (21:28 +0000)]
[MOUNTED_GETFSSTAT]:
Include <sys/ucred.h>, for Apple Darwin.
Include sys/mount.h and sys/fs_types.h only if available.
(FS_TYPE): Define.
(read_filesystem_list): Use FS_TYPE.

22 years ago*** empty log message ***
Jim Meyering [Sun, 30 Sep 2001 06:26:57 +0000 (06:26 +0000)]
*** empty log message ***

22 years ago(excluded_filename): 0 -> false, since it's a boolean context.
Jim Meyering [Sun, 30 Sep 2001 06:26:46 +0000 (06:26 +0000)]
(excluded_filename): 0 -> false, since it's a boolean context.

22 years ago*** empty log message ***
Jim Meyering [Sat, 29 Sep 2001 10:30:41 +0000 (10:30 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sat, 29 Sep 2001 10:29:25 +0000 (10:29 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sat, 29 Sep 2001 10:27:35 +0000 (10:27 +0000)]
*** empty log message ***

22 years ago(jm_LIST_MOUNTED_FILESYSTEMS)
Jim Meyering [Sat, 29 Sep 2001 10:27:28 +0000 (10:27 +0000)]
(jm_LIST_MOUNTED_FILESYSTEMS)
Check for these headers: sys/param.h sys/ucred.h sys/mount.h
sys/fs_types.h, and make the link-test for getfsstat guard #include
directives with appropriate #if HAVE_*_H tests so that we can
detect getfsstat on Apple Darwin1.3.7 systems.

Also fix harmless typo in cache variable name: s/getsstat/getfsstat/.

22 years ago*** empty log message ***
Jim Meyering [Sat, 29 Sep 2001 08:13:26 +0000 (08:13 +0000)]
*** empty log message ***

22 years ago(jm_LIST_MOUNTED_FILESYSTEMS)
Jim Meyering [Sat, 29 Sep 2001 08:13:18 +0000 (08:13 +0000)]
(jm_LIST_MOUNTED_FILESYSTEMS)
[one-argument getmntent function]): Include stdio.h before mntent.h.
SunOS4.1.x needs it for the declaration of `FILE'.
Patch by Volker Borchert.

22 years ago* xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
Jim Meyering [Fri, 28 Sep 2001 19:37:38 +0000 (19:37 +0000)]
* xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
Check for strtoul and strtoumax,
as those declarations are made even in the signed case.
* xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX):
Likewise, for strtol and strtoimax.

22 years ago*** empty log message ***
Jim Meyering [Fri, 28 Sep 2001 19:35:57 +0000 (19:35 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Fri, 28 Sep 2001 19:35:01 +0000 (19:35 +0000)]
*** empty log message ***

22 years ago(strtol): Do not declare if HAVE_DECL_STRTOL.
Jim Meyering [Fri, 28 Sep 2001 19:34:31 +0000 (19:34 +0000)]
(strtol): Do not declare if HAVE_DECL_STRTOL.
(strtoul): Do not declare if HAVE_DECL_STRTOUL.
(strtoimax, strtoumax): Do not declare if already defined as a macro.

22 years ago*** empty log message ***
Jim Meyering [Wed, 26 Sep 2001 08:27:49 +0000 (08:27 +0000)]
*** empty log message ***

22 years ago(USE_UNLOCKED_IO): Define to 1 if not already defined.
Jim Meyering [Wed, 26 Sep 2001 08:27:42 +0000 (08:27 +0000)]
(USE_UNLOCKED_IO): Define to 1 if not already defined.

22 years ago.
Jim Meyering [Wed, 26 Sep 2001 08:22:37 +0000 (08:22 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Wed, 26 Sep 2001 08:21:55 +0000 (08:21 +0000)]
*** empty log message ***

22 years agoremove now-unused tmp/trap junk
Jim Meyering [Wed, 26 Sep 2001 08:21:06 +0000 (08:21 +0000)]
remove now-unused tmp/trap junk

22 years agoexit from only one place: the end
Jim Meyering [Wed, 26 Sep 2001 08:20:38 +0000 (08:20 +0000)]
exit from only one place: the end

22 years agoportability tweaks
Jim Meyering [Wed, 26 Sep 2001 08:19:17 +0000 (08:19 +0000)]
portability tweaks

22 years ago*** empty log message ***
Jim Meyering [Wed, 26 Sep 2001 08:13:41 +0000 (08:13 +0000)]
*** empty log message ***

22 years ago(unlocked-io.h): Use $(SHELL).
Jim Meyering [Wed, 26 Sep 2001 08:13:27 +0000 (08:13 +0000)]
(unlocked-io.h): Use $(SHELL).

22 years ago.
Jim Meyering [Wed, 26 Sep 2001 08:11:20 +0000 (08:11 +0000)]
.

22 years ago(unlocked-io.h): Rewrite to use a separate script,
Jim Meyering [Wed, 26 Sep 2001 08:11:01 +0000 (08:11 +0000)]
(unlocked-io.h): Rewrite to use a separate script,
rather than trying to embed it here.
(EXTRA_DIST): Add gen-uio.  Remove unlocked-io.hin

22 years ago.
Jim Meyering [Wed, 26 Sep 2001 07:55:04 +0000 (07:55 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Tue, 25 Sep 2001 13:01:36 +0000 (13:01 +0000)]
*** empty log message ***

22 years ago(rpl_gettimeofday): Declare local variable `result'.
Jim Meyering [Tue, 25 Sep 2001 13:01:22 +0000 (13:01 +0000)]
(rpl_gettimeofday): Declare local variable `result'.

22 years ago.
Jim Meyering [Mon, 24 Sep 2001 15:35:09 +0000 (15:35 +0000)]
.

22 years agoUse the version from gettext-0.10.40, not CVS.
Jim Meyering [Mon, 24 Sep 2001 15:35:00 +0000 (15:35 +0000)]
Use the version from gettext-0.10.40, not CVS.

22 years ago. TEXTUTILS-2_0_15
Jim Meyering [Sun, 23 Sep 2001 15:47:00 +0000 (15:47 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Sun, 23 Sep 2001 14:24:35 +0000 (14:24 +0000)]
*** empty log message ***

22 years ago(jm_LIST_MOUNTED_FILESYSTEMS): In the outer getmntent if-block, don't
Jim Meyering [Sun, 23 Sep 2001 14:24:23 +0000 (14:24 +0000)]
(jm_LIST_MOUNTED_FILESYSTEMS): In the outer getmntent if-block, don't
die if neither of the getmntent tests succeeds.  Instead, just fall
through and continue with the remaianing tests.

22 years ago*** empty log message ***
Jim Meyering [Sun, 23 Sep 2001 09:19:52 +0000 (09:19 +0000)]
*** empty log message ***

22 years ago(jm_LIST_MOUNTED_FILESYSTEMS): Add a compile-test
Jim Meyering [Sun, 23 Sep 2001 09:19:42 +0000 (09:19 +0000)]
(jm_LIST_MOUNTED_FILESYSTEMS): Add a compile-test
instead of the mere test for existence of mntent.h.  The latter
would get a false-positive on AIX 3.4 systems.

22 years ago*** empty log message ***
Jim Meyering [Sun, 23 Sep 2001 08:56:27 +0000 (08:56 +0000)]
*** empty log message ***

22 years agoRemove useless parentheses in #if directives.
Jim Meyering [Sun, 23 Sep 2001 08:56:11 +0000 (08:56 +0000)]
Remove useless parentheses in #if directives.
(MOUNTED) [!defined MOUNTED]: Define to _PATH_MOUNTED, for when
the deprecated MOUNTED symbol is no longer defined in mntent.h.

22 years ago*** empty log message ***
Jim Meyering [Sat, 22 Sep 2001 16:45:36 +0000 (16:45 +0000)]
*** empty log message ***

22 years ago.
Jim Meyering [Sat, 22 Sep 2001 16:39:57 +0000 (16:39 +0000)]
.

22 years ago.
Jim Meyering [Sat, 22 Sep 2001 16:39:57 +0000 (16:39 +0000)]
.

22 years agoSync with gettext -- this changes only comments.
Jim Meyering [Sat, 22 Sep 2001 16:34:30 +0000 (16:34 +0000)]
Sync with gettext -- this changes only comments.

22 years agodecrement serial number to sync with gettext
Jim Meyering [Sat, 22 Sep 2001 15:18:03 +0000 (15:18 +0000)]
decrement serial number to sync with gettext

22 years ago.
Jim Meyering [Sat, 22 Sep 2001 15:17:26 +0000 (15:17 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Sat, 22 Sep 2001 15:08:51 +0000 (15:08 +0000)]
*** empty log message ***

22 years agoUpdate from latest gettext.
Jim Meyering [Sat, 22 Sep 2001 15:08:35 +0000 (15:08 +0000)]
Update from latest gettext.

22 years ago.
Jim Meyering [Sat, 22 Sep 2001 13:27:04 +0000 (13:27 +0000)]
.

22 years ago.
Jim Meyering [Sat, 22 Sep 2001 13:18:57 +0000 (13:18 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Thu, 20 Sep 2001 15:04:07 +0000 (15:04 +0000)]
*** empty log message ***

22 years ago(strtoimax): Guard declaration with
Jim Meyering [Thu, 20 Sep 2001 14:46:55 +0000 (14:46 +0000)]
(strtoimax): Guard declaration with
`#if !HAVE_DECL_STRTOIMAX', rather than just `#ifndef strtoimax'.
The latter fails because some systems (at least rs6000-ibm-aix4.3.3.0)
have their own, conflicting declaration of strtoimax in sys/inttypes.h.
(strtoumax): Likewise, for completeness (it wasn't necessary).

22 years ago*** empty log message ***
Jim Meyering [Thu, 20 Sep 2001 14:41:51 +0000 (14:41 +0000)]
*** empty log message ***

22 years ago(jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of strtoumax.
Jim Meyering [Thu, 20 Sep 2001 14:41:43 +0000 (14:41 +0000)]
(jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of strtoumax.

22 years ago(jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of strtoumax.
Jim Meyering [Thu, 20 Sep 2001 14:41:26 +0000 (14:41 +0000)]
(jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of strtoumax.

22 years agoUse AC_DEFINE rather than AC_DEFINE_UNQUOTED, whenever the right hand side need not...
Jim Meyering [Mon, 17 Sep 2001 21:44:03 +0000 (21:44 +0000)]
Use AC_DEFINE rather than AC_DEFINE_UNQUOTED, whenever the right hand side need not be expanded by the shell.

22 years ago.
Jim Meyering [Mon, 17 Sep 2001 21:43:41 +0000 (21:43 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Mon, 17 Sep 2001 19:32:52 +0000 (19:32 +0000)]
*** empty log message ***

22 years ago(jm_FUNC_FNMATCH): Remove test for GNU C
Jim Meyering [Mon, 17 Sep 2001 19:32:45 +0000 (19:32 +0000)]
(jm_FUNC_FNMATCH): Remove test for GNU C
library.  It's not correct, as some older glibcs are buggy.
fnmatch wasn't fixed until glibc 2.2.

Use AC_DEFINE, not AC_DEFINE_UNQUOTED, as there's no
special shell magic here.

22 years ago*** empty log message ***
Jim Meyering [Mon, 17 Sep 2001 10:24:27 +0000 (10:24 +0000)]
*** empty log message ***

22 years ago(HAVE_LONG_LONG): Redefine to HAVE_UNSIGNED_LONG_LONG if unsigned.
Jim Meyering [Mon, 17 Sep 2001 10:24:20 +0000 (10:24 +0000)]
(HAVE_LONG_LONG): Redefine to HAVE_UNSIGNED_LONG_LONG if unsigned.
(strtoimax): Use sizeof (long), not sizeof strtol (ptr, endptr, base),
to work around bug in IBM C compiler.

22 years ago.
Jim Meyering [Sun, 16 Sep 2001 12:43:33 +0000 (12:43 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Sun, 16 Sep 2001 12:42:14 +0000 (12:42 +0000)]
*** empty log message ***

22 years ago.
Jim Meyering [Sun, 16 Sep 2001 12:32:26 +0000 (12:32 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Sun, 16 Sep 2001 12:32:12 +0000 (12:32 +0000)]
*** empty log message ***

22 years ago(UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.
Jim Meyering [Sun, 16 Sep 2001 12:32:07 +0000 (12:32 +0000)]
(UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.

22 years ago(UTILS_FUNC_MKDIR_TRAILING_SLASH): Require it.
Jim Meyering [Sun, 16 Sep 2001 12:31:55 +0000 (12:31 +0000)]
(UTILS_FUNC_MKDIR_TRAILING_SLASH): Require it.

22 years ago*** empty log message ***
Jim Meyering [Sat, 15 Sep 2001 21:34:50 +0000 (21:34 +0000)]
*** empty log message ***

22 years agoCheck for help2man.
Jim Meyering [Sat, 15 Sep 2001 21:34:44 +0000 (21:34 +0000)]
Check for help2man.

22 years ago.
Jim Meyering [Tue, 11 Sep 2001 20:11:47 +0000 (20:11 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Tue, 11 Sep 2001 20:11:37 +0000 (20:11 +0000)]
*** empty log message ***

22 years agoRequire UTILS_HOST_OS.
Jim Meyering [Tue, 11 Sep 2001 20:11:30 +0000 (20:11 +0000)]
Require UTILS_HOST_OS.

22 years ago*** empty log message ***
Jim Meyering [Tue, 11 Sep 2001 20:11:04 +0000 (20:11 +0000)]
*** empty log message ***

22 years ago(UTILS_HOST_OS): New file/macro.
Jim Meyering [Tue, 11 Sep 2001 20:10:44 +0000 (20:10 +0000)]
(UTILS_HOST_OS): New file/macro.
The body, by Paul Eggert, was moved here from configure.in.

22 years ago*** empty log message ***
Jim Meyering [Tue, 4 Sep 2001 20:28:35 +0000 (20:28 +0000)]
*** empty log message ***

22 years agoRevert some of the previous change; intead,
Jim Meyering [Tue, 4 Sep 2001 20:28:31 +0000 (20:28 +0000)]
Revert some of the previous change; intead,
fix the HAVE_GETCWD_NULL code to behave more like the
!HAVE_GETCWD_NULL code used to.

Include "xalloc.h".
(xgetcwd): Do not return NULL when memory is exhausted; instead,
invoke xalloc_die.

22 years ago.
Jim Meyering [Tue, 4 Sep 2001 20:22:47 +0000 (20:22 +0000)]
.

22 years ago(jm_PREREQ_XREADLINK): New macro.
Jim Meyering [Tue, 4 Sep 2001 20:22:27 +0000 (20:22 +0000)]
(jm_PREREQ_XREADLINK): New macro.
(jm_PREREQ): Use it.

22 years ago*** empty log message ***
Jim Meyering [Tue, 4 Sep 2001 20:22:18 +0000 (20:22 +0000)]
*** empty log message ***

22 years ago(xreadlink): Update prototype.
Jim Meyering [Tue, 4 Sep 2001 20:21:54 +0000 (20:21 +0000)]
(xreadlink): Update prototype.

22 years ago(xreadlink): Omit size_t* arg. All uses changed.
Jim Meyering [Tue, 4 Sep 2001 20:20:16 +0000 (20:20 +0000)]
(xreadlink): Omit size_t* arg.  All uses changed.
Use ssize_t, not int, to store result of readlink.
Check for ssize_t overflow as well as size_t overflow,
as POSIX says the result of readlink is implementation-defined
when ssize_t overflows.
Remove unnecessary cast to char*.
Use free+malloc instead of realloc, as the storage doesn't need
to be preserved and it's clearer and can be more efficient that way.
(SIZE_MAX, SSIZE_MAX): New macros, if <limits.h> doesn't declare.

22 years ago*** empty log message ***
Jim Meyering [Mon, 3 Sep 2001 18:46:09 +0000 (18:46 +0000)]
*** empty log message ***

22 years ago(fnmatch_no_wildcards): Fix confusion between
Jim Meyering [Mon, 3 Sep 2001 18:45:20 +0000 (18:45 +0000)]
(fnmatch_no_wildcards): Fix confusion between
usage of FNM_CASEFOLD and FNM_LEADING_DIR.  The bug was
spotted by Jim Meyering.

22 years agoinclude errno.h etc, too
Jim Meyering [Mon, 3 Sep 2001 18:32:05 +0000 (18:32 +0000)]
include errno.h etc, too

22 years ago(jm_PREREQ_XGETCWD): Check for limits.h and
Jim Meyering [Mon, 3 Sep 2001 18:28:30 +0000 (18:28 +0000)]
(jm_PREREQ_XGETCWD): Check for limits.h and
sys/param.h, as pathmax.h includes them.

22 years ago*** empty log message ***
Jim Meyering [Mon, 3 Sep 2001 18:26:58 +0000 (18:26 +0000)]
*** empty log message ***

22 years agotweak comment
Jim Meyering [Mon, 3 Sep 2001 18:26:42 +0000 (18:26 +0000)]
tweak comment

22 years ago(xreadlink): Preserve errno around `free' during failure.
Jim Meyering [Mon, 3 Sep 2001 18:25:58 +0000 (18:25 +0000)]
(xreadlink): Preserve errno around `free' during failure.

22 years agoupdate comment re power of 2
Jim Meyering [Mon, 3 Sep 2001 18:24:37 +0000 (18:24 +0000)]
update comment re power of 2

22 years agoFix the !HAVE_GETCWD_NULL code to behave more
Jim Meyering [Mon, 3 Sep 2001 18:21:53 +0000 (18:21 +0000)]
Fix the !HAVE_GETCWD_NULL code to behave more
like the HAVE_GETCWD_NULL code.
Include pathmax.h if not HAVE_GETCWD.
Do not include xalloc.h.
(INITIAL_BUFFER_SIZE): New symbol.
Do not use xmalloc / xrealloc, since the caller is responsible for
handling errors.  Preserve errno around `free' during failure.
Do not overrun buffer when using getwd.

22 years ago.
Jim Meyering [Mon, 3 Sep 2001 09:43:36 +0000 (09:43 +0000)]
.

22 years ago(jm_PREREQ): Add jm_PREREQ_XGETCWD.
Jim Meyering [Mon, 3 Sep 2001 07:45:11 +0000 (07:45 +0000)]
(jm_PREREQ): Add jm_PREREQ_XGETCWD.
(jm_PREREQ_XGETCWD): New macro.

22 years ago*** empty log message ***
Jim Meyering [Mon, 3 Sep 2001 07:43:54 +0000 (07:43 +0000)]
*** empty log message ***

22 years ago(xgetcwd): Use HAVE_GETCWD_NULL, not (defined __GLIBC__ && __GLIBC__ >= 2),
Jim Meyering [Mon, 3 Sep 2001 07:43:44 +0000 (07:43 +0000)]
(xgetcwd): Use HAVE_GETCWD_NULL, not (defined __GLIBC__ && __GLIBC__ >= 2),
to decide whether to use getcwd (NULL, 0).

22 years ago*** empty log message ***
Jim Meyering [Sun, 2 Sep 2001 13:22:33 +0000 (13:22 +0000)]
*** empty log message ***

22 years agoUpdate from GNU libc.
Jim Meyering [Sun, 2 Sep 2001 13:22:25 +0000 (13:22 +0000)]
Update from GNU libc.

22 years ago*** empty log message ***
Jim Meyering [Sat, 1 Sep 2001 16:13:09 +0000 (16:13 +0000)]
*** empty log message ***

22 years ago(jm_MACROS): Check for canonicalize_file_name.
Jim Meyering [Sat, 1 Sep 2001 16:12:45 +0000 (16:12 +0000)]
(jm_MACROS): Check for canonicalize_file_name.

22 years ago.
Jim Meyering [Sat, 1 Sep 2001 09:53:58 +0000 (09:53 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Sat, 1 Sep 2001 09:50:48 +0000 (09:50 +0000)]
*** empty log message ***

22 years ago(libfetish_a_SOURCES): Add xreadlink.c and xreadlink.h.
Jim Meyering [Sat, 1 Sep 2001 09:50:21 +0000 (09:50 +0000)]
(libfetish_a_SOURCES): Add xreadlink.c and xreadlink.h.