gnulib.git
23 years ago(re_match, re_match_2): Protect calls to alloca (0). raeburn-tag-4-for-export
Stefan Monnier [Tue, 20 Jun 2000 16:48:05 +0000 (16:48 +0000)]
(re_match, re_match_2): Protect calls to alloca (0).
(re_comp): Cast gettext return value to avoid complaints when
!HAVE_LIBINTL.

23 years agoTest PROTOTYPES as well as __STDC__.
Dave Love [Mon, 19 Jun 2000 21:59:46 +0000 (21:59 +0000)]
Test PROTOTYPES as well as __STDC__.

23 years ago*** empty log message ***
Jim Meyering [Mon, 19 Jun 2000 09:50:25 +0000 (09:50 +0000)]
*** empty log message ***

23 years ago(AC_REPLACE_FUNCS): Remove mkdir.
Jim Meyering [Mon, 19 Jun 2000 09:50:20 +0000 (09:50 +0000)]
(AC_REPLACE_FUNCS): Remove mkdir.

23 years ago.
Jim Meyering [Mon, 19 Jun 2000 09:48:54 +0000 (09:48 +0000)]
.

23 years ago[HAVE_NLIST_H] (NLIST_STRUCT): Define.
Jim Meyering [Mon, 19 Jun 2000 07:25:01 +0000 (07:25 +0000)]
[HAVE_NLIST_H] (NLIST_STRUCT): Define.

23 years agorevert last change
Jim Meyering [Mon, 19 Jun 2000 07:19:41 +0000 (07:19 +0000)]
revert last change

23 years ago*** empty log message ***
Jim Meyering [Mon, 19 Jun 2000 06:55:11 +0000 (06:55 +0000)]
*** empty log message ***

