*** empty log message ***
[gnulib.git] / lib / ChangeLog
1 2000-03-01  Jim Meyering  <meyering@lucent.com>
2
3         * localcharset.c: Guard some #includes with `#if HAVE_...'.
4         * unicodeio.c: Likewise.
5
6 2000-02-02  Bruno Haible  <haible@clisp.cons.org>
7
8         * config.charset: New file.
9         * localcharset.c: New file.
10         * unicodeio.h, unicodeio.c: New files.
11         * Makefile.am (DEFS): Add -DLIBDIR=...
12         (libfetish_a_SOURCES): Add localcharset.c and unicodeio.c.
13         (noinst_HEADERS): Add unicodeio.h.
14         (all-local, install-exec-local, charset.alias): New targets.
15
16 2000-02-28  Paul Eggert  <eggert@twinsun.com>
17
18         * lib/quotearg.c (ALERT_CHAR): New macro.
19         (quotearg_buffer_restyled): Use it.
20
21 2000-02-27  Jim Meyering  <meyering@lucent.com>
22
23         * strtoumax.c: Fix typo in decl of strtoul: s/long long/long/.
24         Guard declaration of strtoull also with `&& HAVE_UNSIGNED_LONG_LONG'.
25
26         * backupfile.c: Guard inclusion of stdlib.h with `#if HAVE_STDLIB_H',
27         not `#if STDC_HEADERS'.
28         Declare malloc if needed.
29
30         * backupfile.c: Use `#if !HAVE_DECL...' instead of `#ifndef HAVE_DECL..'
31         now that autoconf always defines the HAVE_DECL_ symbols.
32         * human.c: Likewise.
33         * same.c: Likewise.
34         * strtoumax.c: Likewise.
35
36         * backupfile.c: Arrange for cpp to fail if the configure-time
37         declaration check was not run.
38         * hash.c: Likewise.
39         * human.c: Likewise.
40         * same.c: Likewise.
41         * strtoumax.c: Likewise.
42
43         * userspec.c (parse_user_spec): If there is no `:' but there is a `.',
44         then first look up the entire `.'-containing string as a login name.
45
46 2000-02-18  Paul Eggert  <eggert@twinsun.com>
47
48         * lib/getdate.y: Handle two-digit years with leading zeros correctly.
49         (textint): New typedef.
50         (parser_control): Member year changed from int to textint.
51         All uses changed.
52         (YYSTYPE): Removed; replaced by %union with int and textint members.
53         (tDAY, tDAY_UNIT, tDAYZONE, tHOUR_UNIT, tID, tLOCAL_ZONE, tMERIDIAN,
54         tMINUTE_UNIT, tMONTH, tMONTH_UNIT tSEC_UNIT, tSNUMBER, tUNUMBER,
55         tYEAR_UNIT, tZONE, o_merid): Now of type <intval>.
56         (tSNUMBER, tUNUMBER): Now of type <textintval>.
57         (date, number, to_year): Use width of number in digits, not its value,
58         to determine whether it's a 2-digit year, or a 2-digit time.
59         (yylex): Store number of digits of numeric tokens.
60         Reported by John Kendall.
61
62         (parser_control): Changed from struct parser_control to typedef (for
63         consistency).  All uses changed.
64
65         (tID): Removed; not used.
66         (yylex): Return '?' for unknown identifiers, rather than (unused) tID.
67
68 2000-02-14  Paul Eggert  <eggert@twinsun.com>
69
70         * lib/getpagesize.h (getpagesize): Port to VMS for Alpha;
71         adapted from changes to grep getpagesize.h by Martin P.J. Zinser.
72
73 2000-02-12  Jim Meyering  <meyering@lucent.com>
74
75         * userspec.c (ISDIGIT): Define it.
76         (isdigit): Remove definition.
77         (is_number): Use ISDIGIT, not isdigit.
78         <libintl.h>: Include.
79         (_ and N_): Define.
80         (parse_user_spec): Mark translatable strings.
81
82 2000-02-10  Jim Meyering  <meyering@lucent.com>
83
84         With these changes, nanosleep.[ch] are finally enough like the other
85         lib/* replacement files to compile on a few more losing systems.
86
87         * nanosleep.h: Don't include config.h.
88         Remove prototype from declaration of nanosleep.
89         (PARAMS): Remove now-unneeded definition.
90         * nanosleep.c: #undef nanosleep.
91         (rpl_nanosleep): Rename from nanosleep.
92
93 2000-02-03  Jim Meyering  <meyering@lucent.com>
94
95         * readutmp.c (read_utmp): Guard with `#ifdef UTMP_NAME_FUNCTION',
96         rather than with `#if HAVE_UTMPNAME'.
97
98 2000-02-01  Jim Meyering  <meyering@lucent.com>
99
100         * readutmp.h (UT_USER): Add parens.  From Andreas Schwab.
101
102 2000-01-31  Jim Meyering  <meyering@lucent.com>
103
104         * nanosleep.h (nanosleep): Guard declaration with
105         `#if ! HAVE_DECL_NANOSLEEP'.
106         Without this, OFS gets a redeclaration error for rpl_nanosleep, due to
107         the declaration in that vendor's sys/timers.h.
108         Reported by Christian Krackowizer.
109
110         * quotearg.c (ISASCII): Add #undef and move definition to follow
111         inclusion of wctype.h to work around solaris2.6 namespace pollution.
112         (ISPRINT): Likewise.
113         Reported by Tom Tromey.
114
115 2000-01-30  Jim Meyering  <meyering@lucent.com>
116
117         * readutmp.c (extract_trimmed_name): Use UT_USER instead of hard-coding
118         uses of ->ut_name.  The latter doesn't work with new Linux header files
119         where only utmpx.ut_user is declared.
120
121         * readutmp.h (UT_USER): Define.
122
123 2000-01-23  Jim Meyering  <meyering@lucent.com>
124
125         * Makefile.am (libfetish_a_SOURCES): Remove explicit mention of
126         obstack.c.
127
128 2000-01-22  Jim Meyering  <meyering@lucent.com>
129
130         * strtoumax.c: [! HAVE_DECL_STRTOUL]: Declare strtoul.
131         [! HAVE_DECL_STRTOULL]: Declare strtoull.
132         Required for some AIX systems.  Reported by Christian Krackowizer.
133         [TESTING] (main): New function.
134
135         1997-10-17  Eli Zaretskii  <eliz@is.elta.co.il>
136         * dirname.c (dir_name): Support for DOS-style file names with drive
137         letters.
138
139         * quotearg.c [HAVE_WCTYPE_H]: Include <wctype.h> for decl of iswprint.
140
141         * strverscmp.c (ISDIGIT): Define.
142         (strverscmp): Use ISDIGIT, not isdigit.
143
144 2000-01-17  Paul Eggert  <eggert@twinsun.com>
145
146         * nanosleep.c (nanosleep):
147         Don't use SA_INTERRUPT to decide whether to call sigaction, as
148         POSIX.1 doesn't require SA_INTERRUPT and some systems
149         (e.g. Solaris 7) don't define it.  Use SA_NOCLDSTOP instead;
150         it's been part of POSIX.1 since day 1 (in 1988).
151
152 2000-01-17  Jim Meyering  <meyering@lucent.com>
153
154         * interlock: Remove unused file.  Reported by François Pinard.
155
156 2000-01-16  Paul Eggert  <eggert@twinsun.com>
157
158         * lib/quotearg.c (quotearg_buffer_restyled): Do not quote
159         alert, backslash, formfeed, and vertical tab unnecessarily in
160         shell quoting style.
161
162 Local Variables:
163 version-control: never
164 End: