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