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