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