gnulib.git
24 years ago(dir_name): Support for DOS-style file names with drive letters.
Jim Meyering [Sat, 22 Jan 2000 21:29:02 +0000 (21:29 +0000)]
(dir_name): Support for DOS-style file names with drive letters.

24 years agotack on the one from fileutils/lib
Jim Meyering [Sat, 22 Jan 2000 18:03:21 +0000 (18:03 +0000)]
tack on the one from fileutils/lib

24 years ago.
Jim Meyering [Sat, 22 Jan 2000 14:27:13 +0000 (14:27 +0000)]
.

24 years agoRemove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
Jim Meyering [Sat, 22 Jan 2000 14:24:50 +0000 (14:24 +0000)]
Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.

24 years ago(_jm_DECL_HEADERS): Define new function.
Jim Meyering [Sat, 22 Jan 2000 14:22:42 +0000 (14:22 +0000)]
(_jm_DECL_HEADERS): Define new function.
(jm_CHECK_DECLARATIONS): Require it.

24 years agoRevert to using #if HAVE_STDLIB_H
Jim Meyering [Sat, 22 Jan 2000 14:07:23 +0000 (14:07 +0000)]
Revert to using #if HAVE_STDLIB_H
to guard inclusion of <stdlib.h>.

24 years agoGuard inclusion of <stdlib.h> with `#if STDC_HEADERS',
Jim Meyering [Sat, 22 Jan 2000 13:53:10 +0000 (13:53 +0000)]
Guard inclusion of <stdlib.h> with `#if STDC_HEADERS',
not `#if HAVE_STDLIB_H'.  The former wasn't defined.
Use #if rather than #ifdef.

Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
(jm_CHECK_DECLARATIONS): Add strtoul strtoull.

24 years ago.
Jim Meyering [Sat, 22 Jan 2000 09:44:23 +0000 (09:44 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Sat, 22 Jan 2000 09:43:37 +0000 (09:43 +0000)]
*** empty log message ***

24 years ago(ISDIGIT): Define.
Jim Meyering [Sat, 22 Jan 2000 09:43:23 +0000 (09:43 +0000)]
(ISDIGIT): Define.
(strverscmp): Use ISDIGIT, not isdigit.

24 years ago*** empty log message ***
Jim Meyering [Wed, 19 Jan 2000 20:41:06 +0000 (20:41 +0000)]
*** empty log message ***

24 years ago(jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
Jim Meyering [Wed, 19 Jan 2000 20:40:51 +0000 (20:40 +0000)]
(jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
Use AC_HEADER_TIME.  Volker Borchert reported that OpenBSD-2.3/sparc
defines `struct timespec' in <sys/time.h>

