pspp
23 years agoQuote the first argument in each use of AC_DEFUN.
Jim Meyering [Sun, 12 Aug 2001 13:26:00 +0000 (13:26 +0000)]
Quote the first argument in each use of AC_DEFUN.

23 years ago.
Jim Meyering [Sun, 12 Aug 2001 13:10:59 +0000 (13:10 +0000)]
.

23 years agoupdate from libc
Jim Meyering [Sun, 12 Aug 2001 13:02:20 +0000 (13:02 +0000)]
update from libc

23 years agoupdate from libc
Jim Meyering [Sun, 12 Aug 2001 12:49:11 +0000 (12:49 +0000)]
update from libc

23 years ago(libfetish_a_SOURCES): Add gtod.h.
Jim Meyering [Sun, 12 Aug 2001 08:33:25 +0000 (08:33 +0000)]
(libfetish_a_SOURCES): Add gtod.h.

23 years ago*** empty log message ***
Jim Meyering [Sun, 12 Aug 2001 08:31:50 +0000 (08:31 +0000)]
*** empty log message ***

23 years agoremove unused cruft
Jim Meyering [Sun, 12 Aug 2001 08:30:36 +0000 (08:30 +0000)]
remove unused cruft

23 years agoyes/no were reversed
Jim Meyering [Sun, 12 Aug 2001 08:30:03 +0000 (08:30 +0000)]
yes/no were reversed

23 years ago.
Jim Meyering [Mon, 6 Aug 2001 09:49:24 +0000 (09:49 +0000)]
.

23 years agoRequire autoconf-2.52.
Jim Meyering [Sun, 5 Aug 2001 03:40:52 +0000 (03:40 +0000)]
Require autoconf-2.52.

23 years ago*** empty log message ***
Jim Meyering [Sat, 4 Aug 2001 17:52:45 +0000 (17:52 +0000)]
*** empty log message ***

23 years ago(__attribute__): Remove `|| __STRICT_ANSI__' from #if stmt,
Jim Meyering [Sat, 4 Aug 2001 17:52:38 +0000 (17:52 +0000)]
(__attribute__): Remove `|| __STRICT_ANSI__' from #if stmt,
to get in sync with glibc.

23 years ago*** empty log message ***
Jim Meyering [Sat, 4 Aug 2001 17:07:43 +0000 (17:07 +0000)]
*** empty log message ***

23 years agoDon't include <limits.h>.
Jim Meyering [Sat, 4 Aug 2001 17:07:37 +0000 (17:07 +0000)]
Don't include <limits.h>.
Include <stdlib.h> and <string.h> unconditionally.
(iswcntrl, mbsinit, ISCNTRL): New macros.
(mbsnwidth): Use K&R style function declarations.
Don't bother checking for MB_LEN_MAX == 1, since the compiler
can optimize it when MB_CUR_MAX == 1.
The width of control characters is zero, not 1.

23 years ago(MBSW_REJECT_UNPRINTABLE, MBSW_REJECT_INVALID):
Jim Meyering [Sat, 4 Aug 2001 17:06:05 +0000 (17:06 +0000)]
(MBSW_REJECT_UNPRINTABLE, MBSW_REJECT_INVALID):
Renamed from MBSW_ACCEPT_UNPRINTABLE and MBSW_ACCEPT_INVALID
with inverted sense.  All uses changed.

23 years ago.
Jim Meyering [Sat, 4 Aug 2001 17:03:30 +0000 (17:03 +0000)]
.

23 years ago(jm_MACROS): Reflect s/jm_/AM_/ renamings.
Jim Meyering [Sat, 4 Aug 2001 17:02:18 +0000 (17:02 +0000)]
(jm_MACROS): Reflect s/jm_/AM_/ renamings.

23 years ago(jm_PREREQ_MBSWIDTH): No longer requires AM_C_PROTOTYPES.
Jim Meyering [Sat, 4 Aug 2001 17:00:11 +0000 (17:00 +0000)]
(jm_PREREQ_MBSWIDTH): No longer requires AM_C_PROTOTYPES.
Check for iswcntrl, mbsinit.  Use AC_TRY_COMPILE, not AC_CHECK_DECLS,
for portability to Autoconf 2.13.

23 years ago(jm_AC_TYPE_UNSIGNED_LONG_LONG): Quote first arg of AC_DEFUN.
Jim Meyering [Sat, 4 Aug 2001 16:59:23 +0000 (16:59 +0000)]
(jm_AC_TYPE_UNSIGNED_LONG_LONG): Quote first arg of AC_DEFUN.

23 years ago(jm_AC_TYPE_UINTMAX_T): Quote first arg of AC_DEFUN.
Jim Meyering [Sat, 4 Aug 2001 16:59:09 +0000 (16:59 +0000)]
(jm_AC_TYPE_UINTMAX_T): Quote first arg of AC_DEFUN.

23 years ago(AM_PATH_PROG_WITH_TEST): Quote first arg of AC_DEFUN.
Jim Meyering [Sat, 4 Aug 2001 16:58:55 +0000 (16:58 +0000)]
(AM_PATH_PROG_WITH_TEST): Quote first arg of AC_DEFUN.
(AM_PATH_PROG_WITH_TEST): Output "no" only if $1 isn't $4.

23 years ago(AM_LC_MESSAGES): Quote first arg of AC_DEFUN.
Jim Meyering [Sat, 4 Aug 2001 16:58:42 +0000 (16:58 +0000)]
(AM_LC_MESSAGES): Quote first arg of AC_DEFUN.

23 years ago(AC_ISC_POSIX): Quote first arg of AC_DEFUN.
Jim Meyering [Sat, 4 Aug 2001 16:58:23 +0000 (16:58 +0000)]
(AC_ISC_POSIX): Quote first arg of AC_DEFUN.

