gnulib.git
24 years ago. FILEUTILS-4_0q
Jim Meyering [Sun, 27 Feb 2000 19:05:50 +0000 (19:05 +0000)]
.

24 years agoFix typo in decl of strtoul: s/long long/long/.
Jim Meyering [Sun, 27 Feb 2000 18:49:10 +0000 (18:49 +0000)]
Fix typo in decl of strtoul: s/long long/long/.
Guard declaration of strtoull also with `&& HAVE_UNSIGNED_LONG_LONG'.

24 years agoFix typo in decl of strtoul: s/long long/long/.
Jim Meyering [Sun, 27 Feb 2000 18:45:29 +0000 (18:45 +0000)]
Fix typo in decl of strtoul: s/long long/long/.

24 years ago*** empty log message ***
Jim Meyering [Sun, 27 Feb 2000 18:04:10 +0000 (18:04 +0000)]
*** empty log message ***

24 years agoGuard inclusion of stdlib.h with `#if HAVE_STDLIB_H', not `#if STDC_HEADERS'.
Jim Meyering [Sun, 27 Feb 2000 18:04:00 +0000 (18:04 +0000)]
Guard inclusion of stdlib.h with `#if HAVE_STDLIB_H', not `#if STDC_HEADERS'.
Declare malloc if needed.

24 years agouse double quotes, not single quotes around syntax-error-evoking string
Jim Meyering [Sun, 27 Feb 2000 17:54:25 +0000 (17:54 +0000)]
use double quotes, not single quotes around syntax-error-evoking string

24 years ago*** empty log message ***
Jim Meyering [Sun, 27 Feb 2000 17:53:36 +0000 (17:53 +0000)]
*** empty log message ***

24 years agoAdd getenv to the list.
Jim Meyering [Sun, 27 Feb 2000 17:53:31 +0000 (17:53 +0000)]
Add getenv to the list.

24 years ago*** empty log message ***
Jim Meyering [Sun, 27 Feb 2000 17:42:30 +0000 (17:42 +0000)]
*** empty log message ***

24 years agoArrange for cpp to fail if the configure-time
Jim Meyering [Sun, 27 Feb 2000 17:40:53 +0000 (17:40 +0000)]
Arrange for cpp to fail if the configure-time
declaration check was not run.

24 years agoUse `#if !HAVE_DECL...' instead of `#ifndef HAVE_DECL..'
Jim Meyering [Sun, 27 Feb 2000 17:39:52 +0000 (17:39 +0000)]
Use `#if !HAVE_DECL...' instead of `#ifndef HAVE_DECL..'
now that autoconf always defines the HAVE_DECL_ symbols.

Arrange for cpp to fail if the configure-time
declaration check was not run.

24 years agoPut cedilla on `c' in author's name.
Jim Meyering [Sun, 27 Feb 2000 13:58:12 +0000 (13:58 +0000)]
Put cedilla on `c' in author's name.

