*** empty log message ***
[gnulib.git] / lib / ChangeLog
1 2001-09-02  Jim Meyering  <meyering@lucent.com>
2
3         * error.c: Update from GNU libc.
4
5 2001-09-01  Jim Meyering  <meyering@lucent.com>
6
7         * xreadlink.c: New file.
8         * xreadlink.h: New file.
9         * Makefile.am (libfetish_a_SOURCES): Add xreadlink.c and xreadlink.h.
10
11         * regex.c (uintptr_t) [!_LIBC]: Define to private_uintptr_t, so it
12         doesn't conflict with sparc-sun-solaris2.7's definition in
13         /usr/include/sys/int_types.h.
14
15         * exclude.c: Use `""', not `<>' to #include non-system header files.
16         (fnmatch_no_wildcards): Rewrite not to use function names, strcasecmp
17         and strncasecmp as r-values.  Unixware didn't have declarations.
18
19 2001-08-31  Jim Meyering  <meyering@lucent.com>
20
21         * xgetcwd.c (xgetcwd): Reorganize to avoid some duplication.
22         Use an initial, malloc'd, buffer of length 128 rather than
23         a statically allocated one of length 1024.
24
25 2001-08-30  Paul Eggert  <eggert@twinsun.com>
26
27         * lib/xgetcwd.c: Don't include pathmax.h.
28         Include stdlib.h and unistd.h if available.
29         Include xalloc.h.
30         (xmalloc, xstrdup, free): Remove decls.
31         (xgetcwd): Don't assume sizes fit in unsigned.
32         Check for overflow when computing sizes.
33         Simplify reallocation code.
34
35 2001-08-28  Paul Eggert  <eggert@twinsun.com>
36
37         * Makefile.am (libfetish_a_SOURCES): Remove strtoxmax.c.
38
39         * strtoimax.c: Renamed from strtoxmax.c, removing the
40         old strtoimax.c.
41
42         Also, make the following further changes to make this file's
43         configuration more similar to that of strtol.c:
44         (UNSIGNED): Renamed from STRTOUXMAX_UNSIGNED.  All uses changed.
45         (strtoumax, uintmax_t, strtoull, strtol): Remove.
46         (intmax_t, strtoimax, strtol, strtoll): New macros, if UNSIGNED.
47         (strtoimax): Renamed from strtoumax.  All uses of unsigned values
48         changed to signed values.
49
50         And make the following changes as well:
51         Fix copyright notice, as 1999 was missing.
52         (verify): New macro.
53         (strtoimax): Check sizes at compile-time, not run-time.
54         Prefer strtol to strtoll if both work.
55         (main): Remove; it was not that useful and was a pain to maintain.
56
57         * strtoumax.c: Include strtoimax.c, not strtouxmax.c.
58
59 2001-08-30  Paul Eggert  <eggert@twinsun.com>
60
61         * savedir.c (savedir): Remove size parameter, as POSIX says that
62         a directory's st_size can have an arbitrary value, so the old
63         usage could waste an arbitrary amount of memory.  All uses
64         changed.
65         * savedir.h: Update prototype.
66
67 2001-08-30  Paul Eggert  <eggert@twinsun.com>
68
69         * xstrtol.c (strtoimax): New decl.
70
71 2001-08-28  Paul Eggert  <eggert@twinsun.com>
72
73         * xstrtol.h: Add copyright notice.
74         (_DECLARE_XSTRTOL): Improve quality of diagnostic for
75         LONGINT_INVALID_SUFFIX_CHAR.
76
77 2001-08-30  Paul Eggert  <eggert@twinsun.com>
78
79         * quotearg.c: BSD/OS 4.1 wchar.h requires FILE and struct
80         tm to be declared.
81
82 2001-08-30  Paul Eggert  <eggert@twinsun.com>
83
84         * hash.c: Remove '2001' from copyright notice.
85
86 2001-08-30  Paul Eggert  <eggert@twinsun.com>
87
88         * full-write.h: New file.
89         * Makefile.am (libfetish_a_SOURCES): Add full-write.h.
90         * full-write.c: Correct credits, as cccp.c no longer
91         exists and anyway it was so heavily changed from the old cccp
92         code as to be unrecognizable.  Include full-write.h.
93         (full_write) Return size_t, with short writes meaning failure.
94         All callers changed.  This fixes a bug with large buffers
95         on 64-bit hosts.
96         * utime.c: Include full-write.h.
97
98 2001-08-30  Paul Eggert  <eggert@twinsun.com>
99
100         Merge 'exclude' changes from tar 1.13.22.
101         This fixes one or two unlikely storage allocation overflow bugs,
102         but doesn't change user-visible behavior otherwise.
103
104 2001-08-30  Paul Eggert  <eggert@twinsun.com>
105
106         * exclude.c (bool): Declare, perhaps by including stdbool.h.
107         (<sys/types.h>): Include only if HAVE_SYS_TYPES_H.
108         (<stdlib.h>, <string.h>, <strings.h>, <inttypes.h>, <stdint.h>):
109         Include if available.
110         (<xalloc.h>): Include
111         (SIZE_MAX): Define if <stdint.h> or <inttypes.h> doesn't.
112         (verify): New macro.  Use it to verify that EXCLUDE macros do not
113         collide with FNM macros.
114         (struct patopts): New struct.
115         (struct exclude): Use it, as exclude patterns now come with options.
116         (new_exclude): Support above changes.
117         (new_exclude, add_exclude_file):
118         Initial size must now be a power of two to simplify overflow checking.
119         (free_exclude, fnmatch_no_wildcards): New function.
120         (excluded_filename): No longer requires options arg, as the options
121         are determined by add_exclude.  Now returns bool, not int.
122         (excluded_filename, add_exclude):
123         Add support for the fancy new exclusion options.
124         (add_exclude, add_exclude_file): Now takes int options arg.
125         Check for arithmetic overflow when computing sizes.
126         (add_exclude_file): xrealloc might modify errno, so don't
127         realloc until after errno might be used.
128
129         * exclude.h (EXCLUDE_ANCHORED, EXCLUDE_INCLUDE,EXCLUDE_WILDCARDS):
130         New macros.
131         (free_exclude): New decl.
132         (add_exclude, add_exclude_file): Now takes int options arg.
133         (excluded_filename): No longer requires options arg, as the options
134         are determined by add_exclude.  Now returns bool, not int.
135
136 2001-08-30  Paul Eggert  <eggert@twinsun.com>
137
138         * alloca.c (alloca): Arg is of type size_t, not unsigned.
139
140 2001-08-27  Jim Meyering  <meyering@lucent.com>
141
142         * Makefile.am (libfetish_a_SOURCES): Add strtoxmax.c
143
144         * version-etc.c (N_): Remove definition.
145         Revert most of last change.
146         Instead, simply don't mark the `Copyright...' string for translation.
147         Based on advice from Paul Eggert.
148
149         * strtoxmax.c: Tweak comment.
150
151 2001-08-26  Jim Meyering  <meyering@lucent.com>
152
153         * version-etc.c (version_etc_copyright_fmt): Replace literal year
154         of copyright with `%s' so translators don't get an untranslated
155         message in 2002.
156         (COPYRIGHT_YEAR): Define.
157         (version_etc): Use fprintf rather than fputs.
158         Suggestion from Ulrich Drepper.
159
160         * Makefile.am (libfetish_a_SOURCES): Add xstrtoimax.c.
161
162         * strtoll.c: New file, from GNU libc.
163         * xstrtoimax.c: New file.
164
165         * xstrtol.h: Add xstrtoimax.
166         * strtoumax.c: New file.  Simply include "strtoumax.c".
167         * strtoimax.c: New file.  Likewise, but first define STRTOUXMAX_SIGNED.
168
169         * strtoumax.c: Factor to work both for unsigned and signed types, ...
170         * strtoxmax.c: ... then renamed to this.
171
172 2001-08-13  Paul Eggert  <eggert@twinsun.com>
173
174         * Makefile.am (unlocked-io.h): Do not append "_unlocked" twice.
175         Port to Solaris 8, where 'sed' requires a space after the 'r'
176         command, and where sh dislikes "$/".  Clean up the spacing a bit.
177         Redirect output to $tmp just once.
178
179 2001-08-12  Paul Eggert  <eggert@sic.twinsun.com>
180
181         * addext.c (<errno.h>): Include.
182         (errno): Declare if not defined.
183         (addext): Work correctly when pathconf returns -1 and leaves
184         errno alone because there is no limit.  Also, work even if
185         pathconf returns a value greater than SIZE_MAX.
186
187 2001-08-12  Jim Meyering  <meyering@lucent.com>
188
189         * xgetcwd.c (xgetcwd) [defined __GLIBC__ && __GLIBC__ >= 2]:
190         Simply `return getcwd (NULL, 0);'.
191         [! (defined __GLIBC__ && __GLIBC__ >= 2)]:
192         Use 1300 as initial value for length, not PATH_MAX.
193
194         * pathmax.h: Clean up cpp syntax.
195
196 2001-08-12  Jim Meyering  <meyering@lucent.com>
197
198         * gettimeofday.c: New file.
199         * gtod.h: New file.
200         * Makefile.am (libfetish_a_SOURCES): Add gtod.h.
201
202 2001-08-04  Jim Meyering  <meyering@lucent.com>
203
204         * error.h (__attribute__): Remove `|| __STRICT_ANSI__' from #if stmt,
205         to get in sync with glibc.
206
207 2001-08-03  Paul Eggert  <eggert@twinsun.com>
208
209         The following changes are from gettext 0.10.39 as maintained by
210         Bruno Haible.
211
212         * mbswidth.h (MBSW_REJECT_UNPRINTABLE, MBSW_REJECT_INVALID):
213         Renamed from MBSW_ACCEPT_UNPRINTABLE and MBSW_ACCEPT_INVALID
214         with inverted sense.  All uses changed.
215
216         * mbswidth.c: Don't include <limits.h>.
217         Include <stdlib.h> and <string.h> unconditionally.
218         (iswcntrl, mbsinit, ISCNTRL): New macros.
219         (mbsnwidth): Use K&R style function declarations.
220         Don't bother checking for MB_LEN_MAX == 1, since the compiler
221         can optimize it when MB_CUR_MAX == 1.
222         The width of control characters is zero, not 1.
223
224 2001-07-15  Jim Meyering  <meyering@lucent.com>
225
226         * Makefile.am (EXTRA_DIST): Add unlocked-io.hin.
227         (BUILT_SOURCES): Add unlocked-io.h.
228         (io_functions): Define.
229         (unlocked-io.h): New rule.
230         (DISTCLEANFILES): Add unlocked-io.h.
231         (all-local): Depend on unlocked-io.h, to ensure it is created.
232
233         * unlocked-io.hin: New file
234
235         * regex.c: Update from glibc.
236
237 2001-07-05  Jim Meyering  <meyering@lucent.com>
238
239         * Makefile.am (noinst_HEADERS): Remove definition, per new automake
240         recommendation.
241         (libfetish_a_SOURCES): Put all .h files here instead.
242         Remove a thus-exposed (better checks in automake) duplicate and
243         two unnecessary .h files.
244
245 2001-06-11  Jim Meyering  <meyering@lucent.com>
246
247         * regex.c: Update from GNU libc.
248
249 2001-05-27  Jim Meyering  <meyering@lucent.com>
250
251         * readutmp.h (UT_TYPE): Define.
252
253 2001-05-24  Jim Meyering  <meyering@lucent.com>
254
255         * argmatch.c: Include "quote.h".
256         (argmatch_invalid): Remove explicit `' quotes.  Instead, use the
257         quote function.  Reported by Göran Uddeborg.
258
259 2001-05-20  Alexandre Duret-Lutz  <duret_g@epita.fr>
260
261         * dirname.c (dir_name): Compute append_dot using path, not newpath
262         which is not yet declared.
263
264 2001-05-11  Paul Eggert  <eggert@twinsun.com>
265
266         * Makefile.am (libfetish_a_SOURCES):
267         Add strftime.c, since we now compile it on all hosts.
268
269         * strftime.c (my_strftime):
270         Define to nstrftime if emacs, but only if my_strftime is not defined.
271         (extra_args, extra_args_spec, extra_args_spec_iso): Rename from
272         ut_argument, ut_argument_spec, ut_argument_spec_iso, respectively.
273         Add one more extra argument: a nanoseconds value.
274         All uses changed.
275         (ns): New macro.
276         (my_strftime function): Add %N format.
277         (emacs_strftimeu): Renamed from emacs_strftime,
278         with extra ut argument.
279
280 2001-05-11  Paul Eggert  <eggert@twinsun.com>
281
282         dirname code cleanup.  base_name now behaves more compatibly
283         with POSIX basename when given file names that have trailing
284         slashes, and similarly for dir_name.  Add new primitives
285         base_len and dir_len.  Put the directory-name-related decls
286         into dirname.h.
287
288         * addext.c (ISSLASH, base_name): Remove; now in dirname.h.
289         * backupfile.c (base_name): Likewise.
290         * basename.c (FILESYSTEM_PREFIX_LEN, PARAMS, ISSLASH): Likewise.
291         * dirname.c (FILESYSTEM_PREFIX_LEN, ISSLASH): Likewise.
292         * makepath.c (strip_trailing_slashes): Likewise.
293         * path-concat.c (DIRECTORY_SEPARATOR, FILESYSTEM_PREFIX_LEN, ISSLASH):
294         Likewise.
295         * rename.c (strip_trailing_slashes): Likewise.
296         * same.c (base_name): Likewise.
297         * stripslash.c (ISSLASH): Likewise.
298
299         * addext.c: Include <dirname.h> after size_t is defined.
300         * backupfile.c: Likewise.
301
302         * addext.c (addext): Use base_len to trim redundant
303         trailing slashes instead of doing it ourselves.
304         But do not trim the last slash if it is not redundant.
305
306         * backupfile.c (find_backup_file_name,
307         max_backup_version): Use base_len instead of rolling it ourselves.
308         Handle the case of "" and (on DOS) "C:" correctly.
309
310         * basename.c: Do not include <stdio.h>, <assert.h>; no longer needed.
311         Include <string.h>, <dirname.h>.
312         (base_name): Allow file names ending in slashes, other than names
313         that are all slashes.  In this case, return the basename followed
314         by the slashes.  This is more general, and can be used in places
315         where the original base_name purposely had an assertion failure.
316         (base_len): New function.
317
318         * dirname.c: Include <string.h> instead of <stdlib.h>.
319         Do not include <assert.h>; no longer needed.
320         Include xalloc.h.
321         (memrchr): Remove decl.
322         (dir_name_r): Remove.
323         (dir_len): Renamed from dirlen.  All callers changed.
324         Rewrite in terms of base_name, for simplicity and consistency.
325         (dir_name): Never return NULL.  All callers changed.
326         Do not include <stdlib.h> in test program; no longer needed.
327         return 0; is fine for test program.
328
329         * dirname.h (DIRECTORY_SEPARATOR, ISSLASH, FILESYSTEM_PREFIX_LEN):
330         New macros.
331         (base_name, base_len, dir_len, strip_trailing_slashes): New decls.
332
333         * path-concat.c (path_concat): Use base_len to compute
334         base length, not strlen; this means we cannot rely on memcpy
335         to null-terminate.
336
337         * same.c (STREQ): Remove.
338         (same_name): Handle the case where the basename ends in trailing '/'.
339
340         * stripslash.c (strip_trailing_slashes): Return nonzero if
341         a slash was stripped.  Do not strip the last slash after a
342         file system prefix.
343
344 2001-04-08  Jim Meyering  <meyering@lucent.com>
345
346         * getdate.y (get_date): Set tm_isdst to -1 to ensure that it is
347         recomputed; that's necessary when the offset spans a DST transition.
348         Patch by David J. MacKenzie.  Reported by Hon-Yin Kok.
349
350 2001-04-02  Jim Meyering  <meyering@lucent.com>
351
352         * regex.h, regex.c: Update from GNU libc.
353
354 2001-03-19  Paul Eggert  <eggert@twinsun.com>
355
356         * version-etc.c (version_etc_copyright): Update to 2001.
357
358 2001-03-16  Paul Eggert  <eggert@twinsun.com>
359
360         * tempname.c (uint64_t): Define to uintmax_t if
361         not defined, and if UINT64_MAX is not defined.
362         Required at least for Vax Ultrix4.3, which doesn't define uint64_t.
363         Reported by John David Anglin.
364
365 2001-03-10  Bruno Haible  <haible@clisp.cons.org>
366
367         * localcharset.c (locale_charset): Allow wildcard syntax. Also resolve
368         alias if codeset is empty.
369         * config.charset (BeOS): Use wildcard syntax.
370
371 2001-03-13  Jim Meyering  <meyering@lucent.com>
372
373         * path-concat.c (path_concat) [FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX]:
374         Don't insert a backslash when concatenating e.g., `C:' and `foo'.
375         From Bruno Haible.
376
377 2001-03-06  Bruno Haible  <haible@clisp.cons.org>
378
379         * localcharset.c (locale_charset): Don't use setlocale(LC_CTYPE,NULL).
380         Don't return NULL.
381         * unicodeio.c (print_unicode_char): Simplify accordingly.
382
383 2001-03-06  Bruno Haible  <haible@clisp.cons.org>
384
385         * config.charset: Update for FreeBSD 4.2 and OSF/1 5.1. Add
386         support for DOS/DJGPP.
387
388 2001-02-28  Paul Eggert  <eggert@twinsun.com>
389
390         * Makefile.am (libfetish_a_SOURCES):
391         Add dup-safer.c, fopen-safer.c.
392         (noinst_HEADERS): Add stdio-safer.h, unistd-safer.h.
393
394         * dup-safer.c, fopen-safer.c, stdio-safer.h, unistd-safer.h: New files.
395
396 2001-02-25  Paul Eggert  <eggert@twinsun.com>
397
398         The mkstemp replacement is taken from glibc 2.2.2, with some
399         portability fixes for use outside glibc, as follows:
400
401         * tempname.c (struct_stat64): New macro.
402         (direxists, __gen_tempname): Use it.
403         This avoids a portability problem with Solaris 8.
404
405         * tempname.c (<config.h>): Include if HAVE_CONFIG_H.
406         (<stddef.h>, <stdint.h>, <string.h>):
407         Include only if STDC_HEADERS || _LIBC.
408         (<fcntl.h>): Include only if HAVE_FCNTL_H || _LIBC.
409         (<unistd.h>): Include only if HAVE_UNISTD_H || _LIBC.
410         (<sys/time.h>): Include only if HAVE_SYS_TIME_H || _LIBC.
411         (__set_errno): Define this macro if <errno.h> doesn't.
412         (P_tmpdir, TMP_MAX, __GT_FILE, __GT_BIGFILE, __GT_DIR, __GT_NOCREATE):
413         Define these macros if <stdio.h> doesn't.
414         (S_ISDIR, S_IRUSR, S_IWUSR, S_IXUSR):
415         Define these macros if <sys/stat.h>
416         doesn't.  Ignore <sys/stat.h> S_ISDIR if STAT_MACROS_BROKEN.
417         (stat64, __getpid, __gettimeofday, __mkdir, __open, __open64, lxstat64,
418         __xstat64): Define if not _LIBC.
419         (__secure_getenv): Define if ! (HAVE___SECURE_GETENV || _LIBC).
420         (__gen_tempname): Invoke gettimeofday only if
421         HAVE_GETTIMEOFDAY || _LIBC;
422         otherwise, fall back on plain "time".
423         Use macros like S_IRUSR | S_IWUSR rather than octal values like 0600.
424
425         * mkstemp.c (__GT_FILE): Define to zero if not defined.
426
427         * mkstemp.c, tempname.c: New files, taken from glibc 2.2.2.
428
429 2001-02-17  Jim Meyering  <meyering@lucent.com>
430
431         * strtoul.c: Sync from GNU libc.  Use double quotes, not <...>
432         around included file name.
433
434         * strnlen.c (__strnlen): Merge in a change from GNU libc.
435
436         * strftime.c: Update from GNU libc (the only changes were to comments).
437
438 2001-02-13  Bruno Haible  <haible@clisp.cons.org>
439
440         * mbswidth.h (mbswidth): Also define as macro, to avoid prototype clash.
441
442 2001-02-17  Paul Eggert  <eggert@twinsun.com>
443
444         * mbswidth.c, quotearg.c (mbrtowc, mbsinit):
445         Remove workaround macros for hosts that have mbrtowc but not
446         mbstate_t, as we now insist on proper declarations for both
447         before using mbrtowc.
448
449 2001-02-17  Jim Meyering  <meyering@lucent.com>
450
451         * regex.c: Update from libc.
452
453 2001-02-16  Paul Eggert  <eggert@twinsun.com>
454
455         * alloca.c (malloc): Undef before defining, since stdlib.h
456         may have defined it.  Needed for Encore Umax-3.0.9.16b systems.
457         Reported by Mark Hounschell via Paul Eggert.
458
459 2001-01-30  Bruno Haible  <haible@clisp.cons.org>
460
461         * config.charset: Update for FreeBSD 4.2.
462
463 2001-01-26  Jim Meyering  <meyering@lucent.com>
464
465         * quotearg.c: Include stddef.h.
466         * quote.c: Include stddef.h.
467         Reported by Axel Kittenberger.
468
469         * xmalloc.c [HAVE_DONE_WORKING_MALLOC_CHECK]: Enclose error-evoking
470         line in double quotes so that it evokes a better diagnostic.
471         [HAVE_DONE_WORKING_REALLOC_CHECK]: Likewise.
472         Reported by Axel Kittenberger.
473
474 2001-01-15  Bruno Haible  <haible@clisp.cons.org>
475
476         * unicodeio.c (print_unicode_char): Cast the second iconv() arg,
477         to avoid a warning.  Add back 'const' to inptr.
478
479 2001-01-16  Jim Meyering  <meyering@lucent.com>
480
481         * basename.c: Include <stdio.h>, needed by assert on SunOS4.
482         From Bruno Haible.
483
484 2001-01-14  Jim Meyering  <meyering@lucent.com>
485
486         * rename.c: New file.  From Volker Borchert.
487         Include stdlib.h, string.h or strings.h, and xalloc.h.
488         Use strip_trailing_slashes rather than open-coding it.
489
490 2001-01-03  Paul Eggert  <eggert@twinsun.com>
491
492         * strftime.c: Sync with glibc time/strftime.c 1.81.
493
494 2001-01-03  Jim Meyering  <meyering@lucent.com>
495
496         * unicodeio.c (print_unicode_char): Remove `const' from declaration of
497         local `inptr' to avoid warning with some system declarations of iconv.
498
499 2000-12-29  Paul Eggert  <eggert@twinsun.com>
500
501         * modechange.c: Do not assume that mode_t uses the
502         traditional octal encoding.  E.g. "chmod 1 FOO" should set
503         the other-execute bit of FOO even if S_IXOTH != 1.
504
505         (SUID, SGID, SVTX, RUSR, WUSR, XUSR, RGRP, WGRP, XGRP, ROTH,
506         WOTH, XOTH, ALLM): New macros.
507         (S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IWUSR, S_IXUSR,
508          S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH):
509         Use them.
510         (S_ISGID): Fix typo; it was defaulting to the same value as S_ISUID.
511         (S_IRWXU, S_IRWXG, S_IRWXO): Specify defaults in terms of the above.
512         (mode_compile):
513         No need to use uintmax_t; unsigned long is long enough.
514         Don't bother to get suffix since we don't use it.
515
516 2000-12-24  Jim Meyering  <meyering@lucent.com>
517
518         * hash.c (is_prime): Return explicit boolean values.
519         (hash_get_first): Return NULL to appease Irix5.6's 89.
520         Reported by Nelson Beebe.
521
522 2000-10-31  Bruno Haible  <haible@clisp.cons.org>
523
524         * localcharset.c (locale_charset): Add support for Win32.
525
526 2000-12-18  Paul Eggert  <eggert@twinsun.com>
527
528         * physmem.h, physmem.c: New files.
529
530         * Makefile.am (libfetish_a_SOURCES): Add physmem.c.
531         (noinst_HEADERS): Add physmem.h.
532
533         * xstrtol.c (__xstrtol): Add undocumented suffixes 'g' and
534         't' for compatibility with Solaris 8 sort.
535
536 2000-12-18  Bruno Haible  <haible@clisp.cons.org>
537
538         * config.charset: Add support for BeOS.
539
540 2000-12-16  Jim Meyering  <meyering@lucent.com>
541
542         * getusershell.c [!SHELLS_FILE && __DJGPP__]: Define
543         SHELLS_FILE to a file name that's useful on djgpp systems.
544         Include stdlib.h.
545         (ADDITIONAL_DEFAULT_SHELLS): Define.
546         (default_shells): Prepend ADDITIONAL_DEFAULT_SHELLS.
547         Based mostly on a patch from Prashant TR.
548
549 2000-12-16  Jim Meyering  <meyering@lucent.com>
550
551         This bug had a serious impact on chown: `chown N:M FILE' (for integer
552         N and M) would have treated it like `chown N:N FILE'.
553
554         * userspec.c (parse_user_spec): Fix typo: s/u/g/.
555
556 2000-10-31  Bruno Haible  <haible@clisp.cons.org>
557
558         * config.charset: Add ISO-8859-3, BIG5HKSCS, GB18030, JOHAB, VISCII,
559         CP874, CP949, CP950, CP1250, CP1253, CP1254, CP1255, CP1256, CP1257
560         to the list of canonical encodings. Rename EUC-CN to GB2312.
561
562 2000-12-08  Andreas Schwab  <schwab@suse.de>
563
564         * mbswidth.c (mbsnwidth): Don't loop endlessly when called with an
565         invalid mulitbyte sequence and with the MBSW_ACCEPT_INVALID flag set.
566
567 2000-12-07  Jim Meyering  <meyering@lucent.com>
568
569         * stripslash.c (ISSLASH): Define.
570         (strip_trailing_slashes): Use ISSLASH rather than comparing against `/'.
571         From Prashant TR.
572
573         * dirname.c (FILESYSTEM_PREFIX_LEN): Define.
574         (dir_name_r): Declare this function as static.
575         [BACKSLASH_IS_PATH_SEPARATOR]: Fix a bug that'd
576         manifest itself on a name containing a mix of slashes and
577         backslashes.
578         Make this function work with names starting with a DOS-style
579         drive letter and colon prefix.
580         (dir_name): Append `.' if necessary.
581         Based mostly on patches from Prashant TR and Eli Zaretskii.
582
583         * dirname.h (dir_name_r): Remove prototype.
584
585 2000-12-05  Jim Meyering  <meyering@lucent.com>
586
587         * dirname.c (dir_name_r): Add `const' in a few local declarations.
588
589 2000-12-04  Jim Meyering  <meyering@lucent.com>
590
591         * path-concat.c: [!HAVE_DECL_MALLOC]: Declare malloc.
592         Also include memory.h, stdlib.h, unistd.h if appropriate.
593         Reported by Andreas Jaeger (conflicting declaration of malloc).
594
595 2000-12-02  Jim Meyering  <meyering@lucent.com>
596
597         * closeout.h: Make idempotent, to avoid some obscure warnings.
598
599 2000-12-01  Paul Eggert  <eggert@twinsun.com>
600
601         * memrchr.c: Include <config.h> before any system include file.
602
603 2000-11-29  Paul Eggert  <eggert@twinsun.com>
604
605         * dirname.c (dir_name_r): Fix typo: int -> size_t.
606
607 2000-11-26  Jim Meyering  <meyering@lucent.com>
608
609         * memcoll.c: Include sys/types.h.  From Werner Almesberger.
610
611 2000-11-22  Paul Eggert  <eggert@twinsun.com>
612
613         * strftime.c (my_strftime): Do not invoke mbrlen with a
614         size of (size_t) -1; it's not portable.
615
616 2000-11-17  Akim Demaille  <akim@epita.fr>
617
618         * obstack.h: Formatting changes.
619         (obstack_grow, obstack_grow0): Don't cast WHERE at all: that would
620         prevent type checking.
621         (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
622         cast the value to (void *): assigning a `foo *' to a `void *'
623         variable is valid.
624         (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
625
626 2000-11-17  Jim Meyering  <meyering@lucent.com>
627
628         * strstr.c: Update from GNU libc.
629
630 2000-11-16  Jim Meyering  <meyering@lucent.com>
631
632         * strverscmp.c: Incorporate weak-alias-related changes from glibc.
633
634 2000-11-11  Jim Meyering  <meyering@lucent.com>
635
636         * error.c: Add a couple #includes, merging from GNU libc version.
637
638 2000-11-10  Jim Meyering  <meyering@lucent.com>
639
640         * obstack.h: Update from GNU libc.
641         * obstack.c: Likewise.
642
643 2000-11-06  Paul Eggert  <eggert@twinsun.com>
644
645         * getusershell.c (setusershell): Use rewind rather than
646         fseek/fseeko, to avoid configuration hassles with fseeko.
647         Don't bother opening SHELLS_FILE if shellstream is NULL;
648         it's not necessary.
649
650 2000-11-05  Jim Meyering  <meyering@lucent.com>
651
652         * makepath.h (make_dir): Declare.
653         * makepath.c (make_dir): Remove `static' attribute.
654         Tweak a comment.
655
656 2000-11-04  Alexandre Duret-Lutz  <duret_g@epita.fr>
657
658         * hash.c (hash_get_next): Fix a thinko:  when ENTRY is the
659         last one in a bucket, advance to the next bucket.
660
661 2000-11-02  Vesselin Atanasov  <vesselin@bgnet.bg>
662
663         * fnmatch.c: Do not comment out all the code if we are using
664         the GNU C library, because in some cases we are replacing buggy
665         code in the GNU C library itself.
666
667 2000-10-30  Paul Eggert  <eggert@twinsun.com>
668
669         * error.h, getline.h, modechange.h:
670         Remove "2000" from Copyright line, as the file hasn't been
671         changed this year other than in the copyright notice.
672
673         * xalloc.h: Add "2000" to Copyright line, as this file
674         was changed this year.
675
676 2000-10-30  Paul Eggert  <eggert@twinsun.com>
677
678         * fnmatch.c (FOLD): Do not assume that characters are unsigned.
679         (fnmatch): Fix some FNM_FILE_NAME and FNM_LEADING_DIR bugs,
680         e.g. fnmatch("d*/*1", "d/s/1", FNM_FILE_NAME) incorrectly yielded zero.
681
682 2000-10-29  Greg Louis  <glouis@dynamicro.on.ca>
683
684         * regex.h (__restrict_arr): Move definition out of #ifndef block.
685         Required because egcs-2.91.66 (aka 1.1.2) defines __restrict, but
686         doesn't define __restrict_arr.
687
688 2000-10-29  Jim Meyering  <meyering@lucent.com>
689
690         * xstat.in: Fix grammar in comment.
691
692 2000-10-28  Jim Meyering  <meyering@lucent.com>
693
694         * memchr.c: Update from libc.
695         Adjust for portability:
696         [HAVE_STDLIB_H]: Include stdlib.h.
697         [HAVE_BP_SYM_H || _LIBC]: Guard inclusion of bp-sym.h.
698         Undef __memchr, too.
699         [!weak_alias]: Define __memchr to memchr.
700
701         * regex.c: Update from libc.
702         * regex.h: Likewise.
703         * getopt1.c: Likewise.
704         * memcmp.c: Likewise.
705
706         * getusershell.c (setusershell) [HAVE_FSEEKO]: Use fseeko.
707         Avoid using fseek, when possible -- it's broken by design.
708         Patch by Ulrich Drepper.
709
710 2000-10-26  Jim Meyering  <meyering@lucent.com>
711
712         * strftime.c: Update from libc.
713
714 2000-10-25  Jim Meyering  <meyering@lucent.com>
715
716         * obstack.c: Update from libc.
717
718 2000-10-23  Jim Meyering  <meyering@lucent.com>
719
720         * hard-locale.c (hard_locale): Revert last change -- it was simply
721         wrong.  That set_locale call must not have any side effects.
722         From Paul Eggert.
723
724 2000-10-22  Jim Meyering  <meyering@lucent.com>
725
726         * md5.c (md5_process_block) [OP]: Use `rol', not CYCLIC.
727         [CYCLIC]: Remove now-unused definition.
728
729         * save-cwd.c (O_DIRECTORY): Define, if needed.
730         (save_cwd) [HAVE_FCHDIR]: Use O_DIRECTORY when opening ".".
731         Suggestion from Ulrich Drepper.
732
733 2000-10-21  Jim Meyering  <meyering@lucent.com>
734
735         * dirname.c (dir_name_r): New function, factored out of dir_name.
736         (dir_name): Use dir_name_r.
737         * dirname.h (dir_name_r): Declare it.
738
739 2000-10-21  Jim Meyering  <meyering@lucent.com>
740
741         * dirname.c (memrchr): Declare if necessary.
742         (dir_name): Remove the restriction that there be no
743         trailing slashes.  Now, this code skips past them, effectively
744         ignoring them.
745         [TEST_DIRNAME] (main): New unit tests.
746
747         * memrchr.c: New file from GNU libc.
748         Undef __memrchr, too.
749         [!weak_alias]: Define __memrchr to memrchr.
750         Guard weak_alias use with `#ifdef weak_alias'.
751
752 2000-10-17  Jim Meyering  <meyering@lucent.com>
753
754         * quote.h (PARAMS): Define and use.
755         Reported by Akim Demaille.
756
757         * getopt.c: Update from libc.
758
759 2000-10-16  Jim Meyering  <meyering@lucent.com>
760
761         * hard-locale.c (hard_locale): Use "", not 0 as 2nd arg to setlocale.
762         From Jan Fedak.
763
764 2000-09-25  Jim Meyering  <meyering@lucent.com>
765
766         * md5.h (rol): Define (from GnuPG).
767
768         * sha.c: Give credit (GnuPG) where due.
769         (M): Use rol rather than open-coding it.
770         Add a FIXME comment.
771
772 2000-09-21  Jim Meyering  <meyering@lucent.com>
773
774         * userspec.c (parse_user_spec): Remove debugging printf I'd added.
775         Reported by Michael Stone.
776
777 2000-09-20  Jim Meyering  <meyering@lucent.com>
778
779         * Makefile.am (libfetish_a_SOURCES): Add sha.c.
780         (noinst_HEADERS): Add sha.h.
781         Based on code from Scott G. Miller and from GnuPG.
782
783 2000-09-15  Jim Meyering  <meyering@lucent.com>
784
785         * regex.c: Update from libc.
786
787 2000-09-10  Jim Meyering  <meyering@lucent.com>
788
789         * getopt.c (_getopt_internal): Update from glibc.
790
791 2000-09-09  Jim Meyering  <meyering@lucent.com>
792
793         * quotearg.c: Rename ISASCII to IN_CTYPE_DOMAIN, so people don't
794         think it should be used as a general replacement for isascii.
795         * fnmatch.c: Likewise.
796         * mbswidth.c: Likewise
797         * regex.c: Likewise.
798
799         Don't use atoi.
800         * userspec.c: Include sys/param.h and limits.h.
801         Include xstrtol.h.
802         (CHAR_BIT, TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM): Define.
803         (UID_T_MAX, GID_T_MAX, MAXUID, MAXGID): Define.
804         (parse_user_spec): Use xstrtoul, not atoi when converting numeric
805         UID, GID.  Check range.
806
807 2000-09-06  Jim Meyering  <meyering@lucent.com>
808
809         * getopt.c (_getopt_internal): Update from glibc.
810
811 2000-08-30  Jim Meyering  <meyering@lucent.com>
812
813         * strftime.c: Merge in changes from GNU libc.
814
815 2000-08-26  Jim Meyering  <meyering@lucent.com>
816
817         * closeout.c: Include "__fpending.h".
818         (close_stdout_status): Return right away if there's nothing to flush.
819
820         * Makefile.am (noinst_HEADERS): Add __fpending.h.
821         * __fpending.c: New file.
822         * __fpending.h: New file.
823
824 2000-08-07  Paul Eggert  <eggert@twinsun.com>
825
826         Standardize on "memory exhausted" instead of "Memory exhausted"
827         or "virtual memory exhausted".
828         * obstack.c (print_and_abort): Use "memory exhausted", not
829         "virtual memory exhausted".
830         * same.c (same_name): Invoke xalloc_die instead of printing
831         our own message.
832         * userspec.c (parse_user_spec): Likewise.
833         * bumpalloc.h: comment fix
834         * same.c, userspec.c: Include xalloc.h.
835
836         * xalloc.h (xalloc_msg_memory_exhausted): Now char const[],
837         not char *const and pointing to a constant array.
838         * xmalloc.c (xalloc_msg_memory_exhausted): Likewise.
839         (xrealloc): Comment fix.
840
841         * userspec.c (parse_user_spec):
842         Don't translate a message until just before returning,
843         to avoid unnecessary translation.
844
845 2000-08-07  Jim Meyering  <meyering@lucent.com>
846
847         * addext.c, argmatch.c, argmatch.h, backupfile.h, bumpalloc.h,
848         chown.c, diacrit.h, dirname.h, dup2.c, exclude.h, fileblocks.c,
849         fnmatch.c, fnmatch.h, fsusage.c, fsusage.h, getdate.h,
850         getgroups.c, gethostname.c, getopt.h, group-member.c,
851         hard-locale.c, hash.h, isdir.c, lchown.c, linebuffer.c,
852         linebuffer.h, long-options.h, malloc.c, md5.c, md5.h, memchr.c,
853         memcmp.c, memcoll.c, memset.c, mktime.c, modechange.h, obstack.h,
854         pathmax.h, realloc.c, rmdir.c, safe-read.c, save-cwd.c, stime.c,
855         stpcpy.c, strcasecmp.c, strcspn.c, strdup.c, stripslash.c,
856         strstr.c, strtod.c, strtol.c, strtoul.c, strtoull.c, strtoumax.c,
857         utime.c, version-etc.h, xalloc.h, xstrdup.c, xstrtoumax.c,
858         yesno.c: Back out Copyright date changes for each file with no change
859         this year.  This eases coordination with other programs using the same
860         source code modules.  From Paul Eggert.
861
862 2000-08-03  Greg McGary  <greg@mcgary.org>
863
864         * regex.c (SET_HIGH_BOUND, MOVE_BUFFER_POINTER,
865         ELSE_EXTEND_BUFFER_HIGH_BOUND): New macros.
866         (EXTEND_BUFFER): Use them.
867
868 2000-08-01  Jim Meyering  <meyering@lucent.com>
869
870         * dirname.c (ISSLASH): Define.
871         (BACKSLASH_IS_PATH_SEPARATOR): Define.
872         (dir_name) [BACKSLASH_IS_PATH_SEPARATOR]: Handle the case in which
873         both `\' and `/' may be use as path separators.
874         Based on a patch from Prashant TR.
875
876 2000-07-31  Paul Eggert  <eggert@twinsun.com>
877
878         * quotearg.c (quotearg_n_options): Don't make the initial
879         slot vector a constant, since it might get modified.
880
881 2000-07-31  Jim Meyering  <meyering@lucent.com>
882
883         * xmalloc.c: Use `virtual memory exhausted', not `Memory exhausted'.
884         * obstack.c (print_and_abort): Likewise.
885
886 2000-07-30  Paul Eggert  <eggert@twinsun.com>
887
888         * quotearg.c (quotearg_n_options): Preallocate a slot 0
889         buffer, so that the caller can always quote one small
890         component of a "memory exhausted" message in slot 0.
891         From a suggestion by Jim Meyering.
892
893 2000-07-30  Jim Meyering  <meyering@lucent.com>
894
895         * makepath.c (make_path): Quote the other instance, too.
896
897         * quotearg.c (N_STATIC_SLOTVECS): Define.
898         (STATIC_BUF_SIZE): Define.
899         (quotearg_n_options): Use only statically allocated storage when
900         N < N_STATIC_SLOTVECS and the length of the quoted result is smaller
901         than STATIC_BUF_SIZE.
902
903 2000-07-29  Jim Meyering  <meyering@lucent.com>
904
905         * diacrit.c (diacrit_diac): Use __MSDOS__ in favor of MSDOS.
906         * dirname.c (dir_name): Likewise.
907
908         * basename.c (base_name): Use ISSLASH rather than comparing against `/'.
909
910         * dirname.c (dir_name) [MSDOS]: Declare `lim' to be const.
911         (dir_name): Assert that there are no trailing slashes.
912
913 2000-07-18  Bruno Haible  <haible@clisp.cons.org>
914
915         * mbswidth.h (mbswidth): Add a flags argument.
916         (mbswidth): New declaration.
917         (MBSW_ACCEPT_INVALID, MBSW_ACCEPT_UNPRINTABLE): New macros.
918         * mbswidth.c (mbswidth): Add a flags argument.
919         (mbsnwidth): New function.
920
921 2000-07-24  Jim Meyering  <meyering@lucent.com>
922
923         * mbswidth.c: Remove useless #else.  From Bruno Haible.
924
925 2000-07-23  Paul Eggert  <eggert@twinsun.com>
926
927         * mbswidth.c (_XOPEN_SOURCE):
928         Don't define; this causes problems on Solaris 7.
929         (wcwidth) [!HAVE_DECL_WCWIDTH]: Declare.
930
931 2000-07-23  Paul Eggert  <eggert@twinsun.com>
932
933         * quotearg.c:
934         Include <wchar.h> even if ! (HAVE_MBRTOWC && 1 < MB_LEN_MAX),
935         so that mbstate_t is always defined.
936
937         Do not inspect MB_LEN_MAX, since it's incorrectly defined to
938         be 1 in at least one GCC installation, and this configuration
939         error is likely to be common.  Ignoring MB_LEN_MAX hurts
940         performance on hosts that have mbrtowc but have only unibyte
941         locales, but I assume these hosts are rare.
942
943 2000-07-23  Paul Eggert  <eggert@twinsun.com>
944
945         * quotearg.c: Streamline by invoking multibyte code only if needed.
946         <wchar.h>: Include only if HAVE_MBRTOWC && 1 < MB_LEN_MAX.
947         (MB_CUR_MAX): Redefine to 1 if ! (HAVE_MBRTOWC && 1 < MB_LEN_MAX).
948         (quotearg_buffer_restyled): If a unibyte locale, don't bother to
949         invoke multibyte primitives.
950
951 2000-07-23  Jim Meyering  <meyering@lucent.com>
952
953         * basename.c (base_name): Add an assertion.
954
955 2000-07-15  Bruno Haible  <clisp.cons.org>
956
957         * quotearg.c: When the system forces us to redefine mbstate_t,
958         shadow its mbsinit function.
959
960 2000-07-16  Bruno Haible  <haible@clisp.cons.org>
961
962         * mbswidth.h: New file.
963         * mbswidth.c: New file.
964         * Makefile.am (libfetish_a_SOURCES): Add mbswidth.c.
965         (noinst_HEADERS): Add mbswidth.h.
966
967 2000-07-17  Bruno Haible  <haible@clisp.cons.org>
968
969         * config.charset: Add support for FreeBSD. Improve support for HP-UX
970         and IRIX 6.
971
972 2000-07-15  Jim Meyering  <meyering@lucent.com>
973
974         * makepath.c: Include quote.h.
975         (make_path): Convert "`%s'" in format strings to "%s", and wrap each
976         corresponding argument in a `quote (...)' call.
977         Give better diagnostics.
978
979         * Makefile.am (libfetish_a_SOURCES): Add quote.c.
980         (noinst_HEADERS): Add quote.h.
981
982         * quote.c (quote, quote_n): New file.  Two functions taken verbatim
983         from tar's src/misc.c.
984         * quote.h: New file.  Prototypes for same.
985
986 2000-07-10  Paul Eggert  <eggert@twinsun.com>
987
988         From a suggestion by Bruno Haible.
989         * quotearg.c (mbrtowc): Do not use HAVE_WCHAR_H in the definition.
990         Use defined mbstate_t, not HAVE_MBSTATE_T_OBJECT,
991         to decide whether to define the BeOS workaround macro;
992         this adjusts to the change to AC_MBSTATE_T.
993
994 2000-07-13  Paul Eggert  <eggert@twinsun.com>
995
996         * quotearg.h (enum quoting style): New enum clocale_quoting_style.
997
998         * quotearg.c (quoting_style_args, quoting_style_vals,
999         quotearg_buffer_restyled): Add support for
1000         clocale_quoting_style.  Undo previous change to
1001         locale_quoting_style behavior, and undo the "{LEFT QUOTATION MARK}"
1002         and "{RIGHT QUOTATION MARK}" msgids.
1003
1004 2000-07-05  Paul Eggert  <eggert@twinsun.com>
1005
1006         The old behavior of quoting `like this' doesn't look good with
1007         newer, ISO-style fonts.  See:
1008         http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
1009
1010         Instead, quote "like this" by default.  Let the translator
1011         tailor the locale-specific quoting behavior by providing
1012         translations for {LEFT QUOTATION MARK} and {RIGHT QUOTATION MARK}.
1013
1014         * quotearg.c (N_): New macro.
1015         (gettext_default): New function.
1016         (quotearg_buffer_restyled): Use
1017         gettext_default ("{LEFT QUOTATION MARK}", "\"") for left quote, and
1018         gettext_default ("{RIGHT QUOTATION MARK}", "\"") for right quote.
1019
1020 2000-07-09  Jim Meyering  <meyering@lucent.com>
1021
1022         * Most files: Update copyright dates to include 2000.
1023
1024 2000-07-08  Jim Meyering  <meyering@lucent.com>
1025
1026         * xgethostname.c (ENAMETOOLONG): Define to an unlikely value
1027         if not defined.
1028         (xgethostname): Remove now-unnecessary #ifdef.
1029         Move declaration of `err' into loop where it's used.
1030
1031 2000-07-05  Bruno Haible  <haible@clisp.cons.org>
1032
1033         * xgethostname.c (xgethostname): Protect against the SunOS5.5 bug
1034         by allocating a larger buffer. Test the gethostname return value for
1035         being >= 0, not == 0, for BeOS.  Don't exhaust memory if gethostname
1036         returns an error and ENAMETOOLONG isn't defined.
1037
1038 2000-07-05  Paul Eggert  <eggert@twinsun.com>
1039         and Bruno Haible  <haible@clisp.cons.org>
1040
1041         * quotearg.c (mbrtowc): Declare returned type, since BeOS doesn't.
1042
1043 2000-07-05  Bruno Haible  <haible@clisp.cons.org>
1044
1045         * quotearg.c (struct quoting_options): Simplify quote_these_too
1046         dimension.
1047
1048 2000-07-03  Jim Meyering  <meyering@lucent.com>
1049
1050         * strndup.c: [!HAVE_DECL_STRNLEN]: Declare strnlen.
1051         Reported by Bruno Haible.
1052
1053 2000-07-04  Jim Meyering  <meyering@lucent.com>
1054
1055         * quotearg.c: Make inclusion of <wchar.h> independent of whether
1056         HAVE_MBRTOWC is set.  Required at least for irix-5.6, which
1057         lacks mbrtowc.
1058
1059 2000-07-03  Paul Eggert  <eggert@twinsun.com>
1060         and Bruno Haible  <haible@clisp.cons.org>
1061
1062         * quotearg.c (mbrtowc):
1063         Assign to *pwc, and return 1 only if result is nonzero.
1064         (iswprint): Use ISPRINT when substituting our own mbrtowc.
1065
1066 2000-07-03  Jim Meyering  <meyering@lucent.com>
1067
1068         * readutmp.h: [HAVE_UTMPX_H]: Include <utmp.h> if HAVE_UTMP_H.
1069         This is necessary to get a definition of e.g., UTMP_FILE on HP-UX 10.20.
1070         From Bob Proulx.
1071
1072 2000-07-02  Jim Meyering  <meyering@lucent.com>
1073
1074         * quotearg.c (mbstate_t): Don't define here.
1075
1076 2000-07-02  Jim Meyering  <meyering@lucent.com>
1077
1078         * nanosleep.c (SIGCONT): Define if not already defined.
1079
1080 2000-06-17  Bruno Haible  <haible@clisp.cons.org>
1081
1082         * mountlist.c: Use MOUNTED_FS_STAT_DEV instead of MOUNTED_NEXT_DEV,
1083         per change in ../m4/ls-mntd-fs.m4.
1084         (read_filesystem_list): Ignore symbolic links.
1085
1086 2000-06-29  Jim Meyering  <meyering@lucent.com>
1087
1088         * same.c: Include <string.h> or <strings.h>, as appropriate,
1089         for declaration of strcmp.
1090
1091         * long-options.c: Include <stdlib.h>, for declaration of exit.
1092
1093         * mountlist.c (fsp_to_string) [HAVE_F_FSTYPENAME_IN_STATFS]:
1094         Avoid warning by casting result to `char *' to remove `const'.
1095
1096 2000-06-17  Bruno Haible  <haible@clisp.cons.org>
1097
1098         * Makefile.am (libfetish_a_SOURCES): Remove readutmp.c.
1099
1100 2000-06-26  Paul Eggert  <eggert@twinsun.com>
1101
1102         savedir now sets errno on failure and invokes xmalloc to get memory.
1103         Fix a couple of other minor bugs while we're at it.
1104
1105         * savedir.c (<unistd.h>): Do not include; there's no need.
1106         (NAMLEN): Remove macro.
1107         (malloc, realloc): Remove decls.
1108         (stpcpy): Likewise.
1109         ("xalloc.h"): Include.
1110         (NAME_SIZE_DEFAULT): New macro.
1111         (savedir): Use xmalloc / xrealloc to allocate memory.
1112         Use NAME_SIZE_DEFAULT if name_size is negative or overflows to zero.
1113         Skip "" directory entries.
1114         Use strlen to calculate directory entry length, since the old method
1115         is rarely used these days and isn't worth supporting.
1116         Don't use a pointer after freeing it.
1117         Check for integer overflow when calculating allocation size.
1118         Use memcpy to copy entries, instead of stpcpy.
1119         Set errno properly when returning NULL.
1120         Check for readdir error.
1121
1122 2000-06-26  Jim Meyering  <meyering@lucent.com>
1123
1124         * posixtm.c [HAVE_STDLIB_H]: Include stdlib.h, for decl of abort.
1125
1126 2000-06-17  Bruno Haible  <haible@clisp.cons.org>
1127
1128         * getusershell.c (xmalloc, xrealloc): Remove functions.
1129         Include xalloc.h.
1130         Don't include <stdlib.h>.  Don't declare malloc, realloc.
1131
1132 2000-06-23  Bruno Haible  <haible@clisp.cons.org>
1133
1134         * unicodeio.c (print_unicode_char): Work around ansi2knr deficiency.
1135
1136 2000-06-24  Jim Meyering  <meyering@lucent.com>
1137
1138         * error.c [!HAVE_DECL_STRERROR_R]: Declare strerror_r.
1139
1140 2000-06-21  Jim Meyering  <meyering@lucent.com>
1141
1142         * getpass.c: New file, from Bruno Haible.  Required for BeOS.
1143
1144 2000-06-19  Paul Eggert  <eggert@twinsun.com>
1145
1146         * quotearg.c: Include <wctype.h> after <wchar.h>, for Solaris 2.5.
1147         (mbrtowc, mbstate_t): Define substitutes if
1148         HAVE_MBRTOWC && HAVE_WCHAR_H && !HAVE_MBSTATE_T_OBJECT.
1149         (iswprint): Define to 1 if !defined iswprint && !HAVE_ISWPRINT,
1150         not if ! (HAVE_MBRTOWC && HAVE_WCHAR_H).
1151
1152 2000-06-17  Bruno Haible  <haible@clisp.cons.org>
1153
1154         * xgetcwd.c (xgetcwd): If the required pathname length is smaller
1155         than 1024, return a memory chunk of least possible size, instead
1156         of size PATH_MAX + 2. In the loop, increment the size proportionally.
1157         Use free/xmalloc instead of xrealloc to avoid copying for very long
1158         paths.
1159
1160 2000-06-17  Bruno Haible  <haible@clisp.cons.org>
1161
1162         * canon-host.c (canon_host): Use malloc and memcpy to copy an
1163         address, not strdup.  Include <stdlib.h> and don't declare free().
1164
1165 2000-06-17  Bruno Haible  <haible@clisp.cons.org>
1166
1167         * path-concat.c (path_concat): Don't access dir[-1] if dir is
1168         the empty string.
1169
1170 2000-06-21  Jim Meyering  <meyering@lucent.com>
1171
1172         * Makefile.am (libfetish_a_SOURCES): Add getstr.c.
1173         (noinst_HEADERS): Add getstr.h.
1174
1175         * getline.c (getstr): Move into a separate file.
1176         * getstr.c (getstr): New file, extracted from getline.c, with
1177         the following changes: new parameter, delim2; both delim[12]
1178         parameters have type `int', not `char'.  The latter would lose
1179         with 8-bit delimiters.
1180         * getstr.h: New file.
1181
1182 2000-06-19  Jim Meyering  <meyering@lucent.com>
1183
1184         * getloadavg.c [HAVE_NLIST_H] (NLIST_STRUCT): Define.
1185
1186 2000-06-18  Jim Meyering  <meyering@lucent.com>
1187
1188         * mkdir.c: Remove file, due mainly to copyright incompatibility.
1189         Besides, these days every porting target provides a mkdir function.
1190
1191         * strnlen.c: Include memory.h, string.h, and/or strings.h as needed.
1192         (this snippet comes from src/system.h).
1193
1194 2000-06-15  Paul Eggert  <eggert@twinsun.com>
1195
1196         * human.c (adjust_value): New function.
1197         (human_readable_inexact): Apply rounding style even when
1198         printing approximate values.
1199
1200 2000-06-14  Paul Eggert  <eggert@twinsun.com>
1201
1202         * human.c (human_readable_inexact): Allow an input block
1203         size that is not a multiple of the output block size, and vice versa.
1204         Reported by Piergiorgio Sartor.
1205
1206 2000-06-14  Paul Eggert  <eggert@twinsun.com>
1207
1208         * getdate.y (get_date): Apply relative times after time
1209         zone indicator, not before.  Reported by Todd A. Jacobs.
1210
1211 2000-06-13  Jim Meyering  <meyering@lucent.com>
1212
1213         * Makefile.am (all-local): Depend on lstat.c and stat.c.
1214
1215         * xstat.in [!HAVE_DECL_FREE]: Declare free in lstat.c.
1216
1217 2000-06-12  Paul Eggert  <eggert@twinsun.com>
1218
1219         * xstat.in: Include <stdlib.h> in lstat, to declare "free".
1220
1221 2000-06-04  Paul Eggert  <eggert@twinsun.com>
1222
1223         * strnlen.c: Include <config.h> if HAVE_CONFIG_H.
1224
1225 2000-06-04  Jim Meyering  <meyering@lucent.com>
1226
1227         * getugroups.c (getugroups): Cast -1 to gid_t, for systems like
1228         SunOS4.1.4 for which gid_t is an unsigned type.
1229
1230 2000-06-03  Jim Meyering  <meyering@lucent.com>
1231
1232         * strnlen.c [!HAVE_DECL_MEMCHR]: Declare memchr.
1233
1234 2000-05-26  Bruno Haible  <haible@clisp.cons.org>
1235
1236         * Makefile.am (install-exec-local): On systems with glibc-2.1 or
1237         newer, don't install charset.alias.
1238         * config.charset: Change the Linux/glibc rules so they become empty
1239         on glibc-2.1 or newer.
1240
1241 2000-06-02  Jim Meyering  <meyering@lucent.com>
1242
1243         * mountlist.c: Back out last change.  Instead, do this...
1244         * mountlist.c (read_filesystem_list) [MOUNTED_VMOUNT]: Set the me_dummy
1245         member using the same `ignore'-testing code.
1246         * mountlist.h (ME_DUMMY): Add `autofs' to the list of ignored
1247         fs_type strings.
1248         From Mark D. Roth.
1249
1250 2000-05-29  Jim Meyering  <meyering@lucent.com>
1251
1252         * mountlist.c (read_filesystem_list) [MOUNTED_VMOUNT]: Ignore mounts
1253         with the `ignore' attribute.  Based on a patch from Mark D. Roth.
1254
1255 2000-05-22  Jim Meyering  <meyering@lucent.com>
1256
1257         * makepath.c: Remove old, now-unnecessary `#ifdef __MSDOS__' block.
1258
1259 2000-05-18  Jim Meyering  <meyering@lucent.com>
1260
1261         * hash.c (hash_rehash): Fix a nasty bug: copy the free entry list
1262         back, too, since it may have been modified by allocate_entry.
1263         (hash_delete): Rewrite to use neither the assignment operator
1264         nor the comma operator in an if-expression.
1265
1266 2000-05-15  Paul Eggert  <eggert@twinsun.com>
1267
1268         * closeout.c:
1269         <sys/stat.h>, <sys/types.h>, <unistd.h>, (STDOUT_FILENO):
1270         Remove; no longer needed.
1271         "quotearg.h": Add include.
1272         (file_name): Do not bother to explicitly initialize to NULL; it's less
1273         efficient on some hosts.
1274         (close_stdout_status): Remove test as to whether stdout was already
1275         closed; it breaks for the case "echo x | sort >&-".
1276         Quote file name colons.
1277         Do not assume that _("write error") lacks format strings.
1278
1279 2000-05-15  Jim Meyering  <meyering@lucent.com>
1280
1281         * version-etc.c (version_etc_copyright): Update the copyright string
1282         used in all --version output.
1283
1284 2000-05-14  Jim Meyering  <meyering@lucent.com>
1285
1286         * closeout.c (close_stdout_set_file_name): New function.
1287         (close_stdout_status): Use new file-scoped global.
1288         Return right away if fstat says the stdout file descriptor is invalid.
1289         * closeout.h (close_stdout_set_file_name): Declare.
1290
1291 2000-05-10  Jim Meyering  <meyering@lucent.com>
1292
1293         * closeout.c [default_exit_status]: New file-scoped variable.
1294         (close_stdout_set_status): New function.
1295         * closeout.h (close_stdout_set_status): Declare.
1296
1297 2000-05-08  Jim Meyering  <meyering@lucent.com>
1298
1299         * long-options.c: Don't include closeout.h.
1300         (parse_long_options): Don't call close_stdout for --version.
1301
1302 2000-05-06  Jim Meyering  <meyering@lucent.com>
1303
1304         * strnlen.c: Undefine __strnlen and strnlen.
1305         [!weak_alias]: Define __strnlen to strnlen.
1306
1307         * atexit.c: New file, from libiberty.
1308
1309 2000-05-06  Jim Meyering  <meyering@lucent.com>
1310
1311         * closeout.c (close_stdout_status): Also check for errors on the
1312         stderr stream.
1313
1314 2000-05-05  Bruno Haible  <haible@clisp.cons.org>
1315
1316         * localcharset.c (get_charset_aliases): Use malloc, realloc and memcpy
1317         instead of xmalloc, xrealloc, path_concat.
1318         (locale_charset): Treat empty environment variables as absent.
1319         (DIRECTORY_SEPARATOR, ISSLASH): New macros.
1320
1321 2000-05-04  Jim Meyering  <meyering@lucent.com>
1322
1323         * getopt.c: Update from glibc.
1324         * obstack.c: Likewise.
1325         * obstack.h: Likewise.
1326         * regex.c: Likewise.  NB: K&R compiler support is dropped for this file
1327
1328         * regex.h: Likewise.
1329         * strndup.c: Likewise.
1330         * strnlen.c: New file, from glibc.
1331
1332 2000-05-01  Jim Meyering  <meyering@lucent.com>
1333
1334         * full-write.c (full_write): Remove `FIXME' part of comment.
1335
1336 2000-04-29  Jim Meyering  <meyering@lucent.com>
1337
1338         * path-concat.c: Declare strdup only if it's not defined.
1339         * canon-host.c: Likewise.
1340
1341 2000-04-28  Jim Meyering  <meyering@lucent.com>
1342
1343         * rpmatch.c [HAVE_LIMITS_H]: Include limits.h before regex.h to avoid
1344         redefinition warning on some systems (HPUX).  Otherwise, regex.h is
1345         included first, then limits.h is included by locale.h by libintl.h.
1346         From John David Anglin.
1347
1348 2000-04-25  Jim Meyering  <meyering@lucent.com>
1349
1350         * makepath.c (S_IRWXUGO): Define.
1351         (make_path): Always perform explicit chmod if MODE specifies any
1352         of the `special' permission bits.  Prompted by a bug report against
1353         install from Mate Wierdl and Joost van Baal.
1354
1355 2000-04-18  Jim Meyering  <meyering@lucent.com>
1356
1357         * README: New file.
1358
1359         * getpagesize.h [!getpagesize && HAVE_OS_H && B_PAGE_SIZE]: Define
1360         getpagesize.  For BeOS.  Based on a patch from Bruno Haible.
1361
1362 2000-04-17  Jim Meyering  <meyering@lucent.com>
1363
1364         * strftime.c (my_strftime) [strftime]: Declare strftime here, since
1365         the definition of it to rpl_strftime also defined-away the system's
1366         declaration.
1367
1368 2000-04-15  Jim Meyering  <meyering@lucent.com>
1369
1370         Use `C' to denote so-called `contiguous' files, the same way
1371         that tar does.
1372         * filemode.c (S_ISCTG) [!S_ISCTG && S_IFCTG]: Define.
1373         (ftypelet): Use S_ISCTG.
1374         From Michael Deutschmann.
1375
1376 2000-04-14  Jim Meyering  <meyering@lucent.com>
1377
1378         * strftime.c (my_strftime) [#ifdef strftime]: Declare strftime.
1379
1380 2000-04-08  Jim Meyering  <meyering@lucent.com>
1381
1382         * Makefile.am (charset.alias): Use t-$@, not $@-t so the DOS 8.3
1383         names don't conflict.  Reported by Eli Zaretskii.
1384
1385 2000-03-28  Bruno Haible  <haible@clisp.cons.org>
1386
1387         * unicodeio.c (print_unicode_char): Avoid triggering Solaris iconv
1388         bug.  Deal with the different error behavior of Irix iconv.
1389
1390 2000-04-07  Jim Meyering  <meyering@lucent.com>
1391
1392         * putenv.c: Move inclusion of errno.h so it follows that of sys/types.h,
1393         to work around system header problems on AIX 3.2.5.  From Bruno Haible.
1394
1395 2000-04-05  Jim Meyering  <meyering@lucent.com>
1396
1397         Portability tweaks required for ultrix4.3.
1398         * readutmp.h [HAVE_UTMPX_H && !HAVE_DECL_GETUTENT]: Declare getutent.
1399         * readutmp.c: Include sys/types.h before sys/stat.h.
1400         * canon-host.c: Declare strdup.
1401         * path-concat.c: Likewise.
1402         From John David Anglin.
1403
1404 2000-04-04  Jim Meyering  <meyering@lucent.com>
1405
1406         Be more DOS 8.3-friendly.
1407         * ref-add.sin: Renamed from ref-add.sed.in.
1408         * ref-del.sin: Renamed from ref-del.sed.in.
1409         * Makefile.am: Reflect renaming.
1410         Reported by Eli Zaretskii.
1411
1412         Use a temporary file name that won't clash with `charset.alias'
1413         in the DOS 8.3 name space.
1414         * Makefile.am (charset_tmp): Define.
1415         (install-exec-local): Use $(charset_tmp) instead of $(charset_alias)-t.
1416         (uninstall-local): Likewise.
1417         Reported by Eli Zaretskii.
1418
1419 2000-03-29  Paul Eggert  <eggert@twinsun.com>
1420
1421         * time/strftime.c (my_strftime): Make sure we call the system
1422         strftime, not ourselves, when invoking the underlying strftime.
1423
1424 2000-03-24  Jim Meyering  <meyering@lucent.com>
1425
1426         * Makefile.am (EXTRA_DIST): Add ref-add.sed.in and ref-del.sed.in.
1427         (charset_alias): Define.
1428         (install-exec-local): Factor out common code.
1429         (uninstall-local): Split lines longer than 80.
1430         (ref-add.sed, ref-del.sed): Remove rules... (do the following instead)
1431         (SUFFIXES): Define.
1432         (.sed.in.sed): New rule.  Don't redirect directly to $@.
1433         (CLEANFILES): Add ref-add.sed and ref-del.sed.
1434
1435 2000-03-19  Bruno Haible  <haible@clisp.cons.org>
1436
1437         * config.charset: Output a line containing "Packages using this file".
1438         * ref-add.sed.in, ref-del.sed.in: New files.
1439         * Makefile.am (install-exec-local, uninstall-local, ref-add.sed,
1440         ref-del.sed): New rules.
1441
1442 2000-03-17  Jim Meyering  <meyering@lucent.com>
1443
1444         * unicodeio.c (<string.h>): Include only #if HAVE_STRING_H.
1445         Otherwise, include <strings.h>
1446
1447 2000-03-17  Bruno Haible  <haible@clisp.cons.org>
1448
1449         * unicodeio.c (utf8_wctomb): New function.
1450         (print_unicode_char): Pass the Unicode character to iconv in UTF-8
1451         format instead of in UCS-4 with platform dependent endianness.
1452
1453 2000-03-07  Paul Eggert  <eggert@twinsun.com>
1454
1455         * savedir.c (savedir): Work even if directory size is
1456         negative; this can happen with some screwy NFS configurations.
1457
1458 2000-03-06  Jim Meyering  <meyering@lucent.com>
1459
1460         * localcharset.c (get_charset_aliases): Don't try to free file_name
1461         if it's NULL (because we ran out of memory).  From Bruno Haible.
1462
1463 2000-03-05  Jim Meyering  <meyering@lucent.com>
1464
1465         * localcharset.c ("path-concat.h"): Include.
1466         (get_charset_aliases): Use path_concat instead of ANSI string
1467         concatenation.
1468
1469         * unicodeio.h (PARAMS): Define.
1470         Use it to guard prototype.
1471
1472 2000-03-04  Jim Meyering  <meyering@lucent.com>
1473
1474         * Makefile.am (install-exec-local): Create $(libdir) before installing
1475         into it.
1476         (uninstall-local): Uncomment this rule so `make distcheck' works
1477         once again.
1478
1479         * unicodeio.c (<errno.h>): Include it.
1480         (errno): Declare if not defined.
1481
1482         * localcharset.c: Add Bruno's comment justifying use of volatile.
1483
1484         * config.charset: New version, incorporating remarks from a linux
1485         i18n mailing list.  From Bruno Haible.
1486
1487 2000-03-02  Jim Meyering  <meyering@lucent.com>
1488
1489         * Makefile.am (EXTRA_DIST): Add config.charset.
1490
1491 2000-03-01  Jim Meyering  <meyering@lucent.com>
1492
1493         * localcharset.c: Guard some #includes with `#if HAVE_...'.
1494         * unicodeio.c: Likewise.
1495
1496 2000-02-02  Bruno Haible  <haible@clisp.cons.org>
1497
1498         * config.charset: New file.
1499         * localcharset.c: New file.
1500         * unicodeio.h, unicodeio.c: New files.
1501         * Makefile.am (DEFS): Add -DLIBDIR=...
1502         (libfetish_a_SOURCES): Add localcharset.c and unicodeio.c.
1503         (noinst_HEADERS): Add unicodeio.h.
1504         (all-local, install-exec-local, charset.alias): New targets.
1505
1506 2000-02-28  Paul Eggert  <eggert@twinsun.com>
1507
1508         * quotearg.c (ALERT_CHAR): New macro.
1509         (quotearg_buffer_restyled): Use it.
1510
1511 2000-02-27  Jim Meyering  <meyering@lucent.com>
1512
1513         * strtoumax.c: Fix typo in decl of strtoul: s/long long/long/.
1514         Guard declaration of strtoull also with `&& HAVE_UNSIGNED_LONG_LONG'.
1515
1516         * backupfile.c: Guard inclusion of stdlib.h with `#if HAVE_STDLIB_H',
1517         not `#if STDC_HEADERS'.
1518         Declare malloc if needed.
1519
1520         * backupfile.c: Use `#if !HAVE_DECL...' instead of `#ifndef HAVE_DECL..'
1521         now that autoconf always defines the HAVE_DECL_ symbols.
1522         * human.c: Likewise.
1523         * same.c: Likewise.
1524         * strtoumax.c: Likewise.
1525
1526         * backupfile.c: Arrange for cpp to fail if the configure-time
1527         declaration check was not run.
1528         * hash.c: Likewise.
1529         * human.c: Likewise.
1530         * same.c: Likewise.
1531         * strtoumax.c: Likewise.
1532
1533         * userspec.c (parse_user_spec): If there is no `:' but there is a `.',
1534         then first look up the entire `.'-containing string as a login name.
1535
1536 2000-02-18  Paul Eggert  <eggert@twinsun.com>
1537
1538         * getdate.y: Handle two-digit years with leading zeros correctly.
1539         (textint): New typedef.
1540         (parser_control): Member year changed from int to textint.
1541         All uses changed.
1542         (YYSTYPE): Removed; replaced by %union with int and textint members.
1543         (tDAY, tDAY_UNIT, tDAYZONE, tHOUR_UNIT, tID, tLOCAL_ZONE, tMERIDIAN,
1544         tMINUTE_UNIT, tMONTH, tMONTH_UNIT tSEC_UNIT, tSNUMBER, tUNUMBER,
1545         tYEAR_UNIT, tZONE, o_merid): Now of type <intval>.
1546         (tSNUMBER, tUNUMBER): Now of type <textintval>.
1547         (date, number, to_year): Use width of number in digits, not its value,
1548         to determine whether it's a 2-digit year, or a 2-digit time.
1549         (yylex): Store number of digits of numeric tokens.
1550         Reported by John Kendall.
1551
1552         (parser_control): Changed from struct parser_control to typedef (for
1553         consistency).  All uses changed.
1554
1555         (tID): Removed; not used.
1556         (yylex): Return '?' for unknown identifiers, rather than (unused) tID.
1557
1558 2000-02-14  Paul Eggert  <eggert@twinsun.com>
1559
1560         * getpagesize.h (getpagesize): Port to VMS for Alpha;
1561         adapted from changes to grep getpagesize.h by Martin P.J. Zinser.
1562
1563 2000-02-12  Jim Meyering  <meyering@lucent.com>
1564
1565         * userspec.c (ISDIGIT): Define it.
1566         (isdigit): Remove definition.
1567         (is_number): Use ISDIGIT, not isdigit.
1568         <libintl.h>: Include.
1569         (_ and N_): Define.
1570         (parse_user_spec): Mark translatable strings.
1571
1572 2000-02-10  Jim Meyering  <meyering@lucent.com>
1573
1574         With these changes, nanosleep.[ch] are finally enough like the other
1575         lib/* replacement files to compile on a few more losing systems.
1576
1577         * nanosleep.h: Don't include config.h.
1578         Remove prototype from declaration of nanosleep.
1579         (PARAMS): Remove now-unneeded definition.
1580         * nanosleep.c: #undef nanosleep.
1581         (rpl_nanosleep): Rename from nanosleep.
1582
1583 2000-02-03  Jim Meyering  <meyering@lucent.com>
1584
1585         * readutmp.c (read_utmp): Guard with `#ifdef UTMP_NAME_FUNCTION',
1586         rather than with `#if HAVE_UTMPNAME'.
1587
1588 2000-02-01  Jim Meyering  <meyering@lucent.com>
1589
1590         * readutmp.h (UT_USER): Add parens.  From Andreas Schwab.
1591
1592 2000-01-31  Jim Meyering  <meyering@lucent.com>
1593
1594         * nanosleep.h (nanosleep): Guard declaration with
1595         `#if ! HAVE_DECL_NANOSLEEP'.
1596         Without this, OFS gets a redeclaration error for rpl_nanosleep, due to
1597         the declaration in that vendor's sys/timers.h.
1598         Reported by Christian Krackowizer.
1599
1600         * quotearg.c (ISASCII): Add #undef and move definition to follow
1601         inclusion of wctype.h to work around solaris2.6 namespace pollution.
1602         (ISPRINT): Likewise.
1603         Reported by Tom Tromey.
1604
1605 2000-01-30  Jim Meyering  <meyering@lucent.com>
1606
1607         * readutmp.c (extract_trimmed_name): Use UT_USER instead of hard-coding
1608         uses of ->ut_name.  The latter doesn't work with new Linux header files
1609         where only utmpx.ut_user is declared.
1610
1611         * readutmp.h (UT_USER): Define.
1612
1613 2000-01-23  Jim Meyering  <meyering@lucent.com>
1614
1615         * Makefile.am (libfetish_a_SOURCES): Remove explicit mention of
1616         obstack.c.
1617
1618 2000-01-22  Jim Meyering  <meyering@lucent.com>
1619
1620         * strtoumax.c: [! HAVE_DECL_STRTOUL]: Declare strtoul.
1621         [! HAVE_DECL_STRTOULL]: Declare strtoull.
1622         Required for some AIX systems.  Reported by Christian Krackowizer.
1623         [TESTING] (main): New function.
1624
1625         1997-10-17  Eli Zaretskii  <eliz@is.elta.co.il>
1626         * dirname.c (dir_name): Support for DOS-style file names with drive
1627         letters.
1628
1629         * quotearg.c [HAVE_WCTYPE_H]: Include <wctype.h> for decl of iswprint.
1630
1631         * strverscmp.c (ISDIGIT): Define.
1632         (strverscmp): Use ISDIGIT, not isdigit.
1633
1634 2000-01-17  Paul Eggert  <eggert@twinsun.com>
1635
1636         * nanosleep.c (nanosleep):
1637         Don't use SA_INTERRUPT to decide whether to call sigaction, as
1638         POSIX.1 doesn't require SA_INTERRUPT and some systems
1639         (e.g. Solaris 7) don't define it.  Use SA_NOCLDSTOP instead;
1640         it's been part of POSIX.1 since day 1 (in 1988).
1641
1642 2000-01-17  Jim Meyering  <meyering@lucent.com>
1643
1644         * interlock: Remove unused file.  Reported by François Pinard.
1645
1646 2000-01-16  Paul Eggert  <eggert@twinsun.com>
1647
1648         * quotearg.c (quotearg_buffer_restyled): Do not quote
1649         alert, backslash, formfeed, and vertical tab unnecessarily in
1650         shell quoting style.
1651
1652 Local Variables:
1653 version-control: never
1654 End: