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