gnulib.git
23 years ago*** empty log message *** FILEUTILS-4_0v
Jim Meyering [Sun, 25 Jun 2000 08:49:02 +0000 (08:49 +0000)]
*** empty log message ***

23 years agoInclude stdio.h before wchar.h to work around
Jim Meyering [Sun, 25 Jun 2000 08:48:58 +0000 (08:48 +0000)]
Include stdio.h before wchar.h to work around
Linux header bug when _XOPEN_SOURCE is defined to 500.

23 years ago*** empty log message ***
Jim Meyering [Sun, 25 Jun 2000 06:54:36 +0000 (06:54 +0000)]
*** empty log message ***

23 years ago(print_unicode_char): Work around ansi2knr deficiency.
Jim Meyering [Sun, 25 Jun 2000 06:54:32 +0000 (06:54 +0000)]
(print_unicode_char): Work around ansi2knr deficiency.

23 years ago*** empty log message ***
Jim Meyering [Sat, 24 Jun 2000 21:05:11 +0000 (21:05 +0000)]
*** empty log message ***

23 years agoIf the compile-test says
Jim Meyering [Sat, 24 Jun 2000 21:04:44 +0000 (21:04 +0000)]
If the compile-test says
strerror_r doesn't work, then resort to a `run'-test that works on
BeOS and segfaults on DEC Unix.

23 years agocheck for decl unconditionally
Jim Meyering [Sat, 24 Jun 2000 14:03:10 +0000 (14:03 +0000)]
check for decl unconditionally

23 years ago.
Jim Meyering [Sat, 24 Jun 2000 12:21:52 +0000 (12:21 +0000)]
.

23 years agoRevive this file -- to try out an experimental
Jim Meyering [Sat, 24 Jun 2000 12:05:08 +0000 (12:05 +0000)]
Revive this file -- to try out an experimental
version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
for which strerror does return char*, but which lacks a conveniently
accessible declaration of the function.

23 years ago*** empty log message ***
Jim Meyering [Sat, 24 Jun 2000 12:01:29 +0000 (12:01 +0000)]
*** empty log message ***

23 years ago[!HAVE_DECL_STRERROR_R]: Declare strerror_r.
Jim Meyering [Sat, 24 Jun 2000 12:01:03 +0000 (12:01 +0000)]
[!HAVE_DECL_STRERROR_R]: Declare strerror_r.

23 years ago.
Jim Meyering [Fri, 23 Jun 2000 21:09:12 +0000 (21:09 +0000)]
.

23 years agoInclude <wctype.h> after <wchar.h>,
Jim Meyering [Fri, 23 Jun 2000 21:05:50 +0000 (21:05 +0000)]
Include <wctype.h> after <wchar.h>,
for Solaris 2.5.
(mbrtowc, mbstate_t): Define substitutes if
HAVE_MBRTOWC && HAVE_WCHAR_H && !HAVE_MBSTATE_T_OBJECT.
(iswprint): Define to 1 if !defined iswprint && !HAVE_ISWPRINT,
not if ! (HAVE_MBRTOWC && HAVE_WCHAR_H).

