gnulib.git
21 years ago(__restrict_arr): Do not redefine it if already defined. EMACS_PRETEST_21_2_93
Francesco Potortl [Mon, 30 Sep 2002 08:07:42 +0000 (08:07 +0000)]
(__restrict_arr): Do not redefine it if already defined.

22 years ago(regcomp, regexec): Don't forget the __restrict.
Stefan Monnier [Fri, 2 Nov 2001 16:10:25 +0000 (16:10 +0000)]
(regcomp, regexec): Don't forget the __restrict.

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.

22 years ago(UTILS_FUNC_DIRFD): New macro.
Jim Meyering [Thu, 1 Nov 2001 16:41:57 +0000 (16:41 +0000)]
(UTILS_FUNC_DIRFD): New macro.

22 years ago*** empty log message ***
Jim Meyering [Thu, 1 Nov 2001 15:55:59 +0000 (15:55 +0000)]
*** empty log message ***

22 years ago(hash_print) [TESTING]: Clean up.
Jim Meyering [Thu, 1 Nov 2001 15:55:53 +0000 (15:55 +0000)]
(hash_print) [TESTING]: Clean up.

22 years agoChecking initial copies various licenses, README, and general COPYING document.
Jeff Bailey [Mon, 22 Oct 2001 13:45:41 +0000 (13:45 +0000)]
Checking initial copies various licenses, README, and general COPYING document.

22 years ago.
Jim Meyering [Mon, 22 Oct 2001 08:02:38 +0000 (08:02 +0000)]
.

22 years ago(alloca): Define to __builtin_alloca if __GNUC__,
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.

22 years ago*** empty log message ***
Jim Meyering [Mon, 22 Oct 2001 06:56:44 +0000 (06:56 +0000)]
*** empty log message ***

22 years ago(uintptr_t): Remove macro and decl; it's config.h's job.
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.

22 years agowhoops! fix comment on first line :-)
Jim Meyering [Sun, 21 Oct 2001 15:12:39 +0000 (15:12 +0000)]
whoops!  fix comment on first line :-)

22 years ago*** empty log message ***
Jim Meyering [Sun, 21 Oct 2001 13:39:20 +0000 (13:39 +0000)]
*** empty log message ***

22 years ago(_): Honor the setting of ENABLE_NLS. Otherwise,
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.

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

22 years ago(_): Honor the setting of ENABLE_NLS. Otherwise,
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.

22 years ago*** empty log message ***
Jim Meyering [Sun, 21 Oct 2001 09:01:31 +0000 (09:01 +0000)]
*** empty log message ***

22 years ago(_): Honor the setting of ENABLE_NLS. Otherwise,
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.

22 years ago*** empty log message ***
Jim Meyering [Sun, 21 Oct 2001 07:59:09 +0000 (07:59 +0000)]
*** empty log message ***

22 years ago(strerror_r): Do not declare unless !_LIBC.
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.

22 years ago*** empty log message ***
Jim Meyering [Sun, 21 Oct 2001 07:49:37 +0000 (07:49 +0000)]
*** empty log message ***

22 years ago(jm_PREREQ_ERROR):
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.

22 years agoAdd copyright notice, as nontrivial m4 files
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.

22 years ago*** empty log message ***
Jim Meyering [Thu, 11 Oct 2001 15:52:22 +0000 (15:52 +0000)]
*** empty log message ***

22 years ago(argmatch_invalid): Use quotearg_n_style (0, ...
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.

22 years ago(WIDE_CHAR_SUPPORT): Do not use defined() in macro.
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>.

22 years ago.
Jim Meyering [Fri, 5 Oct 2001 11:45:36 +0000 (11:45 +0000)]
.

22 years ago(libfetish_a_SOURCES): Add hash-pjw.c and hash-pjw.h.
Jim Meyering [Fri, 5 Oct 2001 11:45:25 +0000 (11:45 +0000)]
(libfetish_a_SOURCES): Add hash-pjw.c and hash-pjw.h.

22 years ago*** empty log message ***
Jim Meyering [Fri, 5 Oct 2001 11:44:30 +0000 (11:44 +0000)]
*** empty log message ***

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 ***