23 years ago.
Jim Meyering [Mon, 19 Jun 2000 06:51:58 +0000 (06:51 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sun, 18 Jun 2000 18:17:03 +0000 (18:17 +0000)]
*** empty log message ***

23 years agoInclude memory.h, string.h, and/or strings.h as needed.
Jim Meyering [Sun, 18 Jun 2000 18:16:54 +0000 (18:16 +0000)]
Include memory.h, string.h, and/or strings.h as needed.
(this snippet comes from src/system.h).

23 years ago*** empty log message ***
Jim Meyering [Sun, 18 Jun 2000 18:08:15 +0000 (18:08 +0000)]
*** empty log message ***

23 years ago(jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
Jim Meyering [Sun, 18 Jun 2000 18:07:51 +0000 (18:07 +0000)]
(jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
`checking whether...' message to be consistent with that of the
lstat test.

23 years ago.
Jim Meyering [Sun, 18 Jun 2000 17:47:50 +0000 (17:47 +0000)]
.

23 years agos/NLIST_STRUCT/HAVE_NLIST_H/. Remove big
Jim Meyering [Sun, 18 Jun 2000 06:17:54 +0000 (06:17 +0000)]
s/NLIST_STRUCT/HAVE_NLIST_H/.  Remove big
multi-platform `#ifndef NLIST_STRUCT' block.

23 years ago.
Jim Meyering [Sat, 17 Jun 2000 18:46:16 +0000 (18:46 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sat, 17 Jun 2000 18:35:44 +0000 (18:35 +0000)]
*** empty log message ***

23 years agos/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/
Jim Meyering [Sat, 17 Jun 2000 18:34:33 +0000 (18:34 +0000)]
s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/

23 years ago(AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
Jim Meyering [Sat, 17 Jun 2000 18:33:50 +0000 (18:33 +0000)]
(AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
from autoconf, and tweak the latter to accept an optional argument.

23 years ago*** empty log message ***
Jim Meyering [Sat, 17 Jun 2000 18:31:59 +0000 (18:31 +0000)]
*** empty log message ***

23 years ago(jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
Jim Meyering [Sat, 17 Jun 2000 18:31:51 +0000 (18:31 +0000)]
(jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.

23 years ago*** empty log message ***
Jim Meyering [Fri, 16 Jun 2000 12:51:33 +0000 (12:51 +0000)]
*** empty log message ***

23 years ago(adjust_value): New function.
Jim Meyering [Fri, 16 Jun 2000 12:51:28 +0000 (12:51 +0000)]
(adjust_value): New function.
(human_readable_inexact): Apply rounding style even when
printing approximate values.

23 years ago*** empty log message ***
Jim Meyering [Thu, 15 Jun 2000 12:47:56 +0000 (12:47 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Thu, 15 Jun 2000 12:21:20 +0000 (12:21 +0000)]
*** empty log message ***

23 years ago(human_readable_inexact): Allow an input block
Jim Meyering [Thu, 15 Jun 2000 12:21:10 +0000 (12:21 +0000)]
(human_readable_inexact): Allow an input block
size that is not a multiple of the output block size, and vice versa.

23 years ago*** empty log message ***
Jim Meyering [Thu, 15 Jun 2000 07:58:06 +0000 (07:58 +0000)]
*** empty log message ***

23 years ago(get_date): Apply relative times after time zone indicator, not before.
Jim Meyering [Thu, 15 Jun 2000 07:57:58 +0000 (07:57 +0000)]
(get_date): Apply relative times after time zone indicator, not before.

23 years ago.
Jim Meyering [Tue, 13 Jun 2000 09:19:08 +0000 (09:19 +0000)]
.

23 years ago(all-local): Depend on lstat.c and stat.c.
Jim Meyering [Tue, 13 Jun 2000 09:18:30 +0000 (09:18 +0000)]
(all-local): Depend on lstat.c and stat.c.

23 years ago*** empty log message ***
Jim Meyering [Tue, 13 Jun 2000 09:08:50 +0000 (09:08 +0000)]
*** empty log message ***

23 years ago[!HAVE_DECL_FREE]: Declare free in lstat.c.
Jim Meyering [Tue, 13 Jun 2000 09:08:47 +0000 (09:08 +0000)]
[!HAVE_DECL_FREE]: Declare free in lstat.c.

23 years ago*** empty log message ***
Jim Meyering [Tue, 13 Jun 2000 09:06:10 +0000 (09:06 +0000)]
*** empty log message ***

23 years agoInclude <stdlib.h> in lstat, to declare "free".
Jim Meyering [Tue, 13 Jun 2000 09:05:16 +0000 (09:05 +0000)]
Include <stdlib.h> in lstat, to declare "free".

23 years ago(MAKE_CHAR) [!emacs]: Dummy macro for non-Emacs env.
Kenichi Handa [Sat, 10 Jun 2000 08:04:33 +0000 (08:04 +0000)]
(MAKE_CHAR) [!emacs]: Dummy macro for non-Emacs env.
(regex_compile): Fix the code for handling the case of single byte
char and multibyte char being mixed in a range within [...].

23 years ago*** empty log message *** FILEUTILS-4_0u
Jim Meyering [Fri, 9 Jun 2000 23:28:57 +0000 (23:28 +0000)]
*** empty log message ***

23 years ago.
Jim Meyering [Fri, 9 Jun 2000 23:28:54 +0000 (23:28 +0000)]
.

23 years ago.
Jim Meyering [Tue, 6 Jun 2000 21:40:56 +0000 (21:40 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Tue, 6 Jun 2000 20:30:59 +0000 (20:30 +0000)]
*** empty log message ***

23 years ago(AC_SYS_LARGEFILE_FLAGS,
Jim Meyering [Tue, 6 Jun 2000 20:30:34 +0000 (20:30 +0000)]
(AC_SYS_LARGEFILE_FLAGS,
AC_SYS_LARGEFILE_SPACE_APPEND): Remove.
(AC_SYS_LARGEFILE_TEST_INCLUDES): New macro.
(AC_SYS_LARGEFILE_MACRO_VALUE): Change arguments from
CODE-TO-SET-DEFAULT to VALUE, INCLUDES, FUNCTION-BODY.
All uses changed.
Instead of inspecting the output of getconf, try to compile the
test program without and with the macro definition.
(AC_SYS_LARGEFILE): Do not require AC_CANONICAL_HOST or check
for getconf.  Instead, check for the needed flags by compiling
test programs.

23 years ago*** empty log message ***
Jim Meyering [Sun, 4 Jun 2000 13:28:45 +0000 (13:28 +0000)]
*** empty log message ***

23 years agoInclude <config.h> if HAVE_CONFIG_H.
Jim Meyering [Sun, 4 Jun 2000 13:20:20 +0000 (13:20 +0000)]
Include <config.h> if HAVE_CONFIG_H.

23 years ago. FILEUTILS-4_0t
Jim Meyering [Sun, 4 Jun 2000 08:13:25 +0000 (08:13 +0000)]
.

23 years agoPut kludge in if-then...fi block.
Jim Meyering [Sun, 4 Jun 2000 07:30:07 +0000 (07:30 +0000)]
Put kludge in if-then...fi block.

23 years ago(getugroups): Cast -1 to gid_t, for systems like
Jim Meyering [Sun, 4 Jun 2000 06:47:31 +0000 (06:47 +0000)]
(getugroups): Cast -1 to gid_t, for systems like
SunOS4.1.4 for which gid_t is an unsigned type.

23 years agomove vmp decl back out to the scope where it belongs
Jim Meyering [Sat, 3 Jun 2000 22:09:03 +0000 (22:09 +0000)]
move vmp decl back out to the scope where it belongs

23 years ago*** empty log message ***
Jim Meyering [Sat, 3 Jun 2000 21:47:48 +0000 (21:47 +0000)]
*** empty log message ***

23 years ago[!HAVE_DECL_MEMCHR]: Declare memchr.
Jim Meyering [Sat, 3 Jun 2000 21:47:37 +0000 (21:47 +0000)]
[!HAVE_DECL_MEMCHR]: Declare memchr.

23 years ago*** empty log message ***
Jim Meyering [Sat, 3 Jun 2000 12:41:19 +0000 (12:41 +0000)]
*** empty log message ***

23 years ago(jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
Jim Meyering [Sat, 3 Jun 2000 12:40:56 +0000 (12:40 +0000)]
(jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
now that autoconf requires that.

23 years ago*** empty log message ***
Jim Meyering [Sat, 3 Jun 2000 12:22:37 +0000 (12:22 +0000)]
*** empty log message ***

23 years agoAdd a kludge to make autoheader emit the required
Jim Meyering [Sat, 3 Jun 2000 12:22:33 +0000 (12:22 +0000)]
Add a kludge to make autoheader emit the required
#undefs.  E.g., #undef HAVE_DECL_FERROR_UNLOCKED.
Use []-quoted list in AC_CHECK_DECLS, now that autoconf requires that.

23 years ago.
Jim Meyering [Sat, 3 Jun 2000 08:34:45 +0000 (08:34 +0000)]
.

23 years ago(install-exec-local): On systems with glibc-2.1 or
Jim Meyering [Sat, 3 Jun 2000 08:34:34 +0000 (08:34 +0000)]
(install-exec-local): On systems with glibc-2.1 or
newer, don't install charset.alias.

23 years agoChange the Linux/glibc rules so they become empty on glibc-2.1 or newer.
Jim Meyering [Sat, 3 Jun 2000 08:34:18 +0000 (08:34 +0000)]
Change the Linux/glibc rules so they become empty on glibc-2.1 or newer.

23 years ago*** empty log message ***
Jim Meyering [Sat, 3 Jun 2000 08:33:04 +0000 (08:33 +0000)]
*** empty log message ***

23 years agoAdd comment to AC_DEFINE_UNQUOTED use.
Jim Meyering [Sat, 3 Jun 2000 08:29:33 +0000 (08:29 +0000)]
Add comment to AC_DEFINE_UNQUOTED use.

23 years ago.
Jim Meyering [Sat, 3 Jun 2000 08:26:05 +0000 (08:26 +0000)]
.

23 years agoUse jm_GLIBC21.
Jim Meyering [Sat, 3 Jun 2000 08:25:33 +0000 (08:25 +0000)]
Use jm_GLIBC21.

23 years agoNew file. From Bruno Haible.
Jim Meyering [Sat, 3 Jun 2000 08:23:54 +0000 (08:23 +0000)]
New file.  From Bruno Haible.

23 years ago*** empty log message ***
Jim Meyering [Fri, 2 Jun 2000 11:54:35 +0000 (11:54 +0000)]
*** empty log message ***

23 years agoBack out last change. Instead, do this...
Jim Meyering [Fri, 2 Jun 2000 11:20:47 +0000 (11:20 +0000)]
Back out last change.  Instead, do this...
(read_filesystem_list) [MOUNTED_VMOUNT]: Set the me_dummy
member using the same `ignore'-testing code.

23 years ago(ME_DUMMY): Add `autofs' to the list of ignored fs_type strings.
Jim Meyering [Fri, 2 Jun 2000 11:20:30 +0000 (11:20 +0000)]
(ME_DUMMY): Add `autofs' to the list of ignored fs_type strings.
From Mark D. Roth.

23 years ago(PREFETCH_NOLIMIT): New function.
Stefan Monnier [Tue, 30 May 2000 02:58:58 +0000 (02:58 +0000)]
(PREFETCH_NOLIMIT): New function.
(re_match_2_internal): Use it and adjust the end_match_2 logic.

23 years ago(read_filesystem_list) [MOUNTED_VMOUNT]: Ignore mounts
Jim Meyering [Mon, 29 May 2000 16:23:45 +0000 (16:23 +0000)]
(read_filesystem_list) [MOUNTED_VMOUNT]: Ignore mounts
with the `ignore' attribute.  Based on a patch from Mark D. Roth.

23 years ago*** empty log message ***
Jim Meyering [Mon, 29 May 2000 16:23:04 +0000 (16:23 +0000)]
*** empty log message ***

23 years ago.
Jim Meyering [Mon, 29 May 2000 16:22:03 +0000 (16:22 +0000)]
.

23 years ago.
Jim Meyering [Sun, 28 May 2000 21:29:14 +0000 (21:29 +0000)]
.

23 years agobump serial number
Jim Meyering [Sun, 28 May 2000 21:28:05 +0000 (21:28 +0000)]
bump serial number

23 years ago*** empty log message ***
Jim Meyering [Sun, 28 May 2000 21:24:54 +0000 (21:24 +0000)]
*** empty log message ***

23 years ago(AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
Jim Meyering [Sun, 28 May 2000 21:24:42 +0000 (21:24 +0000)]
(AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.

23 years ago.
Jim Meyering [Sun, 28 May 2000 21:21:42 +0000 (21:21 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sun, 28 May 2000 17:36:36 +0000 (17:36 +0000)]
*** empty log message ***

23 years agos/jm_FUNC_STRERROR_R/AC_FUNC_STRERROR_R/.
Jim Meyering [Sun, 28 May 2000 16:49:22 +0000 (16:49 +0000)]
s/jm_FUNC_STRERROR_R/AC_FUNC_STRERROR_R/.

23 years ago.
Jim Meyering [Sun, 28 May 2000 16:48:25 +0000 (16:48 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Fri, 26 May 2000 21:39:19 +0000 (21:39 +0000)]
*** empty log message ***

23 years agoUse `$cross_compiling', not `$ac_cv_prog_cc_cross'.
Jim Meyering [Fri, 26 May 2000 21:39:16 +0000 (21:39 +0000)]
Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.

23 years ago(at_begline_loc_p): Also recognize the \\(?:^ case
Stefan Monnier [Thu, 25 May 2000 16:30:40 +0000 (16:30 +0000)]
(at_begline_loc_p): Also recognize the \\(?:^ case
of an anchor at the beginning of a shy-group.

23 years ago*** empty log message ***
Jim Meyering [Wed, 24 May 2000 07:50:18 +0000 (07:50 +0000)]
*** empty log message ***

23 years agoUse []-quoted list in AC_CHECK_MEMBERS, now that autoconf requires that.
Jim Meyering [Wed, 24 May 2000 07:49:38 +0000 (07:49 +0000)]
Use []-quoted list in AC_CHECK_MEMBERS, now that autoconf requires that.

23 years ago(jm_LIB_CHECK): Use []-quoted list in
Jim Meyering [Wed, 24 May 2000 07:49:09 +0000 (07:49 +0000)]
(jm_LIB_CHECK): Use []-quoted list in
AC_CHECK_MEMBERS, now that autoconf requires that.

23 years ago(jm_PREREQ_READUTMP): Use []-quoted list in
Jim Meyering [Wed, 24 May 2000 07:48:04 +0000 (07:48 +0000)]
(jm_PREREQ_READUTMP): Use []-quoted list in
AC_CHECK_MEMBERS, now that autoconf requires that.

23 years ago(jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
Jim Meyering [Wed, 24 May 2000 07:46:55 +0000 (07:46 +0000)]
(jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
now that autoconf requires that.

23 years ago.
Jim Meyering [Mon, 22 May 2000 22:08:15 +0000 (22:08 +0000)]
.

23 years agoRequire jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
Jim Meyering [Mon, 22 May 2000 08:35:36 +0000 (08:35 +0000)]
Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.

23 years agoRemove old, now-unnecessary `#ifdef __MSDOS__' block.
Jim Meyering [Mon, 22 May 2000 06:24:50 +0000 (06:24 +0000)]
Remove old, now-unnecessary `#ifdef __MSDOS__' block.

23 years ago*** empty log message *** FILEUTILS-4_0s
Jim Meyering [Sat, 20 May 2000 09:46:19 +0000 (09:46 +0000)]
*** empty log message ***

23 years ago(jm_PREREQ_HUMAN): New macro.
Jim Meyering [Sat, 20 May 2000 09:46:14 +0000 (09:46 +0000)]
(jm_PREREQ_HUMAN): New macro.
(jm_PREREQ): Use it.

23 years ago.
Jim Meyering [Sat, 20 May 2000 09:30:01 +0000 (09:30 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Thu, 18 May 2000 11:12:39 +0000 (11:12 +0000)]
*** empty log message ***

23 years ago(hash_rehash): Fix a nasty bug: copy the free entry list
Jim Meyering [Thu, 18 May 2000 11:06:39 +0000 (11:06 +0000)]
(hash_rehash): Fix a nasty bug: copy the free entry list
back, too, since it may have been modified by allocate_entry.
(hash_delete): Rewrite not to use both(!) the assignment operator
and the comma operator in an if-expression.

23 years ago*** empty log message ***
Jim Meyering [Tue, 16 May 2000 14:42:22 +0000 (14:42 +0000)]
*** empty log message ***

23 years ago<sys/stat.h>, <sys/types.h>, <unistd.h>, (STDOUT_FILENO):
Jim Meyering [Tue, 16 May 2000 14:36:55 +0000 (14:36 +0000)]
<sys/stat.h>, <sys/types.h>, <unistd.h>, (STDOUT_FILENO):
Remove; no longer needed.
"quotearg.h": Add include.
(file_name): Do not bother to explicitly initialize to NULL; it's less
efficient on some hosts.
(close_stdout_status): Remove test as to whether stdout was already
closed; it breaks for the case "echo x | sort >&-".
Quote file name colons.
Do not assume that _("write error") lacks format strings.

23 years ago*** empty log message ***
Jim Meyering [Mon, 15 May 2000 10:22:01 +0000 (10:22 +0000)]
*** empty log message ***

23 years ago(close_stdout_set_file_name): Declare.
Jim Meyering [Mon, 15 May 2000 10:21:56 +0000 (10:21 +0000)]
(close_stdout_set_file_name): Declare.

23 years ago(close_stdout_set_file_name): New function.
Jim Meyering [Mon, 15 May 2000 10:21:25 +0000 (10:21 +0000)]
(close_stdout_set_file_name): New function.
(close_stdout_status): Use new file-scoped global.
Return right away if fstat says the stdout file descriptor is invalid.

23 years ago*** empty log message ***
Jim Meyering [Mon, 15 May 2000 07:11:30 +0000 (07:11 +0000)]
*** empty log message ***

23 years ago(version_etc_copyright): Update the copyright string
Jim Meyering [Mon, 15 May 2000 07:11:16 +0000 (07:11 +0000)]
(version_etc_copyright): Update the copyright string
that goes into all --version output.

24 years ago.
Jim Meyering [Thu, 11 May 2000 07:17:36 +0000 (07:17 +0000)]
.

24 years ago.
Jim Meyering [Wed, 10 May 2000 16:40:30 +0000 (16:40 +0000)]
.