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