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