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