1 2000-02-28 Paul Eggert <eggert@twinsun.com>
3 * lib/quotearg.c (ALERT_CHAR): New macro.
4 (quotearg_buffer_restyled): Use it.
6 2000-02-27 Jim Meyering <meyering@lucent.com>
8 * strtoumax.c: Fix typo in decl of strtoul: s/long long/long/.
9 Guard declaration of strtoull also with `&& HAVE_UNSIGNED_LONG_LONG'.
11 * backupfile.c: Guard inclusion of stdlib.h with `#if HAVE_STDLIB_H',
12 not `#if STDC_HEADERS'.
13 Declare malloc if needed.
15 * backupfile.c: Use `#if !HAVE_DECL...' instead of `#ifndef HAVE_DECL..'
16 now that autoconf always defines the HAVE_DECL_ symbols.
19 * strtoumax.c: Likewise.
21 * backupfile.c: Arrange for cpp to fail if the configure-time
22 declaration check was not run.
26 * strtoumax.c: Likewise.
28 * userspec.c (parse_user_spec): If there is no `:' but there is a `.',
29 then first look up the entire `.'-containing string as a login name.
31 2000-02-18 Paul Eggert <eggert@twinsun.com>
33 * lib/getdate.y: Handle two-digit years with leading zeros correctly.
34 (textint): New typedef.
35 (parser_control): Member year changed from int to textint.
37 (YYSTYPE): Removed; replaced by %union with int and textint members.
38 (tDAY, tDAY_UNIT, tDAYZONE, tHOUR_UNIT, tID, tLOCAL_ZONE, tMERIDIAN,
39 tMINUTE_UNIT, tMONTH, tMONTH_UNIT tSEC_UNIT, tSNUMBER, tUNUMBER,
40 tYEAR_UNIT, tZONE, o_merid): Now of type <intval>.
41 (tSNUMBER, tUNUMBER): Now of type <textintval>.
42 (date, number, to_year): Use width of number in digits, not its value,
43 to determine whether it's a 2-digit year, or a 2-digit time.
44 (yylex): Store number of digits of numeric tokens.
45 Reported by John Kendall.
47 (parser_control): Changed from struct parser_control to typedef (for
48 consistency). All uses changed.
50 (tID): Removed; not used.
51 (yylex): Return '?' for unknown identifiers, rather than (unused) tID.
53 2000-02-14 Paul Eggert <eggert@twinsun.com>
55 * lib/getpagesize.h (getpagesize): Port to VMS for Alpha;
56 adapted from changes to grep getpagesize.h by Martin P.J. Zinser.
58 2000-02-12 Jim Meyering <meyering@lucent.com>
60 * userspec.c (ISDIGIT): Define it.
61 (isdigit): Remove definition.
62 (is_number): Use ISDIGIT, not isdigit.
65 (parse_user_spec): Mark translatable strings.
67 2000-02-10 Jim Meyering <meyering@lucent.com>
69 With these changes, nanosleep.[ch] are finally enough like the other
70 lib/* replacement files to compile on a few more losing systems.
72 * nanosleep.h: Don't include config.h.
73 Remove prototype from declaration of nanosleep.
74 (PARAMS): Remove now-unneeded definition.
75 * nanosleep.c: #undef nanosleep.
76 (rpl_nanosleep): Rename from nanosleep.
78 2000-02-03 Jim Meyering <meyering@lucent.com>
80 * readutmp.c (read_utmp): Guard with `#ifdef UTMP_NAME_FUNCTION',
81 rather than with `#if HAVE_UTMPNAME'.
83 2000-02-01 Jim Meyering <meyering@lucent.com>
85 * readutmp.h (UT_USER): Add parens. From Andreas Schwab.
87 2000-01-31 Jim Meyering <meyering@lucent.com>
89 * nanosleep.h (nanosleep): Guard declaration with
90 `#if ! HAVE_DECL_NANOSLEEP'.
91 Without this, OFS gets a redeclaration error for rpl_nanosleep, due to
92 the declaration in that vendor's sys/timers.h.
93 Reported by Christian Krackowizer.
95 * quotearg.c (ISASCII): Add #undef and move definition to follow
96 inclusion of wctype.h to work around solaris2.6 namespace pollution.
98 Reported by Tom Tromey.
100 2000-01-30 Jim Meyering <meyering@lucent.com>
102 * readutmp.c (extract_trimmed_name): Use UT_USER instead of hard-coding
103 uses of ->ut_name. The latter doesn't work with new Linux header files
104 where only utmpx.ut_user is declared.
106 * readutmp.h (UT_USER): Define.
108 2000-01-23 Jim Meyering <meyering@lucent.com>
110 * Makefile.am (libfetish_a_SOURCES): Remove explicit mention of
113 2000-01-22 Jim Meyering <meyering@lucent.com>
115 * strtoumax.c: [! HAVE_DECL_STRTOUL]: Declare strtoul.
116 [! HAVE_DECL_STRTOULL]: Declare strtoull.
117 Required for some AIX systems. Reported by Christian Krackowizer.
118 [TESTING] (main): New function.
120 1997-10-17 Eli Zaretskii <eliz@is.elta.co.il>
121 * dirname.c (dir_name): Support for DOS-style file names with drive
124 * quotearg.c [HAVE_WCTYPE_H]: Include <wctype.h> for decl of iswprint.
126 * strverscmp.c (ISDIGIT): Define.
127 (strverscmp): Use ISDIGIT, not isdigit.
129 2000-01-17 Paul Eggert <eggert@twinsun.com>
131 * nanosleep.c (nanosleep):
132 Don't use SA_INTERRUPT to decide whether to call sigaction, as
133 POSIX.1 doesn't require SA_INTERRUPT and some systems
134 (e.g. Solaris 7) don't define it. Use SA_NOCLDSTOP instead;
135 it's been part of POSIX.1 since day 1 (in 1988).
137 2000-01-17 Jim Meyering <meyering@lucent.com>
139 * interlock: Remove unused file. Reported by François Pinard.
141 2000-01-16 Paul Eggert <eggert@twinsun.com>
143 * lib/quotearg.c (quotearg_buffer_restyled): Do not quote
144 alert, backslash, formfeed, and vertical tab unnecessarily in
148 version-control: never