1 2000-03-29 Paul Eggert <eggert@twinsun.com>
3 * time/strftime.c (my_strftime): Make sure we call the system
4 strftime, not ourselves, when invoking the underlying strftime.
6 2000-03-24 Jim Meyering <meyering@lucent.com>
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)
14 (.sed.in.sed): New rule. Don't redirect directly to $@.
15 (CLEANFILES): Add ref-add.sed and ref-del.sed.
17 2000-03-19 Bruno Haible <haible@clisp.cons.org>
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.
24 2000-03-17 Jim Meyering <meyering@lucent.com>
26 * unicodeio.c (<string.h>): Include only #if HAVE_STRING_H.
27 Otherwise, include <strings.h>
29 2000-03-17 Bruno Haible <haible@clisp.cons.org>
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.
35 2000-03-07 Paul Eggert <eggert@twinsun.com>
37 * lib/savedir.c (savedir): Work even if directory size is
38 negative; this can happen with some screwy NFS configurations.
40 2000-03-06 Jim Meyering <meyering@lucent.com>
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.
45 2000-03-05 Jim Meyering <meyering@lucent.com>
47 * localcharset.c ("path-concat.h"): Include.
48 (get_charset_aliases): Use path_concat instead of ANSI string
51 * unicodeio.h (PARAMS): Define.
52 Use it to guard prototype.
54 2000-03-04 Jim Meyering <meyering@lucent.com>
56 * Makefile.am (install-exec-local): Create $(libdir) before installing
58 (uninstall-local): Uncomment this rule so `make distcheck' works
61 * unicodeio.c (<errno.h>): Include it.
62 (errno): Declare if not defined.
64 * localcharset.c: Add Bruno's comment justifying use of volatile.
66 * config.charset: New version, incorporating remarks from a linux
67 i18n mailing list. From Bruno Haible.
69 2000-03-02 Jim Meyering <meyering@lucent.com>
71 * Makefile.am (EXTRA_DIST): Add config.charset.
73 2000-03-01 Jim Meyering <meyering@lucent.com>
75 * localcharset.c: Guard some #includes with `#if HAVE_...'.
76 * unicodeio.c: Likewise.
78 2000-02-02 Bruno Haible <haible@clisp.cons.org>
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.
88 2000-02-28 Paul Eggert <eggert@twinsun.com>
90 * lib/quotearg.c (ALERT_CHAR): New macro.
91 (quotearg_buffer_restyled): Use it.
93 2000-02-27 Jim Meyering <meyering@lucent.com>
95 * strtoumax.c: Fix typo in decl of strtoul: s/long long/long/.
96 Guard declaration of strtoull also with `&& HAVE_UNSIGNED_LONG_LONG'.
98 * backupfile.c: Guard inclusion of stdlib.h with `#if HAVE_STDLIB_H',
99 not `#if STDC_HEADERS'.
100 Declare malloc if needed.
102 * backupfile.c: Use `#if !HAVE_DECL...' instead of `#ifndef HAVE_DECL..'
103 now that autoconf always defines the HAVE_DECL_ symbols.
106 * strtoumax.c: Likewise.
108 * backupfile.c: Arrange for cpp to fail if the configure-time
109 declaration check was not run.
113 * strtoumax.c: Likewise.
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.
118 2000-02-18 Paul Eggert <eggert@twinsun.com>
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.
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.
134 (parser_control): Changed from struct parser_control to typedef (for
135 consistency). All uses changed.
137 (tID): Removed; not used.
138 (yylex): Return '?' for unknown identifiers, rather than (unused) tID.
140 2000-02-14 Paul Eggert <eggert@twinsun.com>
142 * lib/getpagesize.h (getpagesize): Port to VMS for Alpha;
143 adapted from changes to grep getpagesize.h by Martin P.J. Zinser.
145 2000-02-12 Jim Meyering <meyering@lucent.com>
147 * userspec.c (ISDIGIT): Define it.
148 (isdigit): Remove definition.
149 (is_number): Use ISDIGIT, not isdigit.
150 <libintl.h>: Include.
152 (parse_user_spec): Mark translatable strings.
154 2000-02-10 Jim Meyering <meyering@lucent.com>
156 With these changes, nanosleep.[ch] are finally enough like the other
157 lib/* replacement files to compile on a few more losing systems.
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.
165 2000-02-03 Jim Meyering <meyering@lucent.com>
167 * readutmp.c (read_utmp): Guard with `#ifdef UTMP_NAME_FUNCTION',
168 rather than with `#if HAVE_UTMPNAME'.
170 2000-02-01 Jim Meyering <meyering@lucent.com>
172 * readutmp.h (UT_USER): Add parens. From Andreas Schwab.
174 2000-01-31 Jim Meyering <meyering@lucent.com>
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.
182 * quotearg.c (ISASCII): Add #undef and move definition to follow
183 inclusion of wctype.h to work around solaris2.6 namespace pollution.
185 Reported by Tom Tromey.
187 2000-01-30 Jim Meyering <meyering@lucent.com>
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.
193 * readutmp.h (UT_USER): Define.
195 2000-01-23 Jim Meyering <meyering@lucent.com>
197 * Makefile.am (libfetish_a_SOURCES): Remove explicit mention of
200 2000-01-22 Jim Meyering <meyering@lucent.com>
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.
207 1997-10-17 Eli Zaretskii <eliz@is.elta.co.il>
208 * dirname.c (dir_name): Support for DOS-style file names with drive
211 * quotearg.c [HAVE_WCTYPE_H]: Include <wctype.h> for decl of iswprint.
213 * strverscmp.c (ISDIGIT): Define.
214 (strverscmp): Use ISDIGIT, not isdigit.
216 2000-01-17 Paul Eggert <eggert@twinsun.com>
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).
224 2000-01-17 Jim Meyering <meyering@lucent.com>
226 * interlock: Remove unused file. Reported by François Pinard.
228 2000-01-16 Paul Eggert <eggert@twinsun.com>
230 * lib/quotearg.c (quotearg_buffer_restyled): Do not quote
231 alert, backslash, formfeed, and vertical tab unnecessarily in
235 version-control: never