23 years ago(jm_AC_HEADER_INTTYPES_H): Quote first arg of AC_DEFUN.
Jim Meyering [Sat, 4 Aug 2001 16:58:07 +0000 (16:58 +0000)]
(jm_AC_HEADER_INTTYPES_H): Quote first arg of AC_DEFUN.

23 years ago(jm_GLIBC21): Quote first arg of AC_DEFUN.
Jim Meyering [Sat, 4 Aug 2001 16:57:45 +0000 (16:57 +0000)]
(jm_GLIBC21): Quote first arg of AC_DEFUN.

23 years ago(AM_FUNC_GETLINE): Quote first arg of AC_DEFUN.
Jim Meyering [Sat, 4 Aug 2001 16:56:32 +0000 (16:56 +0000)]
(AM_FUNC_GETLINE): Quote first arg of AC_DEFUN.
(AM_FUNC_GETLINE): Don't bother checking for string.h any more.

23 years ago(AC_C_BACKSLASH_A): Quote first arg of AC_DEFUN.
Jim Meyering [Sat, 4 Aug 2001 16:56:18 +0000 (16:56 +0000)]
(AC_C_BACKSLASH_A): Quote first arg of AC_DEFUN.

23 years agoUpgrade to serial AM2.
Jim Meyering [Sat, 4 Aug 2001 16:55:58 +0000 (16:55 +0000)]
Upgrade to serial AM2.
(AM_ICONV): Renamed from jm_ICONV; all uses changed.
Add --with-libconv-prefix.
Quote first arg of AC_DEFUN.  Add description for ICONV_CONST.
(am_cv_func_iconv): Renamed from jm_cv_func_iconv.
(am_cv_lib_iconv): Renamed from jm_cv_lib_iconv.
(am_cv_proto_iconv): Renamed from jm_cv_proto_iconv.

23 years agoUpgrade to serial AM1.
Jim Meyering [Sat, 4 Aug 2001 16:55:36 +0000 (16:55 +0000)]
Upgrade to serial AM1.
(AM_LANGINFO_CODESET): Renamed from jm_LANGINFO_CODESET;
all uses changed.  Quote first arg of AC_DEFUN.
(am_cv_langinfo_codeset): Renamed from jm_cv_langinfo_codeset.

23 years ago.
Jim Meyering [Fri, 3 Aug 2001 10:42:40 +0000 (10:42 +0000)]
.

23 years ago(jm_FUNC_MBRTOWC): Use `#include', not `@%:@include',
Jim Meyering [Fri, 3 Aug 2001 10:09:06 +0000 (10:09 +0000)]
(jm_FUNC_MBRTOWC): Use `#include', not `@%:@include',
as it was in the original.  Reported by Paul Eggert.

23 years ago*** empty log message ***
Jim Meyering [Mon, 16 Jul 2001 08:59:15 +0000 (08:59 +0000)]
*** empty log message ***

23 years ago.
Jim Meyering [Sun, 15 Jul 2001 16:28:39 +0000 (16:28 +0000)]
.

23 years ago*** empty log message ***
Jim Meyering [Sun, 15 Jul 2001 15:42:38 +0000 (15:42 +0000)]
*** empty log message ***

23 years ago(all-local): Depend on unlocked-io.h, to ensure it is created.
Jim Meyering [Sun, 15 Jul 2001 15:42:27 +0000 (15:42 +0000)]
(all-local): Depend on unlocked-io.h, to ensure it is created.

23 years ago*** empty log message ***
Jim Meyering [Sun, 15 Jul 2001 15:35:02 +0000 (15:35 +0000)]
*** empty log message ***

23 years ago(DISTCLEANFILES): Add unlocked-io.h.
Jim Meyering [Sun, 15 Jul 2001 15:29:05 +0000 (15:29 +0000)]
(DISTCLEANFILES): Add unlocked-io.h.

23 years ago(EXTRA_DIST): Add unlocked-io.hin.
Jim Meyering [Sun, 15 Jul 2001 15:14:18 +0000 (15:14 +0000)]
(EXTRA_DIST): Add unlocked-io.hin.
(BUILT_SOURCES): Add unlocked-io.h.
(io_functions): Define.
(unlocked-io.h): New rule.

23 years ago*** empty log message ***
Jim Meyering [Sun, 15 Jul 2001 15:13:14 +0000 (15:13 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 15 Jul 2001 14:39:51 +0000 (14:39 +0000)]
*** empty log message ***

23 years agoUpdate from glibc.
Jim Meyering [Sun, 15 Jul 2001 14:39:46 +0000 (14:39 +0000)]
Update from glibc.

23 years ago.
Jim Meyering [Sun, 15 Jul 2001 14:33:50 +0000 (14:33 +0000)]
.

23 years agoremove unlocked-io.h stuff
Jim Meyering [Sun, 15 Jul 2001 14:31:54 +0000 (14:31 +0000)]
remove unlocked-io.h stuff

23 years ago*** empty log message ***
Jim Meyering [Sun, 15 Jul 2001 14:31:11 +0000 (14:31 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
Jim Meyering [Sun, 15 Jul 2001 14:30:55 +0000 (14:30 +0000)]
*** empty log message ***

23 years agobump serial number
Jim Meyering [Sun, 15 Jul 2001 12:21:46 +0000 (12:21 +0000)]
bump serial number

23 years ago(__attribute__): Define it to be empty for compilers
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.

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

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

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

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

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

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

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

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

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

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

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

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

23 years agoupdate from libc
Jim Meyering [Mon, 18 Jun 2001 08:01:38 +0000 (08:01 +0000)]
update from libc

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

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

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

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

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

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

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

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

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

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

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

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

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

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

23 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__.

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

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

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

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

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

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

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

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

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

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

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

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.