2585
|
1 2000-06-13 Jim Meyering <meyering@lucent.com> |
|
2 |
|
3 * xstat.in [!HAVE_DECL_FREE]: Declare free in lstat.c. |
|
4 |
2583
|
5 2000-06-12 Paul Eggert <eggert@twinsun.com> |
|
6 |
|
7 * xstat.in: Include <stdlib.h> in lstat, to declare "free". |
|
8 |
2575
|
9 2000-06-04 Paul Eggert <eggert@twinsun.com> |
|
10 |
2583
|
11 * strnlen.c: Include <config.h> if HAVE_CONFIG_H. |
2575
|
12 |
2573
|
13 2000-06-04 Jim Meyering <meyering@lucent.com> |
|
14 |
|
15 * getugroups.c (getugroups): Cast -1 to gid_t, for systems like |
|
16 SunOS4.1.4 for which gid_t is an unsigned type. |
|
17 |
2569
|
18 2000-06-03 Jim Meyering <meyering@lucent.com> |
|
19 |
|
20 * strnlen.c [!HAVE_DECL_MEMCHR]: Declare memchr. |
|
21 |
2559
|
22 2000-05-26 Bruno Haible <haible@clisp.cons.org> |
|
23 |
|
24 * Makefile.am (install-exec-local): On systems with glibc-2.1 or |
|
25 newer, don't install charset.alias. |
|
26 * config.charset: Change the Linux/glibc rules so they become empty |
|
27 on glibc-2.1 or newer. |
|
28 |
2554
|
29 2000-06-02 Jim Meyering <meyering@lucent.com> |
|
30 |
|
31 * mountlist.c: Back out last change. Instead, do this... |
|
32 * mountlist.c (read_filesystem_list) [MOUNTED_VMOUNT]: Set the me_dummy |
|
33 member using the same `ignore'-testing code. |
|
34 * mountlist.h (ME_DUMMY): Add `autofs' to the list of ignored |
|
35 fs_type strings. |
|
36 From Mark D. Roth. |
|
37 |
2549
|
38 2000-05-29 Jim Meyering <meyering@lucent.com> |
|
39 |
|
40 * mountlist.c (read_filesystem_list) [MOUNTED_VMOUNT]: Ignore mounts |
|
41 with the `ignore' attribute. Based on a patch from Mark D. Roth. |
|
42 |
2548
|
43 2000-05-22 Jim Meyering <meyering@lucent.com> |
|
44 |
|
45 * makepath.c: Remove old, now-unnecessary `#ifdef __MSDOS__' block. |
|
46 |
2525
|
47 2000-05-18 Jim Meyering <meyering@lucent.com> |
|
48 |
|
49 * hash.c (hash_rehash): Fix a nasty bug: copy the free entry list |
|
50 back, too, since it may have been modified by allocate_entry. |
|
51 (hash_delete): Rewrite to use neither the assignment operator |
|
52 nor the comma operator in an if-expression. |
|
53 |
2523
|
54 2000-05-15 Paul Eggert <eggert@twinsun.com> |
|
55 |
2583
|
56 * closeout.c: |
2523
|
57 <sys/stat.h>, <sys/types.h>, <unistd.h>, (STDOUT_FILENO): |
|
58 Remove; no longer needed. |
|
59 "quotearg.h": Add include. |
|
60 (file_name): Do not bother to explicitly initialize to NULL; it's less |
|
61 efficient on some hosts. |
|
62 (close_stdout_status): Remove test as to whether stdout was already |
|
63 closed; it breaks for the case "echo x | sort >&-". |
|
64 Quote file name colons. |
|
65 Do not assume that _("write error") lacks format strings. |
|
66 |
2518
|
67 2000-05-15 Jim Meyering <meyering@lucent.com> |
|
68 |
|
69 * version-etc.c (version_etc_copyright): Update the copyright string |
|
70 used in all --version output. |
|
71 |
2521
|
72 2000-05-14 Jim Meyering <meyering@lucent.com> |
|
73 |
|
74 * closeout.c (close_stdout_set_file_name): New function. |
|
75 (close_stdout_status): Use new file-scoped global. |
|
76 Return right away if fstat says the stdout file descriptor is invalid. |
|
77 * closeout.h (close_stdout_set_file_name): Declare. |
|
78 |
2515
|
79 2000-05-10 Jim Meyering <meyering@lucent.com> |
|
80 |
|
81 * closeout.c [default_exit_status]: New file-scoped variable. |
|
82 (close_stdout_set_status): New function. |
|
83 * closeout.h (close_stdout_set_status): Declare. |
|
84 |
2508
|
85 2000-05-08 Jim Meyering <meyering@lucent.com> |
|
86 |
|
87 * long-options.c: Don't include closeout.h. |
|
88 (parse_long_options): Don't call close_stdout for --version. |
|
89 |
2499
|
90 2000-05-06 Jim Meyering <meyering@lucent.com> |
|
91 |
2504
|
92 * strnlen.c: Undefine __strnlen and strnlen. |
|
93 [!weak_alias]: Define __strnlen to strnlen. |
|
94 |
2499
|
95 * atexit.c: New file, from libiberty. |
|
96 |
|
97 2000-05-06 Jim Meyering <meyering@lucent.com> |
|
98 |
|
99 * closeout.c (close_stdout_status): Also check for errors on the |
|
100 stderr stream. |
|
101 |
2488
|
102 2000-05-05 Bruno Haible <haible@clisp.cons.org> |
|
103 |
|
104 * localcharset.c (get_charset_aliases): Use malloc, realloc and memcpy |
|
105 instead of xmalloc, xrealloc, path_concat. |
|
106 (locale_charset): Treat empty environment variables as absent. |
|
107 (DIRECTORY_SEPARATOR, ISSLASH): New macros. |
|
108 |
2467
|
109 2000-05-04 Jim Meyering <meyering@lucent.com> |
|
110 |
|
111 * getopt.c: Update from glibc. |
2478
|
112 * obstack.c: Likewise. |
|
113 * obstack.h: Likewise. |
2473
|
114 * regex.c: Likewise. NB: K&R compiler support is dropped for this file |
|
115 |
|
116 * regex.h: Likewise. |
2470
|
117 * strndup.c: Likewise. |
|
118 * strnlen.c: New file, from glibc. |
2467
|
119 |
2461
|
120 2000-05-01 Jim Meyering <meyering@lucent.com> |
|
121 |
|
122 * full-write.c (full_write): Remove `FIXME' part of comment. |
|
123 |
2447
|
124 2000-04-29 Jim Meyering <meyering@lucent.com> |
|
125 |
|
126 * path-concat.c: Declare strdup only if it's not defined. |
|
127 * canon-host.c: Likewise. |
|
128 |
2445
|
129 2000-04-28 Jim Meyering <meyering@lucent.com> |
|
130 |
|
131 * rpmatch.c [HAVE_LIMITS_H]: Include limits.h before regex.h to avoid |
|
132 redefinition warning on some systems (HPUX). Otherwise, regex.h is |
|
133 included first, then limits.h is included by locale.h by libintl.h. |
|
134 From John David Anglin. |
|
135 |
2440
|
136 2000-04-25 Jim Meyering <meyering@lucent.com> |
|
137 |
|
138 * makepath.c (S_IRWXUGO): Define. |
|
139 (make_path): Always perform explicit chmod if MODE specifies any |
2442
|
140 of the `special' permission bits. Prompted by a bug report against |
|
141 install from Mate Wierdl and Joost van Baal. |
2440
|
142 |
2435
|
143 2000-04-18 Jim Meyering <meyering@lucent.com> |
|
144 |
2440
|
145 * README: New file. |
|
146 |
2435
|
147 * getpagesize.h [!getpagesize && HAVE_OS_H && B_PAGE_SIZE]: Define |
|
148 getpagesize. For BeOS. Based on a patch from Bruno Haible. |
|
149 |
2431
|
150 2000-04-17 Jim Meyering <meyering@lucent.com> |
|
151 |
|
152 * strftime.c (my_strftime) [strftime]: Declare strftime here, since |
|
153 the definition of it to rpl_strftime also defined-away the system's |
|
154 declaration. |
|
155 |
2427
|
156 2000-04-15 Jim Meyering <meyering@lucent.com> |
|
157 |
|
158 Use `C' to denote so-called `contiguous' files, the same way |
|
159 that tar does. |
|
160 * filemode.c (S_ISCTG) [!S_ISCTG && S_IFCTG]: Define. |
|
161 (ftypelet): Use S_ISCTG. |
|
162 From Michael Deutschmann. |
|
163 |
|
164 2000-04-14 Jim Meyering <meyering@lucent.com> |
|
165 |
|
166 * strftime.c (my_strftime) [#ifdef strftime]: Declare strftime. |
|
167 |
2416
|
168 2000-04-08 Jim Meyering <meyering@lucent.com> |
|
169 |
|
170 * Makefile.am (charset.alias): Use t-$@, not $@-t so the DOS 8.3 |
|
171 names don't conflict. Reported by Eli Zaretskii. |
|
172 |
2413
|
173 2000-03-28 Bruno Haible <haible@clisp.cons.org> |
|
174 |
|
175 * unicodeio.c (print_unicode_char): Avoid triggering Solaris iconv |
2431
|
176 bug. Deal with the different error behavior of Irix iconv. |
2413
|
177 |
|
178 2000-04-07 Jim Meyering <meyering@lucent.com> |
|
179 |
|
180 * putenv.c: Move inclusion of errno.h so it follows that of sys/types.h, |
|
181 to work around system header problems on AIX 3.2.5. From Bruno Haible. |
|
182 |
2406
|
183 2000-04-05 Jim Meyering <meyering@lucent.com> |
|
184 |
|
185 Portability tweaks required for ultrix4.3. |
|
186 * readutmp.h [HAVE_UTMPX_H && !HAVE_DECL_GETUTENT]: Declare getutent. |
|
187 * readutmp.c: Include sys/types.h before sys/stat.h. |
|
188 * canon-host.c: Declare strdup. |
|
189 * path-concat.c: Likewise. |
|
190 From John David Anglin. |
|
191 |
2397
|
192 2000-04-04 Jim Meyering <meyering@lucent.com> |
|
193 |
|
194 Be more DOS 8.3-friendly. |
|
195 * ref-add.sin: Renamed from ref-add.sed.in. |
|
196 * ref-del.sin: Renamed from ref-del.sed.in. |
|
197 * Makefile.am: Reflect renaming. |
|
198 Reported by Eli Zaretskii. |
|
199 |
|
200 Use a temporary file name that won't clash with `charset.alias' |
|
201 in the DOS 8.3 name space. |
|
202 * Makefile.am (charset_tmp): Define. |
|
203 (install-exec-local): Use $(charset_tmp) instead of $(charset_alias)-t. |
|
204 (uninstall-local): Likewise. |
|
205 Reported by Eli Zaretskii. |
|
206 |
2379
|
207 2000-03-29 Paul Eggert <eggert@twinsun.com> |
|
208 |
|
209 * time/strftime.c (my_strftime): Make sure we call the system |
|
210 strftime, not ourselves, when invoking the underlying strftime. |
|
211 |
2364
|
212 2000-03-24 Jim Meyering <meyering@lucent.com> |
|
213 |
|
214 * Makefile.am (EXTRA_DIST): Add ref-add.sed.in and ref-del.sed.in. |
|
215 (charset_alias): Define. |
|
216 (install-exec-local): Factor out common code. |
|
217 (uninstall-local): Split lines longer than 80. |
|
218 (ref-add.sed, ref-del.sed): Remove rules... (do the following instead) |
|
219 (SUFFIXES): Define. |
|
220 (.sed.in.sed): New rule. Don't redirect directly to $@. |
|
221 (CLEANFILES): Add ref-add.sed and ref-del.sed. |
|
222 |
|
223 2000-03-19 Bruno Haible <haible@clisp.cons.org> |
|
224 |
|
225 * config.charset: Output a line containing "Packages using this file". |
|
226 * ref-add.sed.in, ref-del.sed.in: New files. |
|
227 * Makefile.am (install-exec-local, uninstall-local, ref-add.sed, |
|
228 ref-del.sed): New rules. |
|
229 |
2353
|
230 2000-03-17 Jim Meyering <meyering@lucent.com> |
|
231 |
|
232 * unicodeio.c (<string.h>): Include only #if HAVE_STRING_H. |
|
233 Otherwise, include <strings.h> |
|
234 |
|
235 2000-03-17 Bruno Haible <haible@clisp.cons.org> |
|
236 |
|
237 * unicodeio.c (utf8_wctomb): New function. |
|
238 (print_unicode_char): Pass the Unicode character to iconv in UTF-8 |
|
239 format instead of in UCS-4 with platform dependent endianness. |
|
240 |
2343
|
241 2000-03-07 Paul Eggert <eggert@twinsun.com> |
|
242 |
2583
|
243 * savedir.c (savedir): Work even if directory size is |
2343
|
244 negative; this can happen with some screwy NFS configurations. |
|
245 |
2348
|
246 2000-03-06 Jim Meyering <meyering@lucent.com> |
|
247 |
|
248 * localcharset.c (get_charset_aliases): Don't try to free file_name |
|
249 if it's NULL (because we ran out of memory). From Bruno Haible. |
|
250 |
2337
|
251 2000-03-05 Jim Meyering <meyering@lucent.com> |
|
252 |
2339
|
253 * localcharset.c ("path-concat.h"): Include. |
|
254 (get_charset_aliases): Use path_concat instead of ANSI string |
|
255 concatenation. |
|
256 |
2337
|
257 * unicodeio.h (PARAMS): Define. |
|
258 Use it to guard prototype. |
|
259 |
2330
|
260 2000-03-04 Jim Meyering <meyering@lucent.com> |
|
261 |
2332
|
262 * Makefile.am (install-exec-local): Create $(libdir) before installing |
|
263 into it. |
2334
|
264 (uninstall-local): Uncomment this rule so `make distcheck' works |
|
265 once again. |
2332
|
266 |
2330
|
267 * unicodeio.c (<errno.h>): Include it. |
|
268 (errno): Declare if not defined. |
|
269 |
|
270 * localcharset.c: Add Bruno's comment justifying use of volatile. |
|
271 |
|
272 * config.charset: New version, incorporating remarks from a linux |
|
273 i18n mailing list. From Bruno Haible. |
|
274 |
|
275 2000-03-02 Jim Meyering <meyering@lucent.com> |
|
276 |
|
277 * Makefile.am (EXTRA_DIST): Add config.charset. |
|
278 |
2309
|
279 2000-03-01 Jim Meyering <meyering@lucent.com> |
|
280 |
|
281 * localcharset.c: Guard some #includes with `#if HAVE_...'. |
|
282 * unicodeio.c: Likewise. |
|
283 |
|
284 2000-02-02 Bruno Haible <haible@clisp.cons.org> |
|
285 |
|
286 * config.charset: New file. |
|
287 * localcharset.c: New file. |
|
288 * unicodeio.h, unicodeio.c: New files. |
|
289 * Makefile.am (DEFS): Add -DLIBDIR=... |
|
290 (libfetish_a_SOURCES): Add localcharset.c and unicodeio.c. |
|
291 (noinst_HEADERS): Add unicodeio.h. |
|
292 (all-local, install-exec-local, charset.alias): New targets. |
|
293 |
2300
|
294 2000-02-28 Paul Eggert <eggert@twinsun.com> |
|
295 |
2583
|
296 * quotearg.c (ALERT_CHAR): New macro. |
2300
|
297 (quotearg_buffer_restyled): Use it. |
|
298 |
2285
|
299 2000-02-27 Jim Meyering <meyering@lucent.com> |
|
300 |
2298
|
301 * strtoumax.c: Fix typo in decl of strtoul: s/long long/long/. |
|
302 Guard declaration of strtoull also with `&& HAVE_UNSIGNED_LONG_LONG'. |
|
303 |
2295
|
304 * backupfile.c: Guard inclusion of stdlib.h with `#if HAVE_STDLIB_H', |
|
305 not `#if STDC_HEADERS'. |
|
306 Declare malloc if needed. |
|
307 |
2290
|
308 * backupfile.c: Use `#if !HAVE_DECL...' instead of `#ifndef HAVE_DECL..' |
|
309 now that autoconf always defines the HAVE_DECL_ symbols. |
|
310 * human.c: Likewise. |
|
311 * same.c: Likewise. |
|
312 * strtoumax.c: Likewise. |
|
313 |
|
314 * backupfile.c: Arrange for cpp to fail if the configure-time |
|
315 declaration check was not run. |
|
316 * hash.c: Likewise. |
|
317 * human.c: Likewise. |
|
318 * same.c: Likewise. |
|
319 * strtoumax.c: Likewise. |
|
320 |
2285
|
321 * userspec.c (parse_user_spec): If there is no `:' but there is a `.', |
|
322 then first look up the entire `.'-containing string as a login name. |
|
323 |
2286
|
324 2000-02-18 Paul Eggert <eggert@twinsun.com> |
|
325 |
2583
|
326 * getdate.y: Handle two-digit years with leading zeros correctly. |
2286
|
327 (textint): New typedef. |
|
328 (parser_control): Member year changed from int to textint. |
|
329 All uses changed. |
|
330 (YYSTYPE): Removed; replaced by %union with int and textint members. |
|
331 (tDAY, tDAY_UNIT, tDAYZONE, tHOUR_UNIT, tID, tLOCAL_ZONE, tMERIDIAN, |
|
332 tMINUTE_UNIT, tMONTH, tMONTH_UNIT tSEC_UNIT, tSNUMBER, tUNUMBER, |
|
333 tYEAR_UNIT, tZONE, o_merid): Now of type <intval>. |
|
334 (tSNUMBER, tUNUMBER): Now of type <textintval>. |
|
335 (date, number, to_year): Use width of number in digits, not its value, |
|
336 to determine whether it's a 2-digit year, or a 2-digit time. |
|
337 (yylex): Store number of digits of numeric tokens. |
|
338 Reported by John Kendall. |
|
339 |
|
340 (parser_control): Changed from struct parser_control to typedef (for |
|
341 consistency). All uses changed. |
|
342 |
|
343 (tID): Removed; not used. |
|
344 (yylex): Return '?' for unknown identifiers, rather than (unused) tID. |
|
345 |
2278
|
346 2000-02-14 Paul Eggert <eggert@twinsun.com> |
|
347 |
2583
|
348 * getpagesize.h (getpagesize): Port to VMS for Alpha; |
2279
|
349 adapted from changes to grep getpagesize.h by Martin P.J. Zinser. |
2278
|
350 |
2274
|
351 2000-02-12 Jim Meyering <meyering@lucent.com> |
|
352 |
|
353 * userspec.c (ISDIGIT): Define it. |
|
354 (isdigit): Remove definition. |
|
355 (is_number): Use ISDIGIT, not isdigit. |
|
356 <libintl.h>: Include. |
|
357 (_ and N_): Define. |
|
358 (parse_user_spec): Mark translatable strings. |
|
359 |
2268
|
360 2000-02-10 Jim Meyering <meyering@lucent.com> |
|
361 |
|
362 With these changes, nanosleep.[ch] are finally enough like the other |
|
363 lib/* replacement files to compile on a few more losing systems. |
|
364 |
|
365 * nanosleep.h: Don't include config.h. |
|
366 Remove prototype from declaration of nanosleep. |
|
367 (PARAMS): Remove now-unneeded definition. |
|
368 * nanosleep.c: #undef nanosleep. |
|
369 (rpl_nanosleep): Rename from nanosleep. |
|
370 |
2245
|
371 2000-02-03 Jim Meyering <meyering@lucent.com> |
|
372 |
|
373 * readutmp.c (read_utmp): Guard with `#ifdef UTMP_NAME_FUNCTION', |
|
374 rather than with `#if HAVE_UTMPNAME'. |
|
375 |
|
376 2000-02-01 Jim Meyering <meyering@lucent.com> |
|
377 |
|
378 * readutmp.h (UT_USER): Add parens. From Andreas Schwab. |
|
379 |
2235
|
380 2000-01-31 Jim Meyering <meyering@lucent.com> |
|
381 |
2240
|
382 * nanosleep.h (nanosleep): Guard declaration with |
|
383 `#if ! HAVE_DECL_NANOSLEEP'. |
2275
|
384 Without this, OFS gets a redeclaration error for rpl_nanosleep, due to |
2240
|
385 the declaration in that vendor's sys/timers.h. |
|
386 Reported by Christian Krackowizer. |
|
387 |
2235
|
388 * quotearg.c (ISASCII): Add #undef and move definition to follow |
|
389 inclusion of wctype.h to work around solaris2.6 namespace pollution. |
|
390 (ISPRINT): Likewise. |
2236
|
391 Reported by Tom Tromey. |
2235
|
392 |
2228
|
393 2000-01-30 Jim Meyering <meyering@lucent.com> |
|
394 |
|
395 * readutmp.c (extract_trimmed_name): Use UT_USER instead of hard-coding |
|
396 uses of ->ut_name. The latter doesn't work with new Linux header files |
|
397 where only utmpx.ut_user is declared. |
|
398 |
|
399 * readutmp.h (UT_USER): Define. |
|
400 |
2193
|
401 2000-01-23 Jim Meyering <meyering@lucent.com> |
|
402 |
|
403 * Makefile.am (libfetish_a_SOURCES): Remove explicit mention of |
|
404 obstack.c. |
|
405 |
2163
|
406 2000-01-22 Jim Meyering <meyering@lucent.com> |
2188
|
407 |
|
408 * strtoumax.c: [! HAVE_DECL_STRTOUL]: Declare strtoul. |
|
409 [! HAVE_DECL_STRTOULL]: Declare strtoull. |
|
410 Required for some AIX systems. Reported by Christian Krackowizer. |
|
411 [TESTING] (main): New function. |
|
412 |
2172
|
413 1997-10-17 Eli Zaretskii <eliz@is.elta.co.il> |
|
414 * dirname.c (dir_name): Support for DOS-style file names with drive |
|
415 letters. |
2163
|
416 |
2185
|
417 * quotearg.c [HAVE_WCTYPE_H]: Include <wctype.h> for decl of iswprint. |
2184
|
418 |
2163
|
419 * strverscmp.c (ISDIGIT): Define. |
|
420 (strverscmp): Use ISDIGIT, not isdigit. |
|
421 |
2152
|
422 2000-01-17 Paul Eggert <eggert@twinsun.com> |
|
423 |
|
424 * nanosleep.c (nanosleep): |
|
425 Don't use SA_INTERRUPT to decide whether to call sigaction, as |
|
426 POSIX.1 doesn't require SA_INTERRUPT and some systems |
|
427 (e.g. Solaris 7) don't define it. Use SA_NOCLDSTOP instead; |
|
428 it's been part of POSIX.1 since day 1 (in 1988). |
|
429 |
2150
|
430 2000-01-17 Jim Meyering <meyering@lucent.com> |
|
431 |
|
432 * interlock: Remove unused file. Reported by Fran�ois Pinard. |
|
433 |
2144
|
434 2000-01-16 Paul Eggert <eggert@twinsun.com> |
|
435 |
2583
|
436 * quotearg.c (quotearg_buffer_restyled): Do not quote |
2144
|
437 alert, backslash, formfeed, and vertical tab unnecessarily in |
|
438 shell quoting style. |
2190
|
439 |
|
440 Local Variables: |
|
441 version-control: never |
|
442 End: |