gnulib.git
22 years ago(__attribute__): Define it to be empty for compilers CPPI-1_10
Jim Meyering [Sat, 14 Jul 2001 19:47:20 +0000 (19:47 +0000)]
(__attribute__): Define it to be empty for compilers
that don't support that syntax.

22 years ago.
Jim Meyering [Wed, 11 Jul 2001 15:28:51 +0000 (15:28 +0000)]
.

22 years ago.
Jim Meyering [Thu, 5 Jul 2001 10:39:08 +0000 (10:39 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Thu, 5 Jul 2001 08:29:19 +0000 (08:29 +0000)]
*** empty log message ***

22 years ago(noinst_HEADERS): Remove definition, per new automake recommendation.
Jim Meyering [Thu, 5 Jul 2001 07:58:06 +0000 (07:58 +0000)]
(noinst_HEADERS): Remove definition, per new automake recommendation.
(libfetish_a_SOURCES): Put all .h files here instead.
Remove a thus-exposed (better checks in automake) duplicate and
two unnecessary .h files.

22 years ago(glibc-io.struct): New target. Rework the code
Jim Meyering [Wed, 4 Jul 2001 21:16:03 +0000 (21:16 +0000)]
(glibc-io.struct): New target.  Rework the code
that generates jm-glibc-io.m4 so that it doesn't trigger any make
distcheck failure.

22 years ago.
Jim Meyering [Mon, 2 Jul 2001 07:40:36 +0000 (07:40 +0000)]
.

22 years agonow-generated
Jim Meyering [Mon, 2 Jul 2001 07:40:17 +0000 (07:40 +0000)]
now-generated

22 years ago(Makefile.am): Include jm-glibc-io.m4n in emitted
Jim Meyering [Mon, 2 Jul 2001 07:39:33 +0000 (07:39 +0000)]
(Makefile.am): Include jm-glibc-io.m4n in emitted
definition of EXTRA_DIST.
(Makefile.am): Emit the dependency, `all-local: jm-glibc-io.m4' to
ensure that the generated file is created/updated whenever the list
of $(unlocked_functions) is changed.
(jm-glibc-io.m4): New rule.
(unlocked-io.h): New rule -- currently unused.

22 years ago*** empty log message ***
Jim Meyering [Mon, 2 Jul 2001 07:39:12 +0000 (07:39 +0000)]
*** empty log message ***

22 years ago.
Jim Meyering [Mon, 2 Jul 2001 07:13:33 +0000 (07:13 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Sun, 24 Jun 2001 20:01:30 +0000 (20:01 +0000)]
*** empty log message ***

22 years ago(jm_INCLUDED_REGEX): Use a quadrigraph to represent an
Jim Meyering [Sun, 24 Jun 2001 20:01:11 +0000 (20:01 +0000)]
(jm_INCLUDED_REGEX): Use a quadrigraph to represent an
unmatched right bracket, rather than an extra, falsely-matching
quote in a comment.  Patch by Akim Demaille.

22 years agoupdate from libc CPPI-1_9
Jim Meyering [Mon, 18 Jun 2001 08:01:38 +0000 (08:01 +0000)]
update from libc

22 years ago*** empty log message ***
Jim Meyering [Mon, 11 Jun 2001 02:49:20 +0000 (02:49 +0000)]
*** empty log message ***

22 years agoUpdate from GNU libc.
Jim Meyering [Mon, 11 Jun 2001 02:48:14 +0000 (02:48 +0000)]
Update from GNU libc.

22 years ago*** empty log message ***
Jim Meyering [Sun, 27 May 2001 13:46:52 +0000 (13:46 +0000)]
*** empty log message ***

22 years ago(UT_TYPE): Define.
Jim Meyering [Sun, 27 May 2001 13:46:31 +0000 (13:46 +0000)]
(UT_TYPE): Define.

22 years ago(jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
Jim Meyering [Sun, 27 May 2001 13:45:39 +0000 (13:45 +0000)]
(jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
Check for ut_type in struct utmp.

22 years ago.
Jim Meyering [Thu, 24 May 2001 22:08:45 +0000 (22:08 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Thu, 24 May 2001 06:12:07 +0000 (06:12 +0000)]
*** empty log message ***

22 years agoInclude "quote.h".
Jim Meyering [Thu, 24 May 2001 06:12:00 +0000 (06:12 +0000)]
Include "quote.h".
(argmatch_invalid): Remove explicit `' quotes.  Instead, use the
quote function.  Reported by Göran Uddeborg.

22 years ago*** empty log message ***
Jim Meyering [Tue, 22 May 2001 06:56:48 +0000 (06:56 +0000)]
*** empty log message ***

22 years ago(_jm_STRFTIME_PREREQS): Don't use AC_LIBOBJ(strftime),
Jim Meyering [Tue, 22 May 2001 06:56:43 +0000 (06:56 +0000)]
(_jm_STRFTIME_PREREQS): Don't use AC_LIBOBJ(strftime),
now that we use the package-supplied version unconditionally.
(jm_FUNC_STRFTIME): Don't replace strftime, for the same reason.

22 years ago*** empty log message ***
Jim Meyering [Mon, 21 May 2001 10:52:36 +0000 (10:52 +0000)]
*** empty log message ***

22 years agoChange a couple backticks to single quotes to avoid shell syntax errors.
Jim Meyering [Mon, 21 May 2001 10:52:02 +0000 (10:52 +0000)]
Change a couple backticks to single quotes to avoid shell syntax errors.

22 years ago.
Jim Meyering [Mon, 21 May 2001 06:59:27 +0000 (06:59 +0000)]
.

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

22 years ago(jm_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
Jim Meyering [Mon, 21 May 2001 06:46:52 +0000 (06:46 +0000)]
(jm_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.

22 years ago*** empty log message ***
Jim Meyering [Mon, 21 May 2001 06:36:43 +0000 (06:36 +0000)]
*** empty log message ***

22 years ago(dir_name): Compute append_dot using path, not newpath
Jim Meyering [Mon, 21 May 2001 06:36:36 +0000 (06:36 +0000)]
(dir_name): Compute append_dot using path, not newpath
which is not yet declared.

22 years ago.
Jim Meyering [Sun, 20 May 2001 21:09:06 +0000 (21:09 +0000)]
.

22 years ago(my_strftime):
Jim Meyering [Sun, 20 May 2001 20:41:20 +0000 (20:41 +0000)]
(my_strftime):
Define to nstrftime if emacs, but only if my_strftime is not defined.
(extra_args, extra_args_spec, extra_args_spec_iso): Rename from
ut_argument, ut_argument_spec, ut_argument_spec_iso, respectively.
Add one more extra argument: a nanoseconds value.
All uses changed.
(ns): New macro.
(my_strftime function): Add %N format.
(emacs_strftimeu): Renamed from emacs_strftime,
with extra ut argument.

22 years ago(libfetish_a_SOURCES):
Jim Meyering [Sun, 20 May 2001 20:39:28 +0000 (20:39 +0000)]
(libfetish_a_SOURCES):
Add strftime.c, since we now compile it on all hosts.

22 years ago*** empty log message ***
Jim Meyering [Sun, 20 May 2001 20:38:29 +0000 (20:38 +0000)]
*** empty log message ***

22 years ago(jm_FUNC_GNU_STRFTIME):
Jim Meyering [Sun, 20 May 2001 20:38:25 +0000 (20:38 +0000)]
(jm_FUNC_GNU_STRFTIME):
Don't bother to check library strftime, since
we'll be using our own my_strftime function anyway.
Define my_strftime instead of strftime.

22 years ago*** empty log message ***
Jim Meyering [Wed, 16 May 2001 07:33:31 +0000 (07:33 +0000)]
*** empty log message ***

22 years agoUse proper quoting so brackets appear in the test program.
Jim Meyering [Wed, 16 May 2001 07:33:22 +0000 (07:33 +0000)]
Use proper quoting so brackets appear in the test program.

22 years ago.
Jim Meyering [Wed, 16 May 2001 07:30:54 +0000 (07:30 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Tue, 15 May 2001 14:02:28 +0000 (14:02 +0000)]
*** empty log message ***

22 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.

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

22 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.

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

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

22 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.

22 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 '/'.

22 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.

22 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.

22 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.

22 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.

22 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.

22 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.

22 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.

22 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.

22 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.

22 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.

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