fix two typos. Duh
[gnulib.git] / lib / ChangeLog
1 2000-04-05  Jim Meyering  <meyering@lucent.com>
2
3         Portability tweaks required for ultrix4.3.
4         * readutmp.h [HAVE_UTMPX_H && !HAVE_DECL_GETUTENT]: Declare getutent.
5         * readutmp.c: Include sys/types.h before sys/stat.h.
6         * canon-host.c: Declare strdup.
7         * path-concat.c: Likewise.
8         From John David Anglin.
9
10 2000-04-04  Jim Meyering  <meyering@lucent.com>
11
12         Be more DOS 8.3-friendly.
13         * ref-add.sin: Renamed from ref-add.sed.in.
14         * ref-del.sin: Renamed from ref-del.sed.in.
15         * Makefile.am: Reflect renaming.
16         Reported by Eli Zaretskii.
17
18         Use a temporary file name that won't clash with `charset.alias'
19         in the DOS 8.3 name space.
20         * Makefile.am (charset_tmp): Define.
21         (install-exec-local): Use $(charset_tmp) instead of $(charset_alias)-t.
22         (uninstall-local): Likewise.
23         Reported by Eli Zaretskii.
24
25 2000-03-29  Paul Eggert  <eggert@twinsun.com>
26
27         * time/strftime.c (my_strftime): Make sure we call the system
28         strftime, not ourselves, when invoking the underlying strftime.
29
30 2000-03-24  Jim Meyering  <meyering@lucent.com>
31
32         * Makefile.am (EXTRA_DIST): Add ref-add.sed.in and ref-del.sed.in.
33         (charset_alias): Define.
34         (install-exec-local): Factor out common code.
35         (uninstall-local): Split lines longer than 80.
36         (ref-add.sed, ref-del.sed): Remove rules... (do the following instead)
37         (SUFFIXES): Define.
38         (.sed.in.sed): New rule.  Don't redirect directly to $@.
39         (CLEANFILES): Add ref-add.sed and ref-del.sed.
40
41 2000-03-19  Bruno Haible  <haible@clisp.cons.org>
42
43         * config.charset: Output a line containing "Packages using this file".
44         * ref-add.sed.in, ref-del.sed.in: New files.
45         * Makefile.am (install-exec-local, uninstall-local, ref-add.sed,
46         ref-del.sed): New rules.
47
48 2000-03-17  Jim Meyering  <meyering@lucent.com>
49
50         * unicodeio.c (<string.h>): Include only #if HAVE_STRING_H.
51         Otherwise, include <strings.h>
52
53 2000-03-17  Bruno Haible  <haible@clisp.cons.org>
54
55         * unicodeio.c (utf8_wctomb): New function.
56         (print_unicode_char): Pass the Unicode character to iconv in UTF-8
57         format instead of in UCS-4 with platform dependent endianness.
58
59 2000-03-07  Paul Eggert  <eggert@twinsun.com>
60
61         * lib/savedir.c (savedir): Work even if directory size is
62         negative; this can happen with some screwy NFS configurations.
63
64 2000-03-06  Jim Meyering  <meyering@lucent.com>
65
66         * localcharset.c (get_charset_aliases): Don't try to free file_name
67         if it's NULL (because we ran out of memory).  From Bruno Haible.
68
69 2000-03-05  Jim Meyering  <meyering@lucent.com>
70
71         * localcharset.c ("path-concat.h"): Include.
72         (get_charset_aliases): Use path_concat instead of ANSI string
73         concatenation.
74
75         * unicodeio.h (PARAMS): Define.
76         Use it to guard prototype.
77
78 2000-03-04  Jim Meyering  <meyering@lucent.com>
79
80         * Makefile.am (install-exec-local): Create $(libdir) before installing
81         into it.
82         (uninstall-local): Uncomment this rule so `make distcheck' works
83         once again.
84
85         * unicodeio.c (<errno.h>): Include it.
86         (errno): Declare if not defined.
87
88         * localcharset.c: Add Bruno's comment justifying use of volatile.
89
90         * config.charset: New version, incorporating remarks from a linux
91         i18n mailing list.  From Bruno Haible.
92
93 2000-03-02  Jim Meyering  <meyering@lucent.com>
94
95         * Makefile.am (EXTRA_DIST): Add config.charset.
96
97 2000-03-01  Jim Meyering  <meyering@lucent.com>
98
99         * localcharset.c: Guard some #includes with `#if HAVE_...'.
100         * unicodeio.c: Likewise.
101
102 2000-02-02  Bruno Haible  <haible@clisp.cons.org>
103
104         * config.charset: New file.
105         * localcharset.c: New file.
106         * unicodeio.h, unicodeio.c: New files.
107         * Makefile.am (DEFS): Add -DLIBDIR=...
108         (libfetish_a_SOURCES): Add localcharset.c and unicodeio.c.
109         (noinst_HEADERS): Add unicodeio.h.
110         (all-local, install-exec-local, charset.alias): New targets.
111
112 2000-02-28  Paul Eggert  <eggert@twinsun.com>
113
114         * lib/quotearg.c (ALERT_CHAR): New macro.
115         (quotearg_buffer_restyled): Use it.
116
117 2000-02-27  Jim Meyering  <meyering@lucent.com>
118
119         * strtoumax.c: Fix typo in decl of strtoul: s/long long/long/.
120         Guard declaration of strtoull also with `&& HAVE_UNSIGNED_LONG_LONG'.
121
122         * backupfile.c: Guard inclusion of stdlib.h with `#if HAVE_STDLIB_H',
123         not `#if STDC_HEADERS'.
124         Declare malloc if needed.
125
126         * backupfile.c: Use `#if !HAVE_DECL...' instead of `#ifndef HAVE_DECL..'
127         now that autoconf always defines the HAVE_DECL_ symbols.
128         * human.c: Likewise.
129         * same.c: Likewise.
130         * strtoumax.c: Likewise.
131
132         * backupfile.c: Arrange for cpp to fail if the configure-time
133         declaration check was not run.
134         * hash.c: Likewise.
135         * human.c: Likewise.
136         * same.c: Likewise.
137         * strtoumax.c: Likewise.
138
139         * userspec.c (parse_user_spec): If there is no `:' but there is a `.',
140         then first look up the entire `.'-containing string as a login name.
141
142 2000-02-18  Paul Eggert  <eggert@twinsun.com>
143
144         * lib/getdate.y: Handle two-digit years with leading zeros correctly.
145         (textint): New typedef.
146         (parser_control): Member year changed from int to textint.
147         All uses changed.
148         (YYSTYPE): Removed; replaced by %union with int and textint members.
149         (tDAY, tDAY_UNIT, tDAYZONE, tHOUR_UNIT, tID, tLOCAL_ZONE, tMERIDIAN,
150         tMINUTE_UNIT, tMONTH, tMONTH_UNIT tSEC_UNIT, tSNUMBER, tUNUMBER,
151         tYEAR_UNIT, tZONE, o_merid): Now of type <intval>.
152         (tSNUMBER, tUNUMBER): Now of type <textintval>.
153         (date, number, to_year): Use width of number in digits, not its value,
154         to determine whether it's a 2-digit year, or a 2-digit time.
155         (yylex): Store number of digits of numeric tokens.
156         Reported by John Kendall.
157
158         (parser_control): Changed from struct parser_control to typedef (for
159         consistency).  All uses changed.
160
161         (tID): Removed; not used.
162         (yylex): Return '?' for unknown identifiers, rather than (unused) tID.
163
164 2000-02-14  Paul Eggert  <eggert@twinsun.com>
165
166         * lib/getpagesize.h (getpagesize): Port to VMS for Alpha;
167         adapted from changes to grep getpagesize.h by Martin P.J. Zinser.
168
169 2000-02-12  Jim Meyering  <meyering@lucent.com>
170
171         * userspec.c (ISDIGIT): Define it.
172         (isdigit): Remove definition.
173         (is_number): Use ISDIGIT, not isdigit.
174         <libintl.h>: Include.
175         (_ and N_): Define.
176         (parse_user_spec): Mark translatable strings.
177
178 2000-02-10  Jim Meyering  <meyering@lucent.com>
179
180         With these changes, nanosleep.[ch] are finally enough like the other
181         lib/* replacement files to compile on a few more losing systems.
182
183         * nanosleep.h: Don't include config.h.
184         Remove prototype from declaration of nanosleep.
185         (PARAMS): Remove now-unneeded definition.
186         * nanosleep.c: #undef nanosleep.
187         (rpl_nanosleep): Rename from nanosleep.
188
189 2000-02-03  Jim Meyering  <meyering@lucent.com>
190
191         * readutmp.c (read_utmp): Guard with `#ifdef UTMP_NAME_FUNCTION',
192         rather than with `#if HAVE_UTMPNAME'.
193
194 2000-02-01  Jim Meyering  <meyering@lucent.com>
195
196         * readutmp.h (UT_USER): Add parens.  From Andreas Schwab.
197
198 2000-01-31  Jim Meyering  <meyering@lucent.com>
199
200         * nanosleep.h (nanosleep): Guard declaration with
201         `#if ! HAVE_DECL_NANOSLEEP'.
202         Without this, OFS gets a redeclaration error for rpl_nanosleep, due to
203         the declaration in that vendor's sys/timers.h.
204         Reported by Christian Krackowizer.
205
206         * quotearg.c (ISASCII): Add #undef and move definition to follow
207         inclusion of wctype.h to work around solaris2.6 namespace pollution.
208         (ISPRINT): Likewise.
209         Reported by Tom Tromey.
210
211 2000-01-30  Jim Meyering  <meyering@lucent.com>
212
213         * readutmp.c (extract_trimmed_name): Use UT_USER instead of hard-coding
214         uses of ->ut_name.  The latter doesn't work with new Linux header files
215         where only utmpx.ut_user is declared.
216
217         * readutmp.h (UT_USER): Define.
218
219 2000-01-23  Jim Meyering  <meyering@lucent.com>
220
221         * Makefile.am (libfetish_a_SOURCES): Remove explicit mention of
222         obstack.c.
223
224 2000-01-22  Jim Meyering  <meyering@lucent.com>
225
226         * strtoumax.c: [! HAVE_DECL_STRTOUL]: Declare strtoul.
227         [! HAVE_DECL_STRTOULL]: Declare strtoull.
228         Required for some AIX systems.  Reported by Christian Krackowizer.
229         [TESTING] (main): New function.
230
231         1997-10-17  Eli Zaretskii  <eliz@is.elta.co.il>
232         * dirname.c (dir_name): Support for DOS-style file names with drive
233         letters.
234
235         * quotearg.c [HAVE_WCTYPE_H]: Include <wctype.h> for decl of iswprint.
236
237         * strverscmp.c (ISDIGIT): Define.
238         (strverscmp): Use ISDIGIT, not isdigit.
239
240 2000-01-17  Paul Eggert  <eggert@twinsun.com>
241
242         * nanosleep.c (nanosleep):
243         Don't use SA_INTERRUPT to decide whether to call sigaction, as
244         POSIX.1 doesn't require SA_INTERRUPT and some systems
245         (e.g. Solaris 7) don't define it.  Use SA_NOCLDSTOP instead;
246         it's been part of POSIX.1 since day 1 (in 1988).
247
248 2000-01-17  Jim Meyering  <meyering@lucent.com>
249
250         * interlock: Remove unused file.  Reported by François Pinard.
251
252 2000-01-16  Paul Eggert  <eggert@twinsun.com>
253
254         * lib/quotearg.c (quotearg_buffer_restyled): Do not quote
255         alert, backslash, formfeed, and vertical tab unnecessarily in
256         shell quoting style.
257
258 Local Variables:
259 version-control: never
260 End: