1 2000-04-04 Jim Meyering <meyering@lucent.com>
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.
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.
16 2000-03-29 Paul Eggert <eggert@twinsun.com>
18 * time/strftime.c (my_strftime): Make sure we call the system
19 strftime, not ourselves, when invoking the underlying strftime.
21 2000-03-24 Jim Meyering <meyering@lucent.com>
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)
29 (.sed.in.sed): New rule. Don't redirect directly to $@.
30 (CLEANFILES): Add ref-add.sed and ref-del.sed.
32 2000-03-19 Bruno Haible <haible@clisp.cons.org>
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.
39 2000-03-17 Jim Meyering <meyering@lucent.com>
41 * unicodeio.c (<string.h>): Include only #if HAVE_STRING_H.
42 Otherwise, include <strings.h>
44 2000-03-17 Bruno Haible <haible@clisp.cons.org>
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.
50 2000-03-07 Paul Eggert <eggert@twinsun.com>
52 * lib/savedir.c (savedir): Work even if directory size is
53 negative; this can happen with some screwy NFS configurations.
55 2000-03-06 Jim Meyering <meyering@lucent.com>
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.
60 2000-03-05 Jim Meyering <meyering@lucent.com>
62 * localcharset.c ("path-concat.h"): Include.
63 (get_charset_aliases): Use path_concat instead of ANSI string
66 * unicodeio.h (PARAMS): Define.
67 Use it to guard prototype.
69 2000-03-04 Jim Meyering <meyering@lucent.com>
71 * Makefile.am (install-exec-local): Create $(libdir) before installing
73 (uninstall-local): Uncomment this rule so `make distcheck' works
76 * unicodeio.c (<errno.h>): Include it.
77 (errno): Declare if not defined.
79 * localcharset.c: Add Bruno's comment justifying use of volatile.
81 * config.charset: New version, incorporating remarks from a linux
82 i18n mailing list. From Bruno Haible.
84 2000-03-02 Jim Meyering <meyering@lucent.com>
86 * Makefile.am (EXTRA_DIST): Add config.charset.
88 2000-03-01 Jim Meyering <meyering@lucent.com>
90 * localcharset.c: Guard some #includes with `#if HAVE_...'.
91 * unicodeio.c: Likewise.
93 2000-02-02 Bruno Haible <haible@clisp.cons.org>
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.
103 2000-02-28 Paul Eggert <eggert@twinsun.com>
105 * lib/quotearg.c (ALERT_CHAR): New macro.
106 (quotearg_buffer_restyled): Use it.
108 2000-02-27 Jim Meyering <meyering@lucent.com>
110 * strtoumax.c: Fix typo in decl of strtoul: s/long long/long/.
111 Guard declaration of strtoull also with `&& HAVE_UNSIGNED_LONG_LONG'.
113 * backupfile.c: Guard inclusion of stdlib.h with `#if HAVE_STDLIB_H',
114 not `#if STDC_HEADERS'.
115 Declare malloc if needed.
117 * backupfile.c: Use `#if !HAVE_DECL...' instead of `#ifndef HAVE_DECL..'
118 now that autoconf always defines the HAVE_DECL_ symbols.
121 * strtoumax.c: Likewise.
123 * backupfile.c: Arrange for cpp to fail if the configure-time
124 declaration check was not run.
128 * strtoumax.c: Likewise.
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.
133 2000-02-18 Paul Eggert <eggert@twinsun.com>
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.
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.
149 (parser_control): Changed from struct parser_control to typedef (for
150 consistency). All uses changed.
152 (tID): Removed; not used.
153 (yylex): Return '?' for unknown identifiers, rather than (unused) tID.
155 2000-02-14 Paul Eggert <eggert@twinsun.com>
157 * lib/getpagesize.h (getpagesize): Port to VMS for Alpha;
158 adapted from changes to grep getpagesize.h by Martin P.J. Zinser.
160 2000-02-12 Jim Meyering <meyering@lucent.com>
162 * userspec.c (ISDIGIT): Define it.
163 (isdigit): Remove definition.
164 (is_number): Use ISDIGIT, not isdigit.
165 <libintl.h>: Include.
167 (parse_user_spec): Mark translatable strings.
169 2000-02-10 Jim Meyering <meyering@lucent.com>
171 With these changes, nanosleep.[ch] are finally enough like the other
172 lib/* replacement files to compile on a few more losing systems.
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.
180 2000-02-03 Jim Meyering <meyering@lucent.com>
182 * readutmp.c (read_utmp): Guard with `#ifdef UTMP_NAME_FUNCTION',
183 rather than with `#if HAVE_UTMPNAME'.
185 2000-02-01 Jim Meyering <meyering@lucent.com>
187 * readutmp.h (UT_USER): Add parens. From Andreas Schwab.
189 2000-01-31 Jim Meyering <meyering@lucent.com>
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.
197 * quotearg.c (ISASCII): Add #undef and move definition to follow
198 inclusion of wctype.h to work around solaris2.6 namespace pollution.
200 Reported by Tom Tromey.
202 2000-01-30 Jim Meyering <meyering@lucent.com>
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.
208 * readutmp.h (UT_USER): Define.
210 2000-01-23 Jim Meyering <meyering@lucent.com>
212 * Makefile.am (libfetish_a_SOURCES): Remove explicit mention of
215 2000-01-22 Jim Meyering <meyering@lucent.com>
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.
222 1997-10-17 Eli Zaretskii <eliz@is.elta.co.il>
223 * dirname.c (dir_name): Support for DOS-style file names with drive
226 * quotearg.c [HAVE_WCTYPE_H]: Include <wctype.h> for decl of iswprint.
228 * strverscmp.c (ISDIGIT): Define.
229 (strverscmp): Use ISDIGIT, not isdigit.
231 2000-01-17 Paul Eggert <eggert@twinsun.com>
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).
239 2000-01-17 Jim Meyering <meyering@lucent.com>
241 * interlock: Remove unused file. Reported by François Pinard.
243 2000-01-16 Paul Eggert <eggert@twinsun.com>
245 * lib/quotearg.c (quotearg_buffer_restyled): Do not quote
246 alert, backslash, formfeed, and vertical tab unnecessarily in
250 version-control: never