Commit Graph

1343 Commits

Author SHA1 Message Date
Jim Meyering 625a560403 . 2000-01-22 09:44:23 +00:00
Jim Meyering f3a2399998 *** empty log message *** 2000-01-22 09:43:37 +00:00
Jim Meyering fc32116042 (ISDIGIT): Define.
(strverscmp): Use ISDIGIT, not isdigit.
2000-01-22 09:43:23 +00:00
Jim Meyering 1fe0bff2f4 *** empty log message *** 2000-01-18 07:26:07 +00:00
Jim Meyering c829e00d78 (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).
2000-01-18 07:25:53 +00:00
Jim Meyering 95b4ba5e0d *** empty log message *** 2000-01-17 22:37:32 +00:00
Jim Meyering f106184dd2 . 2000-01-17 22:36:01 +00:00
Jim Meyering 4d034357da (quotearg_buffer_restyled): Do not quote
alert, backslash, formfeed, and vertical tab unnecessarily in
shell quoting style.
2000-01-17 08:01:40 +00:00
Jim Meyering ea51a6cbaa *** empty log message *** 2000-01-17 08:01:30 +00:00
Jim Meyering e9296ad49f Sync with sh-utils/lib/Makefile.am. 2000-01-16 22:15:32 +00:00
Jim Meyering ccd763bee2 alphabetize a little 2000-01-16 20:15:58 +00:00
Jim Meyering 11d24c8713 . 2000-01-16 13:08:07 +00:00
Jim Meyering 5fae922bab 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.
2000-01-16 12:35:49 +00:00
Jim Meyering c3f357adf5 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.
2000-01-15 11:57:11 +00:00
Jim Meyering 551ab8474b (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.
2000-01-12 06:49:59 +00:00
Jim Meyering 12d6e4b1cd Update copyright notice. 2000-01-12 06:46:46 +00:00
Jim Meyering 0d47b4be52 Sync to the slightly more general version of GNU tar. 2000-01-12 06:37:30 +00:00
Jim Meyering 1c4c285999 (memcpy): Protoize. 2000-01-11 14:05:28 +00:00
Jim Meyering 1b84791bc8 s/fu/fetish/ 2000-01-11 08:43:16 +00:00
Jim Meyering 126e14b161 (hash_initialize): Fix typo in comment. 2000-01-11 07:48:23 +00:00
Jim Meyering f488edddf7 . 2000-01-10 09:21:14 +00:00
Jim Meyering 6f06aad852 (noinst_HEADERS): Add nanosleep.h. 2000-01-10 07:31:14 +00:00
Jim Meyering fee7991cbc remove stray define before _LIBC 2000-01-08 17:53:35 +00:00
Jim Meyering 58edea6508 (error): Use __strerror_r's return value only if HAVE_WORKING_STRERROR_R.
(error_at_line): Likewise.
2000-01-08 16:44:19 +00:00
Jim Meyering 5693e5c586 Sync with the GNU C library. 2000-01-07 14:29:26 +00:00
Jim Meyering 923a32a0a8 tweak comment 2000-01-07 09:18:15 +00:00
Jim Meyering aac32d403c add copyright/no-warranty comment 2000-01-07 07:33:19 +00:00
Jim Meyering 8606b093e4 *** empty log message *** 2000-01-07 07:31:03 +00:00
Jim Meyering 4e4c0e24d5 tweak copyright line 2000-01-07 07:03:01 +00:00
Jim Meyering 76bc7db5e2 (strpbrk): Ansideclify.
Use `#if' instead of `#ifdef' for `HAVE_CONFIG_H'.
2000-01-07 07:01:45 +00:00
Jim Meyering fd3e041f5b 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 Franois Pinard.
2000-01-07 06:59:36 +00:00
Jim Meyering f8c6ea241d Sync with the GNU C Library. 2000-01-06 21:31:48 +00:00
Jim Meyering 6784d83a62 Add #pragma STDC FENV_ACCESS ON if C99. 2000-01-06 21:01:06 +00:00
Jim Meyering 2f8c0d5542 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.
2000-01-06 18:25:03 +00:00
Jim Meyering 7f1c659ce3 whoops. fix typos 2000-01-05 12:06:39 +00:00
Jim Meyering ec266f43d5 Include nanosleep.h.
Don't include time.h or sys/time.h here.
2000-01-05 12:03:53 +00:00
Jim Meyering 1885aeaaa4 *** empty log message *** 2000-01-05 12:03:06 +00:00
Jim Meyering a2bee2bc6f (savedir): Don't store past the end of an array if
name_size is zero and the directory is empty.
2000-01-04 22:54:54 +00:00
Jim Meyering c5ed5e05ea . 2000-01-02 09:11:55 +00:00
Jim Meyering 05fcf7df27 (my_strftime): Some old compilers object to
'\a', so don't bother optimizing for it.
2000-01-02 07:09:54 +00:00
Jim Meyering dc33452012 *** empty log message *** 1999-12-27 14:17:39 +00:00
Jim Meyering f71e656070 *** empty log message *** 1999-12-26 10:19:40 +00:00
Jim Meyering 34c6851c4a *** empty log message *** 1999-12-26 10:16:18 +00:00
Jim Meyering 2dc33d421e *** empty log message *** 1999-12-26 09:40:16 +00:00
Jim Meyering 0ac76a646b *** empty log message *** 1999-12-25 22:15:23 +00:00
Jim Meyering 1206a834dd rewrite expression (equivalently) at request of Paul Eggert 1999-12-22 20:49:19 +00:00
Jim Meyering aa07786952 (get_date): Fix typo in time_t overflow test.
From Michael Stone.
1999-12-22 11:14:05 +00:00
Jim Meyering b04f00f3d4 (lstat.c): Adapt rule to handle new parts of xstat.in.
(lstat.c): Likewise.
1999-12-19 10:46:19 +00:00
Jim Meyering 036b3bdae7 (slash_aware_lstat): New function.
(rpl_@xstat@): Use it.
1999-12-19 10:45:50 +00:00
Jim Meyering 0d9e008da2 . 1999-12-19 10:25:06 +00:00