24 years ago*** empty log message ***
Jim Meyering [Sun, 27 Feb 2000 11:27:38 +0000 (11:27 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Sun, 27 Feb 2000 11:23:22 +0000 (11:23 +0000)]
.

24 years ago(parse_user_spec): If there is no `:' but there is a `.',
Jim Meyering [Sun, 27 Feb 2000 11:13:16 +0000 (11:13 +0000)]
(parse_user_spec): If there is no `:' but there is a `.',
then first look up the entire `.'-containing string as a login name.

24 years agowhoops. Add commas in parenthesized list of functions in call
Jim Meyering [Sat, 26 Feb 2000 21:28:10 +0000 (21:28 +0000)]
whoops.  Add commas in parenthesized list of functions in call
to AC_CHECK_DECLS.

24 years ago*** empty log message ***
Jim Meyering [Wed, 23 Feb 2000 15:24:57 +0000 (15:24 +0000)]
*** empty log message ***

24 years agoNow that we have the new AC_CHECK_DECLS, use it in place of my hack.
Jim Meyering [Wed, 23 Feb 2000 15:24:51 +0000 (15:24 +0000)]
Now that we have the new AC_CHECK_DECLS, use it in place of my hack.

24 years agoHandle two-digit years with leading zeros correctly.
Jim Meyering [Tue, 22 Feb 2000 20:16:07 +0000 (20:16 +0000)]
Handle two-digit years with leading zeros correctly.
(textint): New typedef.
(parser_control): Member year changed from int to textint.
All uses changed.
(YYSTYPE): Removed; replaced by %union with int and textint members.
(tDAY, tDAY_UNIT, tDAYZONE, tHOUR_UNIT, tID, tLOCAL_ZONE, tMERIDIAN,
tMINUTE_UNIT, tMONTH, tMONTH_UNIT tSEC_UNIT, tSNUMBER, tUNUMBER,
tYEAR_UNIT, tZONE, o_merid): Now of type <intval>.
(tSNUMBER, tUNUMBER): Now of type <textintval>.
(date, number, to_year): Use width of number in digits, not its value,
to determine whether it's a 2-digit year, or a 2-digit time.
(yylex): Store number of digits of numeric tokens.
Reported by John Kendall.

(parser_control): Changed from struct parser_control to typedef (for
consistency).  All uses changed.

(tID): Removed; not used.
(yylex): Return '?' for unknown identifiers, rather than (unused) tID.

24 years ago*** empty log message ***
Jim Meyering [Tue, 15 Feb 2000 13:08:08 +0000 (13:08 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Mon, 14 Feb 2000 23:27:25 +0000 (23:27 +0000)]
.

24 years agoadapted from changes to grep getpagesize.h
Jim Meyering [Mon, 14 Feb 2000 20:15:32 +0000 (20:15 +0000)]
adapted from changes to grep getpagesize.h
by Martin P.J. Zinser <zinser@decus.de>.

24 years ago* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
Stefan Monnier [Mon, 14 Feb 2000 17:00:16 +0000 (17:00 +0000)]
* regex.h (RE_SYNTAX_EMACS): Add RE_CHAR_CLASSES and RE_INTERVALS
to Emacs' syntax.  Also fix the comment about set/not-set meanings
since Emacs syntax is not the value 0 any more.
* search.c (compile_pattern_1): Remove RE_CHAR_CLASSES from the syntax
since it's now part of RE_SYNTAX_EMACS.

24 years ago*** empty log message ***
Jim Meyering [Sat, 12 Feb 2000 10:42:19 +0000 (10:42 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sat, 12 Feb 2000 10:41:48 +0000 (10:41 +0000)]
*** empty log message ***

24 years ago<libintl.h>: Include.
Jim Meyering [Sat, 12 Feb 2000 10:41:37 +0000 (10:41 +0000)]
<libintl.h>: Include.
(_ and N_): Define.
(parse_user_spec): Mark translatable strings.

24 years agoadd FIXME comments for use of atoi
Jim Meyering [Sat, 12 Feb 2000 10:11:54 +0000 (10:11 +0000)]
add FIXME comments for use of atoi

24 years ago(ISDIGIT): Define it.
Jim Meyering [Sat, 12 Feb 2000 10:10:40 +0000 (10:10 +0000)]
(ISDIGIT): Define it.
(isdigit): Remove definition.
(is_number): Use ISDIGIT, not isdigit.

24 years ago#undef nanosleep.
Jim Meyering [Thu, 10 Feb 2000 09:38:43 +0000 (09:38 +0000)]
#undef nanosleep.
(rpl_nanosleep): Rename from nanosleep.

24 years agoDon't include config.h.
Jim Meyering [Thu, 10 Feb 2000 09:38:31 +0000 (09:38 +0000)]
Don't include config.h.
Remove prototype from declaration of nanosleep.
(PARAMS): Remove now-unneeded definition.

24 years ago*** empty log message ***
Jim Meyering [Thu, 10 Feb 2000 09:34:03 +0000 (09:34 +0000)]
*** empty log message ***

24 years ago(jm_FUNC_NANOSLEEP): Rename replacement function from
Jim Meyering [Thu, 10 Feb 2000 09:33:52 +0000 (09:33 +0000)]
(jm_FUNC_NANOSLEEP): Rename replacement function from
gnu_nanosleep to rpl_nanosleep.

24 years ago*** empty log message ***
Jim Meyering [Wed, 9 Feb 2000 12:00:16 +0000 (12:00 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Wed, 9 Feb 2000 11:58:17 +0000 (11:58 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Wed, 9 Feb 2000 11:58:05 +0000 (11:58 +0000)]
*** empty log message ***

24 years ago(jm_LIB_CHECK): Fix typo: check for sp_pwdp in
Jim Meyering [Wed, 9 Feb 2000 11:57:55 +0000 (11:57 +0000)]
(jm_LIB_CHECK): Fix typo: check for sp_pwdp in
struct spwd, rather than in struct passwd.  Reported by G. Queri.

24 years agobump serial number
Jim Meyering [Tue, 8 Feb 2000 15:37:44 +0000 (15:37 +0000)]
bump serial number

24 years ago*** empty log message ***
Jim Meyering [Tue, 8 Feb 2000 15:33:45 +0000 (15:33 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Tue, 8 Feb 2000 15:33:32 +0000 (15:33 +0000)]
*** empty log message ***

24 years ago(AM_FUNC_GETLOADAVG): Remove now-unnecessary use of changequote.
Jim Meyering [Tue, 8 Feb 2000 15:32:39 +0000 (15:32 +0000)]
(AM_FUNC_GETLOADAVG): Remove now-unnecessary use of changequote.

24 years agobump #serial to 108
Jim Meyering [Tue, 8 Feb 2000 15:30:47 +0000 (15:30 +0000)]
bump #serial to 108

24 years ago(AM_GNU_GETTEXT): Quote square brackets with `[' and `]'
Jim Meyering [Tue, 8 Feb 2000 15:29:26 +0000 (15:29 +0000)]
(AM_GNU_GETTEXT): Quote square brackets with `[' and `]'
and remove uses of `changequote'.

24 years ago(AC_SYS_LARGEFILE_FLAGS): Quote square brackets with `[' and `]'
Jim Meyering [Tue, 8 Feb 2000 15:21:11 +0000 (15:21 +0000)]
(AC_SYS_LARGEFILE_FLAGS): Quote square brackets with `[' and `]'
and remove uses of `changequote'.

24 years ago(jm_AC_FUNC_MEMCMP): Remove now-unnecessary use of changequote.
Jim Meyering [Tue, 8 Feb 2000 15:16:42 +0000 (15:16 +0000)]
(jm_AC_FUNC_MEMCMP): Remove now-unnecessary use of changequote.
Add `int' for main.

24 years ago(jm_FUNC_READDIR): Remove now-unnecessary uses of changequote.
Jim Meyering [Tue, 8 Feb 2000 15:11:36 +0000 (15:11 +0000)]
(jm_FUNC_READDIR): Remove now-unnecessary uses of changequote.

24 years ago(jm_INCLUDED_REGEX): Remove now-unnecessary uses of changequote.
Jim Meyering [Tue, 8 Feb 2000 15:08:26 +0000 (15:08 +0000)]
(jm_INCLUDED_REGEX): Remove now-unnecessary uses of changequote.

24 years ago(jm_FUNC_GNU_STRFTIME): Remove now-unnecessary uses of changequote.
Jim Meyering [Tue, 8 Feb 2000 15:07:10 +0000 (15:07 +0000)]
(jm_FUNC_GNU_STRFTIME): Remove now-unnecessary uses of changequote.

24 years ago*** empty log message *** SH-UTILS-2_0f
Jim Meyering [Sat, 5 Feb 2000 09:54:33 +0000 (09:54 +0000)]
*** empty log message ***

24 years agobump serial number
Jim Meyering [Sat, 5 Feb 2000 08:16:53 +0000 (08:16 +0000)]
bump serial number

24 years ago*** empty log message ***
Jim Meyering [Sat, 5 Feb 2000 08:16:26 +0000 (08:16 +0000)]
*** empty log message ***

24 years ago(jm_CHECK_ALL_TYPES): Require most macros.
Jim Meyering [Sat, 5 Feb 2000 08:16:13 +0000 (08:16 +0000)]
(jm_CHECK_ALL_TYPES): Require most macros.
Remove explicit use of AC_HEADER_TIME.  It is required by
jm_CHECK_TYPE_STRUCT_TIMESPEC.  Using AC_HEADER_TIME and
`AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
in autoconf whereby the expansion of the latter ended up preceding
the expansion of its prerequisite, AC_HEADER_TIME.
Reported by Volker Borchert.

24 years ago.
Jim Meyering [Sat, 5 Feb 2000 08:10:05 +0000 (08:10 +0000)]
.

24 years ago(read_utmp): Guard with `#ifdef UTMP_NAME_FUNCTION',
Jim Meyering [Thu, 3 Feb 2000 12:20:59 +0000 (12:20 +0000)]
(read_utmp): Guard with `#ifdef UTMP_NAME_FUNCTION',
rather than with `#if HAVE_UTMPNAME'.

24 years ago*** empty log message ***
Jim Meyering [Thu, 3 Feb 2000 12:19:41 +0000 (12:19 +0000)]
*** empty log message ***

24 years ago(jm_PREREQ_READUTMP): Check for utmpxname.
Jim Meyering [Thu, 3 Feb 2000 12:19:05 +0000 (12:19 +0000)]
(jm_PREREQ_READUTMP): Check for utmpxname.

24 years ago*** empty log message ***
Jim Meyering [Wed, 2 Feb 2000 22:17:51 +0000 (22:17 +0000)]
*** empty log message ***

24 years ago(jm_PREREQ_ADDEXT): Fix typo that resulted in no
Jim Meyering [Wed, 2 Feb 2000 22:17:35 +0000 (22:17 +0000)]
(jm_PREREQ_ADDEXT): Fix typo that resulted in no
definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.

24 years ago(UT_USER): Add parens. From Andreas Schwab.
Jim Meyering [Tue, 1 Feb 2000 16:23:30 +0000 (16:23 +0000)]
(UT_USER): Add parens.  From Andreas Schwab.

24 years ago*** empty log message ***
Jim Meyering [Mon, 31 Jan 2000 22:42:59 +0000 (22:42 +0000)]
*** empty log message ***

24 years ago(jm_CHECK_DECLS): Add nanosleep to the list of
Jim Meyering [Mon, 31 Jan 2000 22:39:54 +0000 (22:39 +0000)]
(jm_CHECK_DECLS): Add nanosleep to the list of
functions.  Add the time.h and sys/time.h headers along with the
AC_REQUIRE'ment of AC_HEADER_TIME.

24 years ago(nanosleep): Guard declaration with `#if ! HAVE_DECL_NANOSLEEP'.
Jim Meyering [Mon, 31 Jan 2000 22:38:04 +0000 (22:38 +0000)]
(nanosleep): Guard declaration with `#if ! HAVE_DECL_NANOSLEEP'.

24 years agofix typo. sheesh
Jim Meyering [Mon, 31 Jan 2000 08:42:45 +0000 (08:42 +0000)]
fix typo.  sheesh

24 years ago*** empty log message ***
Jim Meyering [Mon, 31 Jan 2000 08:36:51 +0000 (08:36 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Mon, 31 Jan 2000 08:27:58 +0000 (08:27 +0000)]
*** empty log message ***

24 years ago(ISASCII): Add #undef and move definition to follow
Jim Meyering [Mon, 31 Jan 2000 08:27:51 +0000 (08:27 +0000)]
(ISASCII): Add #undef and move definition to follow
inclusion of wctype.h to work around solaris2.6 namespace pollution.
(ISPRINT): Likewise.

24 years agouse double parens on AC_CHECK_MEMBERS SH-UTILS-2_0e
Jim Meyering [Sun, 30 Jan 2000 21:19:00 +0000 (21:19 +0000)]
use double parens on AC_CHECK_MEMBERS

24 years ago*** empty log message ***
Jim Meyering [Sun, 30 Jan 2000 16:48:25 +0000 (16:48 +0000)]
*** empty log message ***

24 years agoClean up some kludgy old shadow password tests.
Jim Meyering [Sun, 30 Jan 2000 16:48:19 +0000 (16:48 +0000)]
Clean up some kludgy old shadow password tests.

24 years ago(utmp_includes): Define.
Jim Meyering [Sun, 30 Jan 2000 16:47:31 +0000 (16:47 +0000)]
(utmp_includes): Define.
Check for ut_user and ut_name members in both struct utmpx
and struct utmp.

24 years agoredo it on per-header basis
Jim Meyering [Sun, 30 Jan 2000 16:45:17 +0000 (16:45 +0000)]
redo it on per-header basis

24 years ago*** empty log message ***
Jim Meyering [Sun, 30 Jan 2000 16:41:30 +0000 (16:41 +0000)]
*** empty log message ***

24 years ago(extract_trimmed_name): Use UT_USER instead of hard-coding
Jim Meyering [Sun, 30 Jan 2000 16:41:25 +0000 (16:41 +0000)]
(extract_trimmed_name): Use UT_USER instead of hard-coding
uses of ->ut_name.  The latter doesn't work with new Linux header files
where only utmpx.ut_user is declared.

24 years ago(UT_USER): Define. Accessor macro for the member named ut_user or ut_name.
Jim Meyering [Sun, 30 Jan 2000 16:39:08 +0000 (16:39 +0000)]
(UT_USER): Define.  Accessor macro for the member named ut_user or ut_name.

24 years agowhoops: s/jm_MACROS/jm_LIB_CHECK/
Jim Meyering [Sat, 29 Jan 2000 17:05:03 +0000 (17:05 +0000)]
whoops: s/jm_MACROS/jm_LIB_CHECK/

24 years ago*** empty log message ***
Jim Meyering [Sat, 29 Jan 2000 17:00:03 +0000 (17:00 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Sat, 29 Jan 2000 16:59:09 +0000 (16:59 +0000)]
.

24 years agoNew file containing library-related checks from
Jim Meyering [Sat, 29 Jan 2000 14:11:35 +0000 (14:11 +0000)]
New file containing library-related checks from
fileutils and sh-utils (textutils had none).

24 years ago*** empty log message ***
Jim Meyering [Fri, 28 Jan 2000 22:04:47 +0000 (22:04 +0000)]
*** empty log message ***

24 years agoChange format of warning message to look more like that
Jim Meyering [Fri, 28 Jan 2000 22:04:41 +0000 (22:04 +0000)]
Change format of warning message to look more like that
from the missing script.  Suggestion from François Pinard.

24 years agoLost version containing non-greedy changes from Emacs.
Gerd Moellmann [Thu, 27 Jan 2000 11:40:40 +0000 (11:40 +0000)]
Lost version containing non-greedy changes from Emacs.

24 years ago*** empty log message ***
Jim Meyering [Tue, 25 Jan 2000 07:26:20 +0000 (07:26 +0000)]
*** empty log message ***

24 years agoRequire AC_HEADER_TIME, and include sys/time.h as well
Jim Meyering [Tue, 25 Jan 2000 07:26:14 +0000 (07:26 +0000)]
Require AC_HEADER_TIME, and include sys/time.h as well
as time.h in the compile check.

24 years agobump serial
Jim Meyering [Tue, 25 Jan 2000 07:25:49 +0000 (07:25 +0000)]
bump serial

24 years agoFix typo in cross-compiling case: s/yes/no/.
Jim Meyering [Tue, 25 Jan 2000 07:25:38 +0000 (07:25 +0000)]
Fix typo in cross-compiling case: s/yes/no/.

24 years agoRequire AC_HEADER_TIME rather than simply using it.
Jim Meyering [Tue, 25 Jan 2000 07:21:57 +0000 (07:21 +0000)]
Require AC_HEADER_TIME rather than simply using it.

24 years ago.
Jim Meyering [Tue, 25 Jan 2000 07:20:58 +0000 (07:20 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Sun, 23 Jan 2000 16:25:44 +0000 (16:25 +0000)]
*** empty log message ***

24 years agoMove df-related tests here from fileutils/configure.in
Jim Meyering [Sun, 23 Jan 2000 16:23:50 +0000 (16:23 +0000)]
Move df-related tests here from fileutils/configure.in

24 years ago.
Jim Meyering [Sun, 23 Jan 2000 16:20:48 +0000 (16:20 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Sun, 23 Jan 2000 16:20:34 +0000 (16:20 +0000)]
*** empty log message ***

24 years agos/list_mounted_fs/ac_list_mounted_fs/
Jim Meyering [Sun, 23 Jan 2000 16:20:21 +0000 (16:20 +0000)]
s/list_mounted_fs/ac_list_mounted_fs/
(jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.

24 years ago(jm_FILE_SYSTEM_USAGE): Take two parameters.
Jim Meyering [Sun, 23 Jan 2000 14:49:09 +0000 (14:49 +0000)]
(jm_FILE_SYSTEM_USAGE): Take two parameters.

24 years agos/space/ac_fsusage_space/.
Jim Meyering [Sun, 23 Jan 2000 14:12:45 +0000 (14:12 +0000)]
s/space/ac_fsusage_space/.

24 years agoExtracted from fileutils/configure.in.
Jim Meyering [Sun, 23 Jan 2000 14:08:35 +0000 (14:08 +0000)]
Extracted from fileutils/configure.in.

24 years ago.
Jim Meyering [Sun, 23 Jan 2000 14:01:32 +0000 (14:01 +0000)]
.

24 years ago(jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
Jim Meyering [Sun, 23 Jan 2000 10:55:10 +0000 (10:55 +0000)]
(jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.

24 years ago(jm_FUNC_FTRUNCATE): AC_REQUIRE it.
Jim Meyering [Sun, 23 Jan 2000 10:34:42 +0000 (10:34 +0000)]
(jm_FUNC_FTRUNCATE): AC_REQUIRE it.

24 years ago*** empty log message ***
Jim Meyering [Sun, 23 Jan 2000 10:34:04 +0000 (10:34 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Sun, 23 Jan 2000 10:23:26 +0000 (10:23 +0000)]
*** empty log message ***

24 years ago(AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
Jim Meyering [Sun, 23 Jan 2000 10:23:23 +0000 (10:23 +0000)]
(AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.