gnulib.git
23 years agoUse proper quoting so brackets appear in the test program.
Jim Meyering [Tue, 15 May 2001 14:02:19 +0000 (14:02 +0000)]
Use proper quoting so brackets appear in the test program.

23 years ago*** empty log message ***
Jim Meyering [Sun, 13 May 2001 18:24:57 +0000 (18:24 +0000)]
*** empty log message ***

23 years ago(major_t, minor_t): Define to unsigned int if undefined.
Jim Meyering [Sun, 13 May 2001 18:24:44 +0000 (18:24 +0000)]
(major_t, minor_t): Define to unsigned int if undefined.

23 years ago.
Jim Meyering [Sat, 12 May 2001 20:55:19 +0000 (20:55 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sat, 12 May 2001 15:50:50 +0000 (15:50 +0000)]
*** empty log message ***

23 years ago(ISSLASH): Remove; now in dirname.h.
Jim Meyering [Sat, 12 May 2001 15:50:27 +0000 (15:50 +0000)]
(ISSLASH): Remove; now in dirname.h.
(strip_trailing_slashes): Return nonzero if
a slash was stripped.  Do not strip the last slash after a
file system prefix.

23 years ago(base_name): Remove; now in dirname.h.
Jim Meyering [Sat, 12 May 2001 15:48:00 +0000 (15:48 +0000)]
(base_name): Remove; now in dirname.h.
(STREQ): Remove.
(same_name): Handle the case where the basename ends in trailing '/'.

23 years ago(DIRECTORY_SEPARATOR, ISSLASH, FILESYSTEM_PREFIX_LEN): New macros.
Jim Meyering [Sat, 12 May 2001 15:46:36 +0000 (15:46 +0000)]
(DIRECTORY_SEPARATOR, ISSLASH, FILESYSTEM_PREFIX_LEN): New macros.
(base_name, base_len, dir_len, strip_trailing_slashes): New decls.

23 years ago(DIRECTORY_SEPARATOR, FILESYSTEM_PREFIX_LEN, ISSLASH): Remove; now in dirname.h.
Jim Meyering [Sat, 12 May 2001 15:45:43 +0000 (15:45 +0000)]
(DIRECTORY_SEPARATOR, FILESYSTEM_PREFIX_LEN, ISSLASH): Remove; now in dirname.h.
(path_concat): Use base_len to compute
base length, not strlen; this means we cannot rely on memcpy
to null-terminate.

23 years agoUse "", not <> to include non-system header files.
Jim Meyering [Sat, 12 May 2001 15:40:47 +0000 (15:40 +0000)]
Use "", not <> to include non-system header files.

23 years agoUse "", not <> to include dirname.h.
Jim Meyering [Sat, 12 May 2001 15:39:45 +0000 (15:39 +0000)]
Use "", not <> to include dirname.h.

23 years ago(FILESYSTEM_PREFIX_LEN, ISSLASH): Remove; now in dirname.h.
Jim Meyering [Sat, 12 May 2001 15:38:00 +0000 (15:38 +0000)]
(FILESYSTEM_PREFIX_LEN, ISSLASH): Remove; now in dirname.h.

Include <string.h> instead of <stdlib.h>.
Do not include <assert.h>; no longer needed.
Include xalloc.h.
(memrchr): Remove decl.
(dir_name_r): Remove.
(dir_len): Renamed from dirlen.  All callers changed.
Rewrite in terms of base_name, for simplicity and consistency.
(dir_name): Never return NULL.  All callers changed.
Do not include <stdlib.h> in test program; no longer needed.
return 0; is fine for test program.

23 years ago(FILESYSTEM_PREFIX_LEN, PARAMS, ISSLASH): Remove; now in dirname.h.
Jim Meyering [Sat, 12 May 2001 14:23:49 +0000 (14:23 +0000)]
(FILESYSTEM_PREFIX_LEN, PARAMS, ISSLASH): Remove; now in dirname.h.
Do not include <stdio.h>, <assert.h>; no longer needed.
Include <string.h>, <dirname.h>.
(base_name): Allow file names ending in slashes, other than names
that are all slashes.  In this case, return the basename followed
by the slashes.  This is more general, and can be used in places
where the original base_name purposely had an assertion failure.
(base_len): New function.

23 years ago(base_name): Remove; now in dirname.h.
Jim Meyering [Sat, 12 May 2001 14:20:43 +0000 (14:20 +0000)]
(base_name): Remove; now in dirname.h.
Include <dirname.h> after size_t is defined.
(find_backup_file_name, max_backup_version): Use base_len instead of
rolling it ourselves.
Handle the case of "" and (on DOS) "C:" correctly.

23 years ago(ISSLASH, base_name): Remove; now in dirname.h.
Jim Meyering [Sat, 12 May 2001 14:13:36 +0000 (14:13 +0000)]
(ISSLASH, base_name): Remove; now in dirname.h.
Include <dirname.h> after size_t is defined.

(addext): Use base_len to trim redundant
trailing slashes instead of doing it ourselves.
But do not trim the last slash if it is not redundant.

23 years ago(malloc, realloc, free) [emacs]: Undefine before EMACS_21_1
Eli Zaretskii [Sat, 12 May 2001 10:52:38 +0000 (10:52 +0000)]
(malloc, realloc, free) [emacs]: Undefine before
redefining, to avoid compiler warnings.

23 years agoInclude dirname.h.
Jim Meyering [Sat, 12 May 2001 10:05:15 +0000 (10:05 +0000)]
Include dirname.h.
(strip_trailing_slashes): Remove decl; now in dirname.h.

23 years ago.
Jim Meyering [Sat, 12 May 2001 10:04:13 +0000 (10:04 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Wed, 9 May 2001 09:16:08 +0000 (09:16 +0000)]
*** empty log message ***

23 years ago(jm_MACROS): Do not check for fseeko; no longer used.
Jim Meyering [Wed, 9 May 2001 09:16:03 +0000 (09:16 +0000)]
(jm_MACROS): Do not check for fseeko; no longer used.

23 years ago*** empty log message *** FILEUTILS-4_0_45
Jim Meyering [Sat, 21 Apr 2001 17:52:02 +0000 (17:52 +0000)]
*** empty log message ***

23 years agoWrite to a new file, so that a restrictive umask doesn't interfere.
Jim Meyering [Sat, 21 Apr 2001 17:51:46 +0000 (17:51 +0000)]
Write to a new file, so that a restrictive umask doesn't interfere.

23 years ago*** empty log message ***
Jim Meyering [Sat, 21 Apr 2001 14:08:04 +0000 (14:08 +0000)]
*** empty log message ***

23 years agoCheck for chsize.
Jim Meyering [Sat, 21 Apr 2001 14:08:00 +0000 (14:08 +0000)]
Check for chsize.
Link with ftruncate.o unconditionally if ftruncate is missing.
This was required when cross-compiling to i586-mingw32msvc.

23 years ago*** empty log message ***
Jim Meyering [Sun, 8 Apr 2001 20:00:14 +0000 (20:00 +0000)]
*** empty log message ***

23 years agothat's necessary when the offset spans a DST transition.
Jim Meyering [Sun, 8 Apr 2001 19:58:59 +0000 (19:58 +0000)]
that's necessary when the offset spans a DST transition.

23 years agoUpdate from GNU libc.
Jim Meyering [Mon, 2 Apr 2001 08:31:28 +0000 (08:31 +0000)]
Update from GNU libc.

23 years ago*** empty log message ***
Jim Meyering [Mon, 2 Apr 2001 08:31:22 +0000 (08:31 +0000)]
*** empty log message ***

23 years ago.
Jim Meyering [Sun, 1 Apr 2001 21:28:27 +0000 (21:28 +0000)]
.

23 years agoRequire autoconf-2.49d.
Jim Meyering [Sat, 24 Mar 2001 10:35:18 +0000 (10:35 +0000)]
Require autoconf-2.49d.

23 years ago*** empty log message ***
Jim Meyering [Sat, 24 Mar 2001 08:50:50 +0000 (08:50 +0000)]
*** empty log message ***

23 years ago(jm_ICONV): Recommend GNU libiconv.
Jim Meyering [Sat, 24 Mar 2001 08:50:21 +0000 (08:50 +0000)]
(jm_ICONV): Recommend GNU libiconv.

23 years ago*** empty log message *** FILEUTILS-4_0_43
Jim Meyering [Mon, 19 Mar 2001 11:59:55 +0000 (11:59 +0000)]
*** empty log message ***

23 years ago(version_etc_copyright): Update to 2001.
Jim Meyering [Mon, 19 Mar 2001 11:52:29 +0000 (11:52 +0000)]
(version_etc_copyright): Update to 2001.

23 years ago*** empty log message *** FILEUTILS-4_0_42
Jim Meyering [Fri, 16 Mar 2001 23:42:21 +0000 (23:42 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Fri, 16 Mar 2001 23:41:08 +0000 (23:41 +0000)]
*** empty log message ***

23 years agoRemove my copy of AC_FUNC_MEMCMP, now that
Jim Meyering [Fri, 16 Mar 2001 23:40:10 +0000 (23:40 +0000)]
Remove my copy of AC_FUNC_MEMCMP, now that
the version in autoconf has been updated.
(jm_FUNC_MEMCMP): Adjust.

23 years ago*** empty log message ***
Jim Meyering [Fri, 16 Mar 2001 17:01:17 +0000 (17:01 +0000)]
*** empty log message ***

23 years ago(jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
Jim Meyering [Fri, 16 Mar 2001 17:01:11 +0000 (17:01 +0000)]
(jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.

23 years ago(jm_PREREQ): Add jm_PREREQ_TEMPNAME.
Jim Meyering [Fri, 16 Mar 2001 16:38:52 +0000 (16:38 +0000)]
(jm_PREREQ): Add jm_PREREQ_TEMPNAME.
(jm_PREREQ_TEMPNAME): New function.

23 years ago*** empty log message ***
Jim Meyering [Fri, 16 Mar 2001 12:02:29 +0000 (12:02 +0000)]
*** empty log message ***

23 years ago(uint64_t): Define to uintmax_t if
Jim Meyering [Fri, 16 Mar 2001 12:02:22 +0000 (12:02 +0000)]
(uint64_t): Define to uintmax_t if
not defined, and if UINT64_MAX is not defined.
Required at least for Vax Ultrix4.3, which doesn't define uint64_t.
Reported by John David Anglin.

23 years ago*** empty log message ***
Jim Meyering [Thu, 15 Mar 2001 14:50:26 +0000 (14:50 +0000)]
*** empty log message ***

23 years ago(BeOS): Use wildcard syntax.
Jim Meyering [Thu, 15 Mar 2001 14:50:16 +0000 (14:50 +0000)]
(BeOS): Use wildcard syntax.

23 years ago(locale_charset): Allow wildcard syntax. Also resolve
Jim Meyering [Thu, 15 Mar 2001 14:49:56 +0000 (14:49 +0000)]
(locale_charset): Allow wildcard syntax. Also resolve
alias if codeset is empty.

23 years ago*** empty log message ***
Jim Meyering [Tue, 13 Mar 2001 15:57:21 +0000 (15:57 +0000)]
*** empty log message ***

23 years ago(path_concat) [FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX]:
Jim Meyering [Tue, 13 Mar 2001 15:57:15 +0000 (15:57 +0000)]
(path_concat) [FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX]:
Don't insert a backslash when concatenating e.g., `C:' and `foo'.
From Bruno Haible.

23 years ago.
Jim Meyering [Tue, 13 Mar 2001 04:18:10 +0000 (04:18 +0000)]
.

23 years ago.
Jim Meyering [Mon, 12 Mar 2001 10:15:08 +0000 (10:15 +0000)]
.

23 years ago.
Jim Meyering [Fri, 9 Mar 2001 18:37:57 +0000 (18:37 +0000)]
.

23 years ago(locale_charset): Don't use setlocale(LC_CTYPE,NULL).
Jim Meyering [Tue, 6 Mar 2001 18:11:20 +0000 (18:11 +0000)]
(locale_charset): Don't use setlocale(LC_CTYPE,NULL).
Don't return NULL.

23 years ago(print_unicode_char): Simplify accordingly.
Jim Meyering [Tue, 6 Mar 2001 18:11:01 +0000 (18:11 +0000)]
(print_unicode_char): Simplify accordingly.

23 years ago*** empty log message ***
Jim Meyering [Tue, 6 Mar 2001 18:01:26 +0000 (18:01 +0000)]
*** empty log message ***

23 years agoUpdate for FreeBSD 4.2 and OSF/1 5.1. Add support for DOS/DJGPP.
Jim Meyering [Tue, 6 Mar 2001 18:00:47 +0000 (18:00 +0000)]
Update for FreeBSD 4.2 and OSF/1 5.1. Add support for DOS/DJGPP.

23 years ago. TEXTUTILS-2_0_12
Jim Meyering [Sun, 4 Mar 2001 01:48:17 +0000 (01:48 +0000)]
.

23 years ago(libfetish_a_SOURCES): Add dup-safer.c, fopen-safer.c.
Jim Meyering [Sat, 3 Mar 2001 19:06:54 +0000 (19:06 +0000)]
(libfetish_a_SOURCES): Add dup-safer.c, fopen-safer.c.
(noinst_HEADERS): Add stdio-safer.h, unistd-safer.h.

23 years ago*** empty log message ***
Jim Meyering [Sat, 3 Mar 2001 19:06:28 +0000 (19:06 +0000)]
*** empty log message ***

23 years agofrom Paul Eggert
Jim Meyering [Sat, 3 Mar 2001 19:05:36 +0000 (19:05 +0000)]
from Paul Eggert

23 years ago.
Jim Meyering [Sat, 3 Mar 2001 18:38:22 +0000 (18:38 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Fri, 2 Mar 2001 03:14:38 +0000 (03:14 +0000)]
*** empty log message ***

23 years ago(jm_MACROS): Use mkstemp replacement if the system
Jim Meyering [Fri, 2 Mar 2001 03:14:31 +0000 (03:14 +0000)]
(jm_MACROS): Use mkstemp replacement if the system
lacks mkstemp.  Compile our own tempname.c if we compile our own
mkstemp.c, as mkstemp relies on tempname.

23 years agofrom GNU libc
Jim Meyering [Fri, 2 Mar 2001 03:12:47 +0000 (03:12 +0000)]
from GNU libc

23 years ago.
Jim Meyering [Fri, 2 Mar 2001 03:06:08 +0000 (03:06 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Thu, 1 Mar 2001 05:33:25 +0000 (05:33 +0000)]
*** empty log message ***

23 years ago(jm_AC_DOS): Remove extra backslashes, now that
Jim Meyering [Thu, 1 Mar 2001 05:33:18 +0000 (05:33 +0000)]
(jm_AC_DOS): Remove extra backslashes, now that
AH_VERBATIM really does output its argument verbatim.

23 years ago*** empty log message ***
Jim Meyering [Mon, 19 Feb 2001 08:51:00 +0000 (08:51 +0000)]
*** empty log message ***

23 years ago(jm_CHECK_ALL_HEADERS): Check for sys/resource.h.
Jim Meyering [Mon, 19 Feb 2001 08:50:54 +0000 (08:50 +0000)]
(jm_CHECK_ALL_HEADERS): Check for sys/resource.h.

23 years ago*** empty log message *** FILEUTILS-4_0_41
Jim Meyering [Sat, 17 Feb 2001 16:56:27 +0000 (16:56 +0000)]
*** empty log message ***

23 years agoSync from GNU libc. Use double quotes, not <...>
Jim Meyering [Sat, 17 Feb 2001 16:56:20 +0000 (16:56 +0000)]
Sync from GNU libc.  Use double quotes, not <...>
around included file name.

23 years ago*** empty log message ***
Jim Meyering [Sat, 17 Feb 2001 16:53:38 +0000 (16:53 +0000)]
*** empty log message ***

23 years ago(__strnlen): Merge in a change from GNU libc.
Jim Meyering [Sat, 17 Feb 2001 16:53:33 +0000 (16:53 +0000)]
(__strnlen): Merge in a change from GNU libc.

23 years ago*** empty log message ***
Jim Meyering [Sat, 17 Feb 2001 16:51:03 +0000 (16:51 +0000)]
*** empty log message ***

23 years agoupdate comments from libc
Jim Meyering [Sat, 17 Feb 2001 16:50:27 +0000 (16:50 +0000)]
update comments from libc

23 years ago.
Jim Meyering [Sat, 17 Feb 2001 13:18:17 +0000 (13:18 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sat, 17 Feb 2001 12:53:40 +0000 (12:53 +0000)]
*** empty log message ***

23 years ago(jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
Jim Meyering [Sat, 17 Feb 2001 12:53:36 +0000 (12:53 +0000)]
(jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt
further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on
UnixWare 7.1.1.

23 years ago*** empty log message ***
Jim Meyering [Sat, 17 Feb 2001 12:44:04 +0000 (12:44 +0000)]
*** empty log message ***

23 years ago(mbswidth): Also define as macro, to avoid prototype clash.
Jim Meyering [Sat, 17 Feb 2001 12:43:57 +0000 (12:43 +0000)]
(mbswidth): Also define as macro, to avoid prototype clash.

23 years ago.
Jim Meyering [Sat, 17 Feb 2001 11:51:48 +0000 (11:51 +0000)]
.

23 years ago(mbrtowc, mbsinit):
Jim Meyering [Sat, 17 Feb 2001 10:39:17 +0000 (10:39 +0000)]
(mbrtowc, mbsinit):
Remove workaround macros for hosts that have mbrtowc but not
mbstate_t, as we now insist on proper declarations for both
before using mbrtowc.

23 years ago*** empty log message ***
Jim Meyering [Sat, 17 Feb 2001 10:37:10 +0000 (10:37 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sat, 17 Feb 2001 10:36:42 +0000 (10:36 +0000)]
*** empty log message ***

23 years ago(jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc., rather than AC_CACHE_VAL.
Jim Meyering [Sat, 17 Feb 2001 10:36:33 +0000 (10:36 +0000)]
(jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc., rather than AC_CACHE_VAL.

23 years agobump serial number
Jim Meyering [Sat, 17 Feb 2001 09:35:11 +0000 (09:35 +0000)]
bump serial number

23 years ago(jm_PREREQ_QUOTEARG): Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
Jim Meyering [Sat, 17 Feb 2001 09:34:57 +0000 (09:34 +0000)]
(jm_PREREQ_QUOTEARG): Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).

23 years ago(jm_PREREQ_MBSWIDTH):
Jim Meyering [Sat, 17 Feb 2001 09:34:14 +0000 (09:34 +0000)]
(jm_PREREQ_MBSWIDTH):
Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).

23 years agoNew file, defining jm_FUNC_MBRTOWC.
Jim Meyering [Sat, 17 Feb 2001 09:33:25 +0000 (09:33 +0000)]
New file, defining jm_FUNC_MBRTOWC.

23 years ago.
Jim Meyering [Sat, 17 Feb 2001 08:55:17 +0000 (08:55 +0000)]
.

23 years agoUpdate from libc.
Jim Meyering [Sat, 17 Feb 2001 07:14:31 +0000 (07:14 +0000)]
Update from libc.

23 years ago*** empty log message ***
Jim Meyering [Sat, 17 Feb 2001 07:13:03 +0000 (07:13 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Fri, 16 Feb 2001 19:31:18 +0000 (19:31 +0000)]
*** empty log message ***

23 years ago(malloc): Undef before defining, since stdlib.h may have defined it.
Jim Meyering [Fri, 16 Feb 2001 19:28:43 +0000 (19:28 +0000)]
(malloc): Undef before defining, since stdlib.h may have defined it.

23 years ago. FILEUTILS-4_0_39
Jim Meyering [Thu, 8 Feb 2001 10:43:44 +0000 (10:43 +0000)]
.

23 years agoupdate from libc
Jim Meyering [Thu, 8 Feb 2001 06:49:29 +0000 (06:49 +0000)]
update from libc

23 years ago(jm_INCLUDED_REGEX): Add a test for the latest bug.
Jim Meyering [Wed, 7 Feb 2001 11:50:25 +0000 (11:50 +0000)]
(jm_INCLUDED_REGEX): Add a test for the latest bug.

23 years ago*** empty log message ***
Jim Meyering [Wed, 7 Feb 2001 11:47:40 +0000 (11:47 +0000)]
*** empty log message ***

23 years agoUpdate from libc.
Jim Meyering [Wed, 7 Feb 2001 11:47:24 +0000 (11:47 +0000)]
Update from libc.

23 years ago*** empty log message ***
Jim Meyering [Mon, 5 Feb 2001 22:29:57 +0000 (22:29 +0000)]
*** empty log message ***

23 years agoRequire autoconf-2.14d (not yet released), because
Jim Meyering [Mon, 5 Feb 2001 22:29:52 +0000 (22:29 +0000)]
Require autoconf-2.14d (not yet released), because
it includes the patch required for `large file' support with at least
HP-UX's 10.20 /bin/cc.

23 years agofix typo: s/found/yes/
Jim Meyering [Sun, 4 Feb 2001 08:28:29 +0000 (08:28 +0000)]
fix typo: s/found/yes/