24 years ago*** empty log message ***
Jim Meyering [Wed, 19 Jan 2000 14:01:03 +0000 (14:01 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Meyering [Wed, 19 Jan 2000 13:57:51 +0000 (13:57 +0000)]
*** empty log message ***

24 years agoRemove uses of changequote altogether.
Jim Meyering [Wed, 19 Jan 2000 13:57:42 +0000 (13:57 +0000)]
Remove uses of changequote altogether.

24 years ago.
Jim Meyering [Wed, 19 Jan 2000 08:17:47 +0000 (08:17 +0000)]
.

24 years ago.
Jim Meyering [Wed, 19 Jan 2000 08:17:16 +0000 (08:17 +0000)]
.

24 years ago.
Jim Meyering [Wed, 19 Jan 2000 07:56:52 +0000 (07:56 +0000)]
.

24 years ago(re_compile_fastmap): While checking a range table for
Richard Stallman [Tue, 18 Jan 2000 20:11:41 +0000 (20:11 +0000)]
(re_compile_fastmap): While checking a range table for
`charset', skip flag bits for a character class correctly.

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

24 years ago(nanosleep):
Jim Meyering [Tue, 18 Jan 2000 07:25:53 +0000 (07:25 +0000)]
(nanosleep):
Don't use SA_INTERRUPT to decide whether to call sigaction, as
POSIX.1 doesn't require SA_INTERRUPT and some systems
(e.g. Solaris 7) don't define it.  Use SA_NOCLDSTOP instead;
it's been part of POSIX.1 since day 1 (in 1988).

24 years ago*** empty log message ***
Jim Meyering [Mon, 17 Jan 2000 22:37:32 +0000 (22:37 +0000)]
*** empty log message ***

24 years ago.
Jim Meyering [Mon, 17 Jan 2000 22:36:01 +0000 (22:36 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Mon, 17 Jan 2000 10:00:37 +0000 (10:00 +0000)]
*** empty log message ***

24 years agofix typo
Jim Meyering [Mon, 17 Jan 2000 10:00:30 +0000 (10:00 +0000)]
fix typo

24 years agoRevert this change (they're not the same):
Jim Meyering [Mon, 17 Jan 2000 10:00:19 +0000 (10:00 +0000)]
Revert this change (they're not the same):
  Use new AC_C_PROTOTYPES instead of AM_C_PROTOTYPES.

24 years ago(quotearg_buffer_restyled): Do not quote
Jim Meyering [Mon, 17 Jan 2000 08:01:40 +0000 (08:01 +0000)]
(quotearg_buffer_restyled): Do not quote
alert, backslash, formfeed, and vertical tab unnecessarily in
shell quoting style.

24 years ago*** empty log message ***
Jim Meyering [Mon, 17 Jan 2000 08:01:30 +0000 (08:01 +0000)]
*** empty log message ***

24 years agoSync with sh-utils/lib/Makefile.am.
Jim Meyering [Sun, 16 Jan 2000 22:15:32 +0000 (22:15 +0000)]
Sync with sh-utils/lib/Makefile.am.

24 years agoalphabetize a little
Jim Meyering [Sun, 16 Jan 2000 20:15:58 +0000 (20:15 +0000)]
alphabetize a little

24 years agoRemove these for now (they're with related code in sh-utils' configure.in)
Jim Meyering [Sun, 16 Jan 2000 16:48:57 +0000 (16:48 +0000)]
Remove these for now (they're with related code in sh-utils' configure.in)
  AM_SYS_POSIX_TERMIOS
  jm_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL

24 years agoRequire AM_FUNC_GETLOADAVG, jm_SYS_PROC_UPTIME, AM_SYS_POSIX_TERMIOS, and
Jim Meyering [Sun, 16 Jan 2000 16:42:24 +0000 (16:42 +0000)]
Require AM_FUNC_GETLOADAVG, jm_SYS_PROC_UPTIME, AM_SYS_POSIX_TERMIOS, and
jm_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL.

24 years agoRequire jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
Jim Meyering [Sun, 16 Jan 2000 16:39:20 +0000 (16:39 +0000)]
Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, and AC_FUNC_ALLOCA.

24 years ago.
Jim Meyering [Sun, 16 Jan 2000 13:08:07 +0000 (13:08 +0000)]
.

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

24 years agoUse `changequote(<<,>>)', rather than `changequote(, )'
Jim Meyering [Sun, 16 Jan 2000 12:59:00 +0000 (12:59 +0000)]
Use `changequote(<<,>>)', rather than `changequote(, )'
because the latter didn't work.

24 years ago.
Jim Meyering [Sun, 16 Jan 2000 12:40:26 +0000 (12:40 +0000)]
.

24 years agoUse new AC_C_PROTOTYPES instead of AM_C_PROTOTYPES.
Jim Meyering [Sun, 16 Jan 2000 12:39:31 +0000 (12:39 +0000)]
Use new AC_C_PROTOTYPES instead of AM_C_PROTOTYPES.

24 years agoSync with the version from emacs-20.5.
Jim Meyering [Sun, 16 Jan 2000 12:35:49 +0000 (12:35 +0000)]
Sync with the version from emacs-20.5.
(<string.h>): Include if HAVE_STRING_H.
(<stdlib.h>): Include if HAVE_STDLIB_H.
(alloca): Abort if malloc fails.

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

24 years ago.
Jim Meyering [Sat, 15 Jan 2000 15:58:54 +0000 (15:58 +0000)]
.

24 years agosheesh: fix it right this time: gethostname getusershell
Jim Meyering [Sat, 15 Jan 2000 13:57:04 +0000 (13:57 +0000)]
sheesh: fix it right this time: gethostname getusershell

24 years agoFix typo
Jim Meyering [Sat, 15 Jan 2000 12:13:13 +0000 (12:13 +0000)]
Fix typo
s/stpbrk/strpbrk

24 years ago(AC_REPLACE_FUNCS):
Jim Meyering [Sat, 15 Jan 2000 12:07:53 +0000 (12:07 +0000)]
(AC_REPLACE_FUNCS):
Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.

24 years ago(AC_REPLACE_FUNCS): Add strpbrk.
Jim Meyering [Sat, 15 Jan 2000 12:02:58 +0000 (12:02 +0000)]
(AC_REPLACE_FUNCS): Add strpbrk.

24 years ago*** empty log message ***
Jim Meyering [Sat, 15 Jan 2000 12:00:20 +0000 (12:00 +0000)]
*** empty log message ***

24 years ago(AC_REPLACE_FUNCS):
Jim Meyering [Sat, 15 Jan 2000 11:59:15 +0000 (11:59 +0000)]
(AC_REPLACE_FUNCS):
Add these, too: stime strcspn stpcpy strstr strtol strtoul.

24 years agoQuote multibyte characters correctly.
Jim Meyering [Sat, 15 Jan 2000 11:57:11 +0000 (11:57 +0000)]
Quote multibyte characters correctly.

(ISGRAPH): Remove.
(ISPRINT): New macro.
(<wchar.h>): Include if HAVE_MBRTOWC && HAVE_WCHAR_H.
(isprint, mbrtowc, mbsinit, mbstate_t): New macros,
defined if ! (HAVE_MBRTOWC && HAVE_WCHAR_H).
(quotearg_buffer_restyled): New function, with most of the old
quotearg_buffer's contents.
Major rewrite to support multibyte characters.
(quotearg_buffer): Now just calls quotearg_buffer_restyled.

24 years agofix typo in last change
Jim Meyering [Sat, 15 Jan 2000 11:48:10 +0000 (11:48 +0000)]
fix typo in last change

24 years ago(AC_REPLACE_FUNCS): Add memcpy and memset.
Jim Meyering [Sat, 15 Jan 2000 11:47:12 +0000 (11:47 +0000)]
(AC_REPLACE_FUNCS): Add memcpy and memset.

24 years ago*** empty log message ***
Jim Meyering [Sat, 15 Jan 2000 11:45:52 +0000 (11:45 +0000)]
*** empty log message ***

24 years ago(AC_REPLACE_FUNCS): Add gethostname and getusershell
Jim Meyering [Sat, 15 Jan 2000 11:41:08 +0000 (11:41 +0000)]
(AC_REPLACE_FUNCS): Add gethostname and getusershell

24 years agotweak comment
Jim Meyering [Sat, 15 Jan 2000 07:07:41 +0000 (07:07 +0000)]
tweak comment

24 years ago*** empty log message ***
Jim Meyering [Wed, 12 Jan 2000 08:17:41 +0000 (08:17 +0000)]
*** empty log message ***

24 years ago(jm_PREREQ_READUTMP): New macro.
Jim Meyering [Wed, 12 Jan 2000 08:17:30 +0000 (08:17 +0000)]
(jm_PREREQ_READUTMP): New macro.
(jm_PREREQ): Use it.

24 years ago*** empty log message ***
Jim Meyering [Wed, 12 Jan 2000 08:07:29 +0000 (08:07 +0000)]
*** empty log message ***

24 years ago(jm_PREREQ_CANON_HOST): Move code from su/configure.in.
Jim Meyering [Wed, 12 Jan 2000 08:06:27 +0000 (08:06 +0000)]
(jm_PREREQ_CANON_HOST): Move code from su/configure.in.

24 years ago(jm_PREREQ_CANON_HOST): New macro.
Jim Meyering [Wed, 12 Jan 2000 07:58:22 +0000 (07:58 +0000)]
(jm_PREREQ_CANON_HOST): New macro.
(jm_PREREQ): Use it.

24 years ago*** empty log message ***
Jim Meyering [Wed, 12 Jan 2000 06:56:54 +0000 (06:56 +0000)]
*** empty log message ***

24 years ago(jm_PREREQ_QUOTEARG): New macro.
Jim Meyering [Wed, 12 Jan 2000 06:53:32 +0000 (06:53 +0000)]
(jm_PREREQ_QUOTEARG): New macro.
(jm_PREREQ): Use it.

24 years ago(mode_compile): Use uintmax_t, not unsigned
Jim Meyering [Wed, 12 Jan 2000 06:49:59 +0000 (06:49 +0000)]
(mode_compile): Use uintmax_t, not unsigned
long, to parse numeric modes.  Check for any unknown bits, not
just unknown bits left of the leftmost known bit.

24 years agoUpdate copyright notice.
Jim Meyering [Wed, 12 Jan 2000 06:46:46 +0000 (06:46 +0000)]
Update copyright notice.

24 years agoPort to autoconf 2.13.
Jim Meyering [Wed, 12 Jan 2000 06:40:10 +0000 (06:40 +0000)]
Port to autoconf 2.13.

24 years agoSync to the slightly more general version of GNU tar.
Jim Meyering [Wed, 12 Jan 2000 06:37:30 +0000 (06:37 +0000)]
Sync to the slightly more general version of GNU tar.

24 years ago(memcpy): Protoize.
Jim Meyering [Tue, 11 Jan 2000 14:05:28 +0000 (14:05 +0000)]
(memcpy): Protoize.

24 years agos/fu/fetish/
Jim Meyering [Tue, 11 Jan 2000 08:43:16 +0000 (08:43 +0000)]
s/fu/fetish/

24 years ago(hash_initialize): Fix typo in comment.
Jim Meyering [Tue, 11 Jan 2000 07:48:23 +0000 (07:48 +0000)]
(hash_initialize): Fix typo in comment.

24 years ago. SH-UTILS-2_0d
Jim Meyering [Tue, 11 Jan 2000 07:28:22 +0000 (07:28 +0000)]
.

24 years ago. TEXTUTILS-2_0c
Jim Meyering [Mon, 10 Jan 2000 09:20:49 +0000 (09:20 +0000)]
.

24 years ago(noinst_HEADERS): Add nanosleep.h.
Jim Meyering [Mon, 10 Jan 2000 07:31:14 +0000 (07:31 +0000)]
(noinst_HEADERS): Add nanosleep.h.

24 years agoremove stray define before _LIBC SH-UTILS-2_0c
Jim Meyering [Sat, 8 Jan 2000 17:53:35 +0000 (17:53 +0000)]
remove stray define before _LIBC

24 years ago*** empty log message ***
Jim Meyering [Sat, 8 Jan 2000 17:53:21 +0000 (17:53 +0000)]
*** empty log message ***

24 years ago(error): Use __strerror_r's return value only if HAVE_WORKING_STRERROR_R.
Jim Meyering [Sat, 8 Jan 2000 16:44:19 +0000 (16:44 +0000)]
(error): Use __strerror_r's return value only if HAVE_WORKING_STRERROR_R.
(error_at_line): Likewise.

24 years ago.
Jim Meyering [Sat, 8 Jan 2000 16:32:02 +0000 (16:32 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Sat, 8 Jan 2000 16:31:29 +0000 (16:31 +0000)]
*** empty log message ***

24 years ago(jm_FUNC_STRERROR_R): New file/macro.
Jim Meyering [Sat, 8 Jan 2000 16:30:49 +0000 (16:30 +0000)]
(jm_FUNC_STRERROR_R): New file/macro.

24 years ago(jm_FUNC_STRERROR_R): Require it.
Jim Meyering [Sat, 8 Jan 2000 16:25:57 +0000 (16:25 +0000)]
(jm_FUNC_STRERROR_R): Require it.

24 years agoSync with the GNU C library.
Jim Meyering [Fri, 7 Jan 2000 14:29:26 +0000 (14:29 +0000)]
Sync with the GNU C library.

24 years agotweak comment
Jim Meyering [Fri, 7 Jan 2000 09:18:15 +0000 (09:18 +0000)]
tweak comment

24 years agoadd copyright/no-warranty comment
Jim Meyering [Fri, 7 Jan 2000 07:33:19 +0000 (07:33 +0000)]
add copyright/no-warranty comment

24 years ago*** empty log message ***
Jim Meyering [Fri, 7 Jan 2000 07:31:03 +0000 (07:31 +0000)]
*** empty log message ***

24 years agotweak copyright line
Jim Meyering [Fri, 7 Jan 2000 07:03:01 +0000 (07:03 +0000)]
tweak copyright line

24 years ago(strpbrk): Ansideclify.
Jim Meyering [Fri, 7 Jan 2000 07:01:45 +0000 (07:01 +0000)]
(strpbrk): Ansideclify.
Use `#if' instead of `#ifdef' for `HAVE_CONFIG_H'.

24 years agoUse `#if' instead of `#ifdef' for `HAVE_CONFIG_H'.
Jim Meyering [Fri, 7 Jan 2000 06:59:36 +0000 (06:59 +0000)]
Use `#if' instead of `#ifdef' for `HAVE_CONFIG_H'.
Capitalize all macro parameters.
(memcasecmp): Ansideclify.
Don't cast away `const'ness of parameters.
Suggestions from François Pinard.

24 years ago.
Jim Meyering [Thu, 6 Jan 2000 23:11:55 +0000 (23:11 +0000)]
.

24 years ago.
Jim Meyering [Thu, 6 Jan 2000 23:10:51 +0000 (23:10 +0000)]
.

24 years ago.
Jim Meyering [Thu, 6 Jan 2000 22:40:59 +0000 (22:40 +0000)]
.

24 years ago*** empty log message ***
Jim Meyering [Thu, 6 Jan 2000 21:39:58 +0000 (21:39 +0000)]
*** empty log message ***

24 years agoUse jm_CHECK_TYPE_STRUCT_UTIMBUF, renamed from jm_STRUCT_UTIMBUF.
Jim Meyering [Thu, 6 Jan 2000 21:39:28 +0000 (21:39 +0000)]
Use jm_CHECK_TYPE_STRUCT_UTIMBUF, renamed from jm_STRUCT_UTIMBUF.

24 years agoSync with the GNU C Library.
Jim Meyering [Thu, 6 Jan 2000 21:31:48 +0000 (21:31 +0000)]
Sync with the GNU C Library.

24 years agoAdd #pragma STDC FENV_ACCESS ON if C99.
Jim Meyering [Thu, 6 Jan 2000 21:01:06 +0000 (21:01 +0000)]
Add #pragma STDC FENV_ACCESS ON if C99.

24 years agoSync tm_diff with the GNU C Library.
Jim Meyering [Thu, 6 Jan 2000 18:25:03 +0000 (18:25 +0000)]
Sync tm_diff with the GNU C Library.
(TM_YEAR_BASE): Renamed from TM_YEAR_ORIGIN.  All uses changed.
(tm_diff): Renamed from difftm.  All uses changed.
Replace body with that taken from GNU C Library 2.1.3pre1.
(get_date): Prefer tm_gmtoff to tm_diff if available.

24 years ago.
Jim Meyering [Wed, 5 Jan 2000 12:19:04 +0000 (12:19 +0000)]
.

24 years agowhoops. fix typos
Jim Meyering [Wed, 5 Jan 2000 12:06:39 +0000 (12:06 +0000)]
whoops.  fix typos

24 years agoInclude nanosleep.h.
Jim Meyering [Wed, 5 Jan 2000 12:03:53 +0000 (12:03 +0000)]
Include nanosleep.h.
Don't include time.h or sys/time.h here.

24 years ago*** empty log message ***
Jim Meyering [Wed, 5 Jan 2000 12:03:06 +0000 (12:03 +0000)]
*** empty log message ***

24 years ago(savedir): Don't store past the end of an array if
Jim Meyering [Tue, 4 Jan 2000 22:54:54 +0000 (22:54 +0000)]
(savedir): Don't store past the end of an array if
name_size is zero and the directory is empty.

24 years agoReflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
Jim Meyering [Tue, 4 Jan 2000 17:18:05 +0000 (17:18 +0000)]
Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.

24 years agobump serial #
Jim Meyering [Tue, 4 Jan 2000 17:16:48 +0000 (17:16 +0000)]
bump serial #

24 years ago(jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from jm_STRUCT_DIRENT_D_TYPE.
Jim Meyering [Tue, 4 Jan 2000 17:16:26 +0000 (17:16 +0000)]
(jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from jm_STRUCT_DIRENT_D_TYPE.