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