13037fb022017462c59c11d56b43b48a9cc0aafb
[gnulib.git] / lib / ChangeLog
1 2000-02-27  Jim Meyering  <meyering@lucent.com>
2
3         * backupfile.c: Use `#if !HAVE_DECL...' instead of `#ifndef HAVE_DECL..'
4         now that autoconf always defines the HAVE_DECL_ symbols.
5         * human.c: Likewise.
6         * same.c: Likewise.
7         * strtoumax.c: Likewise.
8
9         * backupfile.c: Arrange for cpp to fail if the configure-time
10         declaration check was not run.
11         * hash.c: Likewise.
12         * human.c: Likewise.
13         * same.c: Likewise.
14         * strtoumax.c: Likewise.
15
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.
18
19 2000-02-18  Paul Eggert  <eggert@twinsun.com>
20
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.
24         All uses changed.
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.
34
35         (parser_control): Changed from struct parser_control to typedef (for
36         consistency).  All uses changed.
37
38         (tID): Removed; not used.
39         (yylex): Return '?' for unknown identifiers, rather than (unused) tID.
40
41 2000-02-14  Paul Eggert  <eggert@twinsun.com>
42
43         * lib/getpagesize.h (getpagesize): Port to VMS for Alpha;
44         adapted from changes to grep getpagesize.h by Martin P.J. Zinser.
45
46 2000-02-12  Jim Meyering  <meyering@lucent.com>
47
48         * userspec.c (ISDIGIT): Define it.
49         (isdigit): Remove definition.
50         (is_number): Use ISDIGIT, not isdigit.
51         <libintl.h>: Include.
52         (_ and N_): Define.
53         (parse_user_spec): Mark translatable strings.
54
55 2000-02-10  Jim Meyering  <meyering@lucent.com>
56
57         With these changes, nanosleep.[ch] are finally enough like the other
58         lib/* replacement files to compile on a few more losing systems.
59
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.
65
66 2000-02-03  Jim Meyering  <meyering@lucent.com>
67
68         * readutmp.c (read_utmp): Guard with `#ifdef UTMP_NAME_FUNCTION',
69         rather than with `#if HAVE_UTMPNAME'.
70
71 2000-02-01  Jim Meyering  <meyering@lucent.com>
72
73         * readutmp.h (UT_USER): Add parens.  From Andreas Schwab.
74
75 2000-01-31  Jim Meyering  <meyering@lucent.com>
76
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.
82
83         * quotearg.c (ISASCII): Add #undef and move definition to follow
84         inclusion of wctype.h to work around solaris2.6 namespace pollution.
85         (ISPRINT): Likewise.
86         Reported by Tom Tromey.
87
88 2000-01-30  Jim Meyering  <meyering@lucent.com>
89
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.
93
94         * readutmp.h (UT_USER): Define.
95
96 2000-01-23  Jim Meyering  <meyering@lucent.com>
97
98         * Makefile.am (libfetish_a_SOURCES): Remove explicit mention of
99         obstack.c.
100
101 2000-01-22  Jim Meyering  <meyering@lucent.com>
102
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.
107
108         1997-10-17  Eli Zaretskii  <eliz@is.elta.co.il>
109         * dirname.c (dir_name): Support for DOS-style file names with drive
110         letters.
111
112         * quotearg.c [HAVE_WCTYPE_H]: Include <wctype.h> for decl of iswprint.
113
114         * strverscmp.c (ISDIGIT): Define.
115         (strverscmp): Use ISDIGIT, not isdigit.
116
117 2000-01-17  Paul Eggert  <eggert@twinsun.com>
118
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).
124
125 2000-01-17  Jim Meyering  <meyering@lucent.com>
126
127         * interlock: Remove unused file.  Reported by François Pinard.
128
129 2000-01-16  Paul Eggert  <eggert@twinsun.com>
130
131         * lib/quotearg.c (quotearg_buffer_restyled): Do not quote
132         alert, backslash, formfeed, and vertical tab unnecessarily in
133         shell quoting style.
134
135 Local Variables:
136 version-control: never
137 End: