Jim Meyering [Thu, 1 Nov 2001 16:47:00 +0000 (16:47 +0000)]
don't indent the #include directive
Jim Meyering [Thu, 1 Nov 2001 16:46:06 +0000 (16:46 +0000)]
check for decl, too
Jim Meyering [Thu, 1 Nov 2001 16:43:02 +0000 (16:43 +0000)]
*** empty log message ***
Jim Meyering [Thu, 1 Nov 2001 16:42:53 +0000 (16:42 +0000)]
(jm_MACROS): Require UTILS_FUNC_DIRFD.
Jim Meyering [Thu, 1 Nov 2001 16:41:57 +0000 (16:41 +0000)]
(UTILS_FUNC_DIRFD): New macro.
Jim Meyering [Thu, 1 Nov 2001 15:55:59 +0000 (15:55 +0000)]
*** empty log message ***
Jim Meyering [Thu, 1 Nov 2001 15:55:53 +0000 (15:55 +0000)]
(hash_print) [TESTING]: Clean up.
Jeff Bailey [Mon, 22 Oct 2001 13:45:41 +0000 (13:45 +0000)]
Checking initial copies various licenses, README, and general COPYING document.
Jim Meyering [Mon, 22 Oct 2001 08:02:38 +0000 (08:02 +0000)]
.
Jim Meyering [Mon, 22 Oct 2001 08:01:22 +0000 (08:01 +0000)]
(alloca): Define to __builtin_alloca if __GNUC__,
to avoid a warning if -Wall.
Jim Meyering [Mon, 22 Oct 2001 06:56:44 +0000 (06:56 +0000)]
*** empty log message ***
Jim Meyering [Mon, 22 Oct 2001 06:56:31 +0000 (06:56 +0000)]
(uintptr_t): Remove macro and decl; it's config.h's job.
Jim Meyering [Sun, 21 Oct 2001 15:12:39 +0000 (15:12 +0000)]
whoops! fix comment on first line :-)
Jim Meyering [Sun, 21 Oct 2001 13:39:20 +0000 (13:39 +0000)]
*** empty log message ***
Jim Meyering [Sun, 21 Oct 2001 13:39:12 +0000 (13:39 +0000)]
(_): Honor the setting of ENABLE_NLS. Otherwise,
this code would end up calling gettext even in packages built
with --disable-nls.
Jim Meyering [Sun, 21 Oct 2001 10:55:36 +0000 (10:55 +0000)]
*** empty log message ***
Jim Meyering [Sun, 21 Oct 2001 10:55:29 +0000 (10:55 +0000)]
(_): Honor the setting of ENABLE_NLS. Otherwise,
this code would end up calling gettext even in packages built
with --disable-nls.
Jim Meyering [Sun, 21 Oct 2001 09:01:31 +0000 (09:01 +0000)]
*** empty log message ***
Jim Meyering [Sun, 21 Oct 2001 09:01:24 +0000 (09:01 +0000)]
(_): Honor the setting of ENABLE_NLS. Otherwise,
this code would end up calling gettext even in packages built
with --disable-nls.
Jim Meyering [Sun, 21 Oct 2001 07:59:09 +0000 (07:59 +0000)]
*** empty log message ***
Jim Meyering [Sun, 21 Oct 2001 07:59:04 +0000 (07:59 +0000)]
(strerror_r): Do not declare unless !_LIBC.
Do not check for HAVE_DECL_STRERROR_R missing unless STRERROR_R_CHAR_P.
Use strerror_r that is only a macro, even if it is not a function.
(strerror): Check for HAVE_DECL_STRERROR before declaring.
(private_strerror): Use prototypes, not old-style function definition.
(print_errno_message): New function.
Support the POSIX 'int'-flavored strerror_r, as well as the traditional
char*-flavored one.
(error_tail, error, error_at_line): Use it.
Jim Meyering [Sun, 21 Oct 2001 07:49:37 +0000 (07:49 +0000)]
*** empty log message ***
Jim Meyering [Sun, 21 Oct 2001 07:49:27 +0000 (07:49 +0000)]
(jm_PREREQ_ERROR):
Do not invoke AC_CHECK_FUNCS with strerror_r, as
AC_FUNC_STRERROR_R does that.
Jim Meyering [Sun, 21 Oct 2001 07:49:13 +0000 (07:49 +0000)]
Add copyright notice, as nontrivial m4 files
are supposed to have them these days.
(AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached.
Merge changes from latest Autoconf CVS.
Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
POSIX decided to standardize on the int flavor of strerror_r.
Jim Meyering [Thu, 11 Oct 2001 15:52:22 +0000 (15:52 +0000)]
*** empty log message ***
Jim Meyering [Thu, 11 Oct 2001 15:52:17 +0000 (15:52 +0000)]
(argmatch_invalid): Use quotearg_n_style (0, ...
and quote_n (1, ... to avoid clobbering a buffer.
Gerd Moellmann [Tue, 9 Oct 2001 10:05:13 +0000 (10:05 +0000)]
(WIDE_CHAR_SUPPORT): Do not use defined() in macro.
From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
Jim Meyering [Fri, 5 Oct 2001 11:45:36 +0000 (11:45 +0000)]
.
Jim Meyering [Fri, 5 Oct 2001 11:45:25 +0000 (11:45 +0000)]
(libfetish_a_SOURCES): Add hash-pjw.c and hash-pjw.h.
Jim Meyering [Fri, 5 Oct 2001 11:44:30 +0000 (11:44 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Sep 2001 21:39:54 +0000 (21:39 +0000)]
*** empty log message ***
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.
Jim Meyering [Sun, 30 Sep 2001 21:28:26 +0000 (21:28 +0000)]
*** empty log message ***
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.
Jim Meyering [Sun, 30 Sep 2001 06:26:57 +0000 (06:26 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Sep 2001 06:26:46 +0000 (06:26 +0000)]
(excluded_filename): 0 -> false, since it's a boolean context.
Jim Meyering [Sat, 29 Sep 2001 10:30:41 +0000 (10:30 +0000)]
*** empty log message ***
Jim Meyering [Sat, 29 Sep 2001 10:29:25 +0000 (10:29 +0000)]
*** empty log message ***
Jim Meyering [Sat, 29 Sep 2001 10:27:35 +0000 (10:27 +0000)]
*** empty log message ***
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/.
Jim Meyering [Sat, 29 Sep 2001 08:13:26 +0000 (08:13 +0000)]
*** empty log message ***
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.
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.
Jim Meyering [Fri, 28 Sep 2001 19:35:57 +0000 (19:35 +0000)]
*** empty log message ***
Jim Meyering [Fri, 28 Sep 2001 19:35:01 +0000 (19:35 +0000)]
*** empty log message ***
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.
Jim Meyering [Wed, 26 Sep 2001 08:27:49 +0000 (08:27 +0000)]
*** empty log message ***
Jim Meyering [Wed, 26 Sep 2001 08:27:42 +0000 (08:27 +0000)]
(USE_UNLOCKED_IO): Define to 1 if not already defined.
Jim Meyering [Wed, 26 Sep 2001 08:22:37 +0000 (08:22 +0000)]
.
Jim Meyering [Wed, 26 Sep 2001 08:21:55 +0000 (08:21 +0000)]
*** empty log message ***
Jim Meyering [Wed, 26 Sep 2001 08:21:06 +0000 (08:21 +0000)]
remove now-unused tmp/trap junk
Jim Meyering [Wed, 26 Sep 2001 08:20:38 +0000 (08:20 +0000)]
exit from only one place: the end
Jim Meyering [Wed, 26 Sep 2001 08:19:17 +0000 (08:19 +0000)]
portability tweaks
Jim Meyering [Wed, 26 Sep 2001 08:13:41 +0000 (08:13 +0000)]
*** empty log message ***
Jim Meyering [Wed, 26 Sep 2001 08:13:27 +0000 (08:13 +0000)]
(unlocked-io.h): Use $(SHELL).
Jim Meyering [Wed, 26 Sep 2001 08:11:20 +0000 (08:11 +0000)]
.
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
Jim Meyering [Wed, 26 Sep 2001 07:55:04 +0000 (07:55 +0000)]
.
Jim Meyering [Tue, 25 Sep 2001 13:01:36 +0000 (13:01 +0000)]
*** empty log message ***
Jim Meyering [Tue, 25 Sep 2001 13:01:22 +0000 (13:01 +0000)]
(rpl_gettimeofday): Declare local variable `result'.
Jim Meyering [Mon, 24 Sep 2001 15:35:09 +0000 (15:35 +0000)]
.
Jim Meyering [Mon, 24 Sep 2001 15:35:00 +0000 (15:35 +0000)]
Use the version from gettext-0.10.40, not CVS.
Jim Meyering [Sun, 23 Sep 2001 15:47:00 +0000 (15:47 +0000)]
.
Jim Meyering [Sun, 23 Sep 2001 14:24:35 +0000 (14:24 +0000)]
*** empty log message ***
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.
Jim Meyering [Sun, 23 Sep 2001 09:19:52 +0000 (09:19 +0000)]
*** empty log message ***
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.
Jim Meyering [Sun, 23 Sep 2001 08:56:27 +0000 (08:56 +0000)]
*** empty log message ***
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.
Jim Meyering [Sat, 22 Sep 2001 16:45:36 +0000 (16:45 +0000)]
*** empty log message ***
Jim Meyering [Sat, 22 Sep 2001 16:39:57 +0000 (16:39 +0000)]
.
Jim Meyering [Sat, 22 Sep 2001 16:39:57 +0000 (16:39 +0000)]
.
Jim Meyering [Sat, 22 Sep 2001 16:34:30 +0000 (16:34 +0000)]
Sync with gettext -- this changes only comments.
Jim Meyering [Sat, 22 Sep 2001 15:18:03 +0000 (15:18 +0000)]
decrement serial number to sync with gettext
Jim Meyering [Sat, 22 Sep 2001 15:17:26 +0000 (15:17 +0000)]
.
Jim Meyering [Sat, 22 Sep 2001 15:08:51 +0000 (15:08 +0000)]
*** empty log message ***
Jim Meyering [Sat, 22 Sep 2001 15:08:35 +0000 (15:08 +0000)]
Update from latest gettext.
Jim Meyering [Sat, 22 Sep 2001 13:27:04 +0000 (13:27 +0000)]
.
Jim Meyering [Sat, 22 Sep 2001 13:18:57 +0000 (13:18 +0000)]
.
Jim Meyering [Thu, 20 Sep 2001 15:04:07 +0000 (15:04 +0000)]
*** empty log message ***
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).
Jim Meyering [Thu, 20 Sep 2001 14:41:51 +0000 (14:41 +0000)]
*** empty log message ***
Jim Meyering [Thu, 20 Sep 2001 14:41:43 +0000 (14:41 +0000)]
(jm_AC_PREREQ_XSTRTOUMAX): 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.
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.
Jim Meyering [Mon, 17 Sep 2001 21:43:41 +0000 (21:43 +0000)]
.
Jim Meyering [Mon, 17 Sep 2001 19:32:52 +0000 (19:32 +0000)]
*** empty log message ***
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.
Jim Meyering [Mon, 17 Sep 2001 10:24:27 +0000 (10:24 +0000)]
*** empty log message ***
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.
Jim Meyering [Sun, 16 Sep 2001 12:43:33 +0000 (12:43 +0000)]
.
Jim Meyering [Sun, 16 Sep 2001 12:42:14 +0000 (12:42 +0000)]
*** empty log message ***
Jim Meyering [Sun, 16 Sep 2001 12:32:26 +0000 (12:32 +0000)]
.
Jim Meyering [Sun, 16 Sep 2001 12:32:12 +0000 (12:32 +0000)]
*** empty log message ***
Jim Meyering [Sun, 16 Sep 2001 12:32:07 +0000 (12:32 +0000)]
(UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.
Jim Meyering [Sun, 16 Sep 2001 12:31:55 +0000 (12:31 +0000)]
(UTILS_FUNC_MKDIR_TRAILING_SLASH): Require it.
Jim Meyering [Sat, 15 Sep 2001 21:34:50 +0000 (21:34 +0000)]
*** empty log message ***
Jim Meyering [Sat, 15 Sep 2001 21:34:44 +0000 (21:34 +0000)]
Check for help2man.
Jim Meyering [Tue, 11 Sep 2001 20:11:47 +0000 (20:11 +0000)]
.
Jim Meyering [Tue, 11 Sep 2001 20:11:37 +0000 (20:11 +0000)]
*** empty log message ***