23 years ago*** empty log message ***
Jim Meyering [Fri, 23 Jun 2000 21:03:06 +0000 (21:03 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Fri, 23 Jun 2000 21:02:23 +0000 (21:02 +0000)]
*** empty log message ***

23 years ago(jm_PREREQ_QUOTEARG): Use AC_MBSTATE_T_OBJECT. Add check for iswprint.
Jim Meyering [Fri, 23 Jun 2000 21:02:15 +0000 (21:02 +0000)]
(jm_PREREQ_QUOTEARG): Use AC_MBSTATE_T_OBJECT.  Add check for iswprint.

23 years agoNew file, defining AC_MBSTATE_T_OBJECT.
Jim Meyering [Fri, 23 Jun 2000 21:00:53 +0000 (21:00 +0000)]
New file, defining AC_MBSTATE_T_OBJECT.

23 years ago*** empty log message ***
Jim Meyering [Fri, 23 Jun 2000 14:03:02 +0000 (14:03 +0000)]
*** empty log message ***

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

23 years agoAdd missing AC_MSG_RESULT.
Jim Meyering [Fri, 23 Jun 2000 13:49:17 +0000 (13:49 +0000)]
Add missing AC_MSG_RESULT.
Reported by Bruno Haible.

23 years agos/AC_MSG_CHECKING/AC_CHECKING/.
Jim Meyering [Fri, 23 Jun 2000 13:43:41 +0000 (13:43 +0000)]
s/AC_MSG_CHECKING/AC_CHECKING/.
Suggestion from Bruno Haible.

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

23 years ago(AC_REPLACE_FUNCS): Add getpass.
Jim Meyering [Wed, 21 Jun 2000 20:23:14 +0000 (20:23 +0000)]
(AC_REPLACE_FUNCS): Add getpass.

23 years agoansideclify
Jim Meyering [Wed, 21 Jun 2000 20:21:03 +0000 (20:21 +0000)]
ansideclify

23 years agoNew file, from Bruno Haible. Required for BeOS.
Jim Meyering [Wed, 21 Jun 2000 20:20:27 +0000 (20:20 +0000)]
New file, from Bruno Haible.  Required for BeOS.

23 years ago*** empty log message ***
Jim Meyering [Wed, 21 Jun 2000 20:16:10 +0000 (20:16 +0000)]
*** empty log message ***

23 years ago(xgetcwd): If the required pathname length is smaller
Jim Meyering [Wed, 21 Jun 2000 20:16:03 +0000 (20:16 +0000)]
(xgetcwd): If the required pathname length is smaller
than 1024, return a memory chunk of least possible size, instead
of size PATH_MAX + 2. In the loop, increment the size proportionally.
Use free/xmalloc instead of xrealloc to avoid copying for very long paths.

23 years ago*** empty log message ***
Jim Meyering [Wed, 21 Jun 2000 13:00:54 +0000 (13:00 +0000)]
*** empty log message ***

23 years ago(canon_host): Use malloc and memcpy to copy an
Jim Meyering [Wed, 21 Jun 2000 13:00:49 +0000 (13:00 +0000)]
(canon_host): Use malloc and memcpy to copy an
address, not strdup.  Include <stdlib.h> and don't declare free().

23 years ago*** empty log message ***
Jim Meyering [Wed, 21 Jun 2000 12:56:40 +0000 (12:56 +0000)]
*** empty log message ***

23 years ago(path_concat): Don't access dir[-1] if dir is the empty string.
Jim Meyering [Wed, 21 Jun 2000 12:56:33 +0000 (12:56 +0000)]
(path_concat): Don't access dir[-1] if dir is the empty string.

23 years agoinclude getstr.h
Jim Meyering [Wed, 21 Jun 2000 09:56:42 +0000 (09:56 +0000)]
include getstr.h

23 years ago*** empty log message ***
Jim Meyering [Wed, 21 Jun 2000 09:21:52 +0000 (09:21 +0000)]
*** empty log message ***

23 years ago(libfetish_a_SOURCES): Add getstr.c.
Jim Meyering [Wed, 21 Jun 2000 09:21:22 +0000 (09:21 +0000)]
(libfetish_a_SOURCES): Add getstr.c.
(noinst_HEADERS): Add getstr.h.

23 years ago(getstr): Move into a separate file.
Jim Meyering [Wed, 21 Jun 2000 09:12:30 +0000 (09:12 +0000)]
(getstr): Move into a separate file.

23 years agocopyright date
Jim Meyering [Wed, 21 Jun 2000 09:10:32 +0000 (09:10 +0000)]
copyright date

23 years ago*** empty log message ***
Jim Meyering [Wed, 21 Jun 2000 09:09:57 +0000 (09:09 +0000)]
*** empty log message ***

23 years agoNew file, extracted from getline.c, with the following
Jim Meyering [Wed, 21 Jun 2000 09:09:22 +0000 (09:09 +0000)]
New file, extracted from getline.c, with the following
changes: new parameter, delim2; both delim[12] parameters have type
`int', not `char'.  The latter would lose with 8-bit delimiters.

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.