1 2003-03-18 Jim Meyering <jim@meyering.net>
3 * src/fmt.c [struct Word] (paren, period, punct, final): Change the
4 type of each member from bool <MEMBER>:1 to unsigned int <MEMBER>:1.
5 AIX 5.1's xlc could not compile the former.
6 Patch by Petter Reinholdtsen. Also reported by Mike Jetzer.
8 2003-03-16 Jim Meyering <jim@meyering.net>
12 * src/remove.c (rm): Put two local variables in static storage,
13 so they can't be clobbered by the potential longjmp.
15 2003-03-15 Jim Meyering <jim@meyering.net>
17 * Makefile.cfg (gnu_rel_host): Fix code to match the comment
18 so that a version number with a two-digit component can still count
19 as an alpha release. Reported by Richard A Downing.
20 (gnu_rel_host): Define in terms of $(RELEASE_TYPE) instead.
22 2003-03-14 Jim Meyering <jim@meyering.net>
24 * src/ansi2knr.c: Remove no-longer-used file.
25 * src/ansi2knr.1: Likewise.
27 * Makefile.maint (prev_version_file): Don't use ?= for this particular
28 assignment, since it causes trouble with old versions of GNU make
29 (e.g. 3.76.1). The other uses of `?=' are inoffensive. Details here.
30 http://mail.gnu.org/archive/html/bug-coreutils/2003-03/msg00028.html
31 Patch from Alexandre Duret-Lutz.
33 * Use patched automake-1.7.3. Regenerate Makefile.in files in
34 subdirectories so that each includes a definition of ACLOCAL_M4.
36 * announce-gen (main): Label the compressed source URLs.
40 * tests/du/slink: Relax the test for the `local'ness of a file system,
41 so that now it works also for tmpfs.
43 * tests/du/hard-link: Transform output from first du, so that this
44 test doesn't fail on file systems like tmpfs that order directory
47 2003-03-13 Jim Meyering <jim@meyering.net>
49 * tests/du/8gb: Work around what appears to be an NFS failure that
50 would make this test fail on some systems.
52 2003-03-11 Jim Meyering <jim@meyering.net>
54 * tests/du/basic: Make the test file exactly 4k bytes long.
56 * src/split.c (longopts): Don't hard-code `2' here.
57 Instead, just specify `&verbose', and ...
58 (main): ... remove the `case 2:' block for --verbose.
60 * tests/du/basic: Make the test file larger than 64 bytes, so that
61 we don't immediately disqualify file systems (e.g., NetApp) on which
62 smaller files take up zero disk blocks. Reported by Vin Shelton.
64 2003-03-10 Jim Meyering <jim@meyering.net>
66 Don't segfault for a negative field width or precision in format string.
67 Note that this is just a stopgap fix. The longer term solution may
68 involve adapting bash's builtins/printf.def.
70 * src/printf.c: (UNSPECIFIED): Define.
71 (print_direc): Use the special value, UNSPECIFIED, to indicate
72 that field_width or precision has not been specified.
73 (print_formatted): Fail if field_width or precision is the
74 special value, UNSPECIFIED.
75 Reported by Oliver Kiddle <okiddle@yahoo.co.uk>
77 * src/sys2.h (INT_MIN): Define, if necessary.
78 * tests/misc/printf: Add a test for the above-fixed bug.
80 2003-03-09 Jim Meyering <jim@meyering.net>
82 * src/remove.c (AD_stack_pop): Cast sizeof... to int before
83 changing its sign. This avoids a warning from gcc on 64-bit systems.
84 Reported by Bob Proulx.
85 (pop_dir): Reverse order of sign change and cast, to be consistent
88 2003-03-08 Jim Meyering <jim@meyering.net>
90 * tests/Makefile.am (evar-check): Check for POSIXLY_CORRECT not as a
91 shell variable, but only in the environment. With /bin/sh->bash, the
92 shell variable is set to `y', and that would cause a spurious warning.
93 Reported by Bob Proulx.
95 * tests/Makefile.am (check-root): Remove touch/fifo.
96 It doesn't appear to have to be run as root.
98 * tests/rm/fail-2eperm: Rather than simply using the first non-root
99 user name, make sure that the selected user name has a usable shell.
100 Reported by Paul Jarc.
102 Before, when using shred on a device, one had to specify --exact,
103 or be careful to choose a size that would not be rounded up and
104 exceed the maximum value; that could result in a failure of
106 * src/shred.c (do_wipefd): --exact is now the default for non-regular
107 files. Suggestion from Ben Elliston.
110 * tests/misc/tty-eof: Require at least version 1.11 of Expect.pm.
111 Old versions of Expect.pm (e.g., 1.07) lack the log_user function.
114 * src/Makefile.am (check-misc): Check for use of `defined' in
116 Change to $(srcdir) before running grep.
118 * src/sleep.c: Remove now-unused #include and #define directives.
120 * src/du.c (process_file): If a file's size is not being counted
121 e.g., because it's a hard link to a file we've already counted,
122 then don't print a line for it.
124 * tests/du/hard-link: New test for the above-fixed bug.
125 * tests/du/Makefile.am (TESTS): Add hard-link.
128 * src/du.c: Revert most of the `reorganization' change of 2003-02-20,
129 and make the two-array approach work.
131 * tests/du/basic: Correct/add tests for the above fix.
132 Set LC_ALL, etc., now that we use sort.
133 Check the block/size of a small file, too.
134 Correct expected results for simple dir1/dir2/file case.
135 Add another test of du -S.
137 2003-03-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
139 Avoid build failure with gcc on hppa1.1-hp-hpux10.20 (see GCC PR
140 middle-end/9986). As one of GCC's optimizations, it transforms a
141 fputs_unlocked call to a fputc_unlocked call when the string is
142 one character long. However, hpux doesn't have fputc_unlocked.
144 * expr.c (usage): Use putchar, not fputs, to output a single character.
145 * ls.c (dired_dump_obstack): Likewise.
146 * ptx.c (output_one_tex_line, output_one_dumb_line): Likewise.
147 * stat.c (print_it): Likewise.
149 2003-03-07 Jim Meyering <jim@meyering.net>
151 * src/cp.c: Remove everything associated with mmap-stack.c.
152 This reverts the two changes of 2003-02-21.
153 * src/du.c: Remove everything associated with mmap-stack.c.
154 This reverts the change of 2003-02-19.
156 2003-03-06 Jim Meyering <jim@meyering.net>
158 * tests/cp/same-file: Unset CDPATH. Otherwise, having the
159 CDPATH shell variable set could cause this test to fail.
160 Reported by Karl Berry.
162 2003-03-05 Jim Meyering <jim@meyering.net>
166 * src/printf.c (print_esc): Remove pointless comparison of unsigned
167 integer with zero, to avoid a warning from Intel's ecc.
168 Reported by Nelson Beebe.
170 * src/du.c (process_file): Sizes must all be of type uintmax_t.
171 Otherwise, for files or totals that are too big, numbers would
172 be truncated. Patch mostly by Michael Stone.
173 Reported by Ingo Saitz as Debian bug #183210.
175 * tests/du/8gb: New test for the above-fixed bug.
176 * tests/du/Makefile.am (TESTS): Add 8gb.
178 * src/du.c (MAX_N_DESCRIPTORS): Use 3 * UTILS_OPEN_MAX / 4
179 rather than UTILS_OPEN_MAX - 10.
181 2003-03-04 Jim Meyering <jim@meyering.net>
183 * README: Refer new feature discussion to bug-coreutils@gnu.org,
184 rather than bug-gnu-utils, now that the former is better known.
185 Suggestion from Göran Uddeborg.
187 * src/stat.c (usage): Capitalize consistently.
188 Reported by Göran Uddeborg.
190 * Makefile.maint (rel-files): Include $(signatures), so that
191 those files are also copied into $(release_archive_dir).
193 * src/df.c (find_mount_point): Call error here, now that restore_cwd
195 * src/remove.c (AD_pop_and_chdir): Likewise.
197 * tests/Makefile.am (check-root): Add fail-2eperm.
199 2003-03-03 Jim Meyering <jim@meyering.net>
201 * src/remove.c (remove_cwd_entries): Include the full filename of
202 the offending file, not just the basename.
204 * tests/misc/tty-eof: Set $ME properly.
206 * Makefile.maint (THIS_VERSION_REGEXP, PREV_VERSION_REGEXP):
207 Remove now-unused variables.
208 (tag-prev-version, prev-cvs-tag): Likewise.
210 * src/remove.c (remove_cwd_entries) [!ROOT_CAN_UNLINK_DIRS]: Give an
211 accurate diagnostic when failing to remove a file owned by some other
212 user. Reported by Ivo Timmermans via Michael Stone.
213 This fixes Debian bug# 178471.
215 * tests/rm/Makefile.am (TESTS): Add fail-2eperm.
216 * tests/rm/fail-2eperm: New test, for the above-fixed bug.
217 Based on a report from Ivo Timmermans.
219 2003-03-02 Jim Meyering <jim@meyering.net>
221 * src/copy.c (copy_internal) [un_backup]: When recovering from a
222 failure to create a hard link, do not remove the entry associating
223 the source dev/ino with the destination file name.
224 * tests/mv/Makefile.am (TESTS): Add hard-3.
225 * tests/mv/hard-3: New test, for the above-fixed bug.
226 Inspired by a report from Iida Yosiaki.
228 2003-03-01 Jim Meyering <jim@meyering.net>
230 * src/df.c (print_header): Don't embed spaces in a separate `Type'
231 header string. Instead, put `Filesystem' and `Type' headers in the
232 same string, so translators can use horizontal space as needed.
233 Reported by Jean Charles Delepine.
235 2003-02-28 Jim Meyering <jim@meyering.net>
237 * src/copy.c (copy_internal): When link fails because of an
238 existing destination file, unlink that file and try again.
239 Reported by Iida Yosiaki.
241 * tests/mv/Makefile.am (TESTS): Add hard-2.
242 * tests/mv/hard-2: New test for the above-fixed bug.
243 Based on a test case from Iida Yosiaki.
245 2003-02-26 Jim Meyering <jim@meyering.net>
247 * tests/du/basic: Don't test du's -b option here. Directory byte
248 counts are smaller (512 rather than 4096) on at least OSF/1 5.1
249 and IBM AIX 4.2. Reported by Nelson Beebe.
251 2003-02-25 Jim Meyering <jim@meyering.net>
253 * Makefile.maint (announcement): Now that ChangeLog entries
254 are output by announce-gen, don't do it here.
255 * announce-gen (print_changelog_deltas): New function.
258 2003-02-22 Jim Meyering <jim@meyering.net>
260 * announce-gen: New option: --release-type=TYPE
261 * Makefile.maint (beta, major): New targets. Remove `release'.
262 Put them all together on a line.
263 Pass the release type (via RELEASE_TYPE envvar) to the MAKE
264 invocation of `announcement'.
265 (announcement): Invoke announce-gen with --release-type=$RELEASE_TYPE.
267 * announce-gen: New option: --news=NEWS_FILE.
268 Extract NEWS entries here, not via rules in Makefile.maint.
269 * Makefile.maint (announcement): Now that NEWS entries are
270 extracted by announce-gen, don't do it here.
271 (news-r1, news-r2): Remove now-unused definitions.
273 2003-02-21 Jim Meyering <jim@meyering.net>
277 Merge in changes from autoconf's version of this file.
278 * Makefile.maint (www-gnu): Define.
279 (standards.texi-url_prefix): Use $(www-gnu).
280 (make-stds.texi-url_prefix): Likewise.
282 * src/cp.c: Include "mmap-stack.h".
283 (main): Invoke `run' through a macro that (when possible) runs it
284 with a large, mmap'd stack.
286 * src/cp.c (run): New function, preparing for the above.
287 Exit from this function, not from main
290 * src/du.c: New option: --apparent-size.
291 (enum) [APPARENT_SIZE_OPTION]: New member.
292 (long_options): Add it.
293 (usage): Describe it.
295 ['b']: Set apparent_size.
296 David Eisner reported that the behavior of --bytes had changed.
297 Paul Eggert proposed the use of a new option, --apparent-size.
299 * src/du.c (apparent_size): New global.
300 (print_only_size): Reflect the fact that we're printing byte counts,
301 not ST_NBLOCKSIZE-byte-block counts.
302 (print_size): Call print_only_size rather than duplicating its code.
303 (process_file): Accumulate byte counts, rather than block counts.
305 * src/du.c (process_file): Always reset size_to_propagate_to_parent
306 for --separate-dirs (-S).
308 2003-02-20 Jim Meyering <jim@meyering.net>
310 * Use automake-1.7.3. Regenerate dependent files.
312 * src/stat.c (print_stat): New format: %B (to print ST_NBLOCKSIZE).
313 This makes %b (number of ST_NBLOCKSIZE-byte blocks) more useful.
314 (usage) [%B]: Describe it.
317 * src/du.c (process_file): Reorganize the code to use only
318 one `sum' array, and change how -S works back to the way it was
319 before 2003-01-31. Patch by Bruno Haible.
321 * tests/du/basic: New test.
322 * tests/du/Makefile.am (TESTS): Add basic.
324 * tests/envvar-check: Add checks for the following:
325 BLOCK_SIZE, DU_BLOCK_SIZE, DF_BLOCK_SIZE, LS_BLOCK_SIZE.
327 * tests/Makefile.am: Rename phony target envvar-check to evar-check
328 so as not to conflict with the distributed file by the same name.
330 * src/du.c (process_file): Set info->skip before any possible return.
332 Report correct usage for directories, not 0.
333 * src/du.c (process_file): Return for `file_type == FTW_DPRE'
334 _before_ recording the dev/ino of a directory.
335 Reported by Bruno Haible.
337 Now, df always displays the device file name corresponding to the
338 listed mount point under `Filesystem'. Before, for an unmounted
339 block- or character-special file argument, it would display the
340 command-line argument instead.
341 * src/df.c (show_disk): Return a value indicating whether
342 there was a match. Don't try to find a mount point here.
343 (show_entry): If show_disk doesn't find a match, call show_point.
345 2003-02-19 Jim Meyering <jim@meyering.net>
347 * src/du.c: Include "mmap-stack.h".
348 (du_files): Add prototype with ATTRIBUTE_NORETURN.
349 Exit from this function, not from...
351 Instead, if possible, invoke du_files through a macro that
352 runs it with a large, mmap'd stack.
354 * src/join.c (usage): Change wording in --help output:
355 use FILENUM instead of `SIDE' and say what FILENUM means.
356 Reported by Bernhard Gabler.
358 * src/df.c (print_header): Rather than using a hard-coded literal
359 string of spaces matching the length of the English `...Type' header,
360 output the right number of spaces to match the selected translation.
361 Reported by Yann Dirson and Jean Charles Delepine as Debian bug 131113.
363 * src/split.c (bytes_split): Remove unnecessary `else' after break.
364 (lines_split): Likewise. and correct misleading indentation.
366 * src/split.c: Include "full-read.h".
367 (bytes_split, lines_split, line_bytes_split): Use full_read,
368 not safe_read. The way split was using the latter, a short read
369 could cause split to terminate before EOF.
371 * tests/misc/tty-eof: Test all programs that can read stdin,
372 requiring no arguments and that write to standard output.
374 * tests/misc/tty-eof: New file. Renamed from ...
375 * tests/misc/cat-tty-eof: Remove file. Rename to tty-eof.
376 * tests/misc/Makefile.am (TESTS): Reflect renaming.
378 2003-02-18 Jim Meyering <jim@meyering.net>
380 cksum would perform an extra read after encountering EOF
381 * src/cksum.c (cksum): Exit the loop upon EOF, too.
382 Patch by Michael Bacarella.
384 Test for the bug fixed today in cksum, md5sum, and sha1sum.
385 * tests/misc/cat-tty-eof: Generalize, clean-up, and test for
386 cat, cksum, md5sum, and sha1sum all in the same loop.
388 2003-02-14 Jim Meyering <jim@meyering.net>
390 * src/remove.c: Include "euidaccess.h".
391 Remove declaration of euidaccess.
393 2003-02-12 Jim Meyering <jim@meyering.net>
395 * src/pathchk.c (portable_chars_only): Remove unnecessary `const'
396 in cast to avoid warning from icc. Reported by Alexandre Duret-Lutz.
398 2003-02-10 Jim Meyering <jim@meyering.net>
400 * src/test.c: Don't include group-member.h.
401 Include euidaccess.h.
402 (eaccess): Rewrite function to set the real uid and gid temporarily
403 to the effective uid and gid, then invoke 'access', and then set the
404 real uid and gid back. On systems that lack setreuid or setregid,
405 fall back on the kludges in euidaccess. Before, it would not work
406 for e.g., files with ACLs, files that were marked immutable,
407 or on file systems mounted read-only. Nelson Beebe raised the issue.
408 Paul Eggert suggested the new implementation.
410 2003-02-09 Jim Meyering <jim@meyering.net>
412 * src/test.c (test_stat): Remove function. It's job is done (only
413 when necessary) by the wrapper in lib/stat.c. Adjust all uses.
415 2003-02-08 Jim Meyering <jim@meyering.net>
419 * tests/mv/part-symlink: Don't assume that the file owner username
420 length is less than 9 in ls output: instead, omit that field
421 altogether. Reported by, and suggested fix from, Ferdinand.
423 * tests/du/restore-wd: New test for just-fixed bug in ftw.c.
424 * tests/du/Makefile.am (TESTS): Add restore-wd.
426 * src/rm.c: Correct now-invalid comment about cycle-detection.
428 2003-02-06 Jim Meyering <jim@meyering.net>
430 * NEWS: Add entries from old/*/NEWS
431 from fileutils-4.1 through 4.1.11 and
432 from sh-utils-2.0 through 2.0.15. Suggestion from Karl Berry.
436 * src/du.c (process_file): Don't return early for excluded files
437 or for files whose dev/inode we've already seen.
439 2003-02-05 Jim Meyering <jim@meyering.net>
441 * tests/du/exclude: New file.
442 * tests/du/Makefile.am (TESTS): Add exclude.
444 2003-02-04 Dmitry V. Levin <ldv@altlinux.org>
446 * src/who.c (print_boottime, print_deadprocs, print_runlevel):
447 Fix memory allocation arithmetic.
449 2003-02-04 Jim Meyering <jim@meyering.net>
451 `df /dev/block-or-char-device-file--not-mounted' now reports
452 the name of the file system on which the file resides, usually `/'.
453 Before, it would leave the `Mounted on' field blank.
454 * src/df.c (show_disk): Move function to precede find_mount_point.
455 (show_disk): Add parameter: STATP.
456 If we don't find a matching device name, then resort to calling
457 find_mount_point. Reported by Bob Proulx.
459 2003-02-03 Andreas Schwab <schwab@suse.de>
461 * tests/rm/cycle: Require non-root.
462 * tests/rm/isatty: Likewise.
464 2003-02-02 Jim Meyering <jim@meyering.net>
468 * man/Makefile.am (check-x-vs-1): Use @PATH_SEPARATOR@, not `:'.
470 Ensure that there are no offending uses of `:'.
471 * Makefile.maint (makefile_path_separator_check): New rule.
472 (local-check): Add it to the list.
474 2003-02-01 Jim Meyering <jim@meyering.net>
476 * src/du.c (MAX_N_DESCRIPTORS): Define.
478 * src/stat.c (G_fail): New global.
479 (human_time): Diagnose failed localtime, not failed nstrftime.
480 (main): Fail if G_fail is set.
482 2003-01-31 Richard Dawe <rich@phekda.freeserve.co.uk>
484 * tests/basename/Makefile.am: Use @PATH_SEPARATOR@ instead of
485 hard-coding the path-separator. Also double-quote the new PATH,
486 to avoid problems when the path-separator is a semi-colon or when
487 `pwd` contains e.g. a space.
488 * tests/chgrp/Makefile.am: Likewise.
489 * tests/chmod/Makefile.am: Likewise.
490 * tests/chown/Makefile.am: Likewise.
491 * tests/cp/Makefile.am: Likewise.
492 * tests/dd/Makefile.am: Likewise.
493 * tests/dircolors/Makefile.am: Likewise.
494 * tests/du/Makefile.am: Likewise.
495 * tests/expr/Makefile.am: Likewise.
496 * tests/factor/Makefile.am: Likewise.
497 * tests/fmt/Makefile.am: Likewise.
498 * tests/install/Makefile.am: Likewise.
499 * tests/ln/Makefile.am: Likewise.
500 * tests/ls/Makefile.am: Likewise.
501 * tests/ls-2/Makefile.am: Likewise.
502 * tests/md5sum/Makefile.am: Likewise.
503 * tests/misc/Makefile.am: Likewise.
504 * tests/mkdir/Makefile.am: Likewise.
505 * tests/mv/Makefile.am: Likewise.
506 * tests/od/Makefile.am: Likewise.
507 * tests/rm/Makefile.am: Likewise.
508 * tests/rmdir/Makefile.am: Likewise.
509 * tests/seq/Makefile.am: Likewise.
510 * tests/sha1sum/Makefile.am: Likewise.
511 * tests/shred/Makefile.am: Likewise.
512 * tests/stty/Makefile.am: Likewise.
513 * tests/sum/Makefile.am: Likewise.
514 * tests/tail-2/Makefile.am: Likewise.
515 * tests/touch/Makefile.am: Likewise.
516 * tests/tsort/Makefile.am: Likewise.
517 * tests/unexpand/Makefile.am: Likewise.
519 2003-01-31 Jim Meyering <jim@meyering.net>
521 * src/stat.c: Include "file-type.h"
522 (print_human_type): Remove function.
523 (human_access): Rename from print_human_access. Return a string.
524 (human_time): Rename from print_human_time. Return a string.
525 (print_stat): Arrange so that field width and an alignment specifier
526 are honored for the %A, %F, %x, %y, and %z formats.
527 [%F]: Use file_type; this gives slightly different file type strings,
528 e.g., `directory' instead of `Directory' and `regular file' or
529 `regular empty file' instead of `Regular file'.
530 Prompted by a report from Richard Dawe that the uses of
531 S_IFSOCK and S_IFIFO in print_human_time were not portable
532 to systems using e.g., DJGPP.
534 2003-01-31 Richard Dawe <rich@phekda.freeserve.co.uk>
536 * src/stat.c (print_stat): Use S_ISLNK rather than an explicit
537 test using S_IFMT and S_IFLNK. S_IFLNK may not be defined.
539 2003-01-31 Jim Meyering <jim@meyering.net>
541 * src/du.c (main): Upon processing an invalid option or an invalid
542 --exclude-from or --max-depth option argument, don't exit right away,
543 in case there are others. Rather record the failure and exit after
544 processing other options.
546 * GNUmakefile (TAR_OPTIONS): Set and export, in order to make
547 tar archive easier to reproduce.
549 Rewrite to perform directory traversal using nftw.
551 * src/du.c: Include "dirname.h", "ftw.h", and "quotearg.h".
553 (opt_one_file_system): Move global into `main'.
554 (path, xstat, exit_status): Remove declarations.
555 (arg_length, suffix_length): New globals.
556 (G_fail): New global, sort of like the old `exit_status'.
557 (IS_FTW_DIR_TYPE): Define.
558 (print_only_size): New function.
559 (process_file): New function.
560 (str_init, ensure_space, str_copyc, str_concatc): Remove functions.
561 (str_trunc, pop_dir, count_entry): Likewise.
562 (du_files): Rewrite to use nftw.
564 2003-01-30 Jim Meyering <jim@meyering.net>
566 * tests/du/trailing-slash: Ensure that du/ftw follows a command-line
567 symlink-to-directory with -L, even without the trailing slash.
569 2003-01-27 Jim Meyering <jim@meyering.net>
571 * src/Makefile.am (check-misc): Check for st_blocks, too.
573 * src/stat.c (print_stat): Use ST_NBLOCKS rather than `->st_blocks'.
574 Reported by Richard Dawe.
576 2003-01-27 Andreas Schwab <schwab@suse.de>
578 * src/ls.c (quote_name): Add fourth parameter, width, into which to
579 store the screen columns, and return the number of bytes instead.
580 (print_dir): Pass NULL as fourth parameter of quote_name.
581 (print_name_with_quoting): Likewise.
582 (length_of_file_name_and_frills): Get the width from the fourth
583 parameter of quote_name instead of return value.
585 2003-01-27 Jim Meyering <jim@meyering.net>
587 * src/ls.c (decode_switches): If `dired' is set without
588 `format == long_format', then silently reset dired. This doesn't
589 change the behavior of ls (all prior uses of dired were protected
590 by `&& format == long_format'), and lets us...
591 (DIRED_INDENT): ... remove the `format == long_format' conjunct.
592 (PUSH_CURRENT_DIRED_POS): Likewise.
595 2003-01-22 Jim Meyering <jim@meyering.net>
597 * tests/du/no-x: New test, for functionality added to lib/ftw.c.
598 * tests/du/Makefile.am (TESTS): Add no-x.
600 2003-01-21 Jim Meyering <jim@meyering.net>
602 * src/remove.c (remove_entry) [ROOT_CAN_UNLINK_DIRS
603 && HAVE_STRUCT_DIRENT_D_TYPE]: If a file has d_type == DT_UNKNOWN
604 it may still be a directory -- or not (e.g., with FreeBSD on an
605 NFS-mounted file system), so resort to calling lstat to find out.
606 Based on a patch by Michael van Elst.
608 * tests/cp/same-file: Don't assume that the file owner username
609 length is less than 9 in ls output: instead, omit that field
610 altogether. Reported by, and suggested fix from, Ferdinand.
612 2003-01-20 Jim Meyering <jim@meyering.net>
614 * tests/date/Test.pm (wide-fmt): New test to demonstrate that
615 large format widths no longer cause strftime to infloop.
617 * Makefile.maint (mail_gpg_sign_cookie): Remove now-unused definition.
619 2003-01-19 Jim Meyering <jim@meyering.net>
621 * src/readlink.c: Include "canonicalize.h".
623 2003-01-18 Jim Meyering <jim@meyering.net>
625 * src/ls.c (Dereference_symlink) [DEREF_COMMAND_LINE_SYMLINK_TO_DIR]:
627 (enum) [DEREFERENCE_COMMAND_LINE_SYMLINK_TO_DIR_OPTION]: New member.
628 (long_options): Add option --dereference-command-line-symlink-to-dir.
629 (main): Make DEREF_COMMAND_LINE_SYMLINK_TO_DIR be the default,
630 rather than DEREF_COMMAND_LINE_ARGUMENTS, when none of the
631 -d, -F, -l options is specified.
632 (decode_switches): Handle --dereference-command-line-symlink-to-dir.
633 (gobble_file): Honor DEREF_COMMAND_LINE_SYMLINK_TO_DIR.
634 Change --dereference-command-line (-H) to dereference *all*
635 command line arguments, including broken symlinks.
637 2003-01-15 Paul Eggert <eggert@twinsun.com>
639 Change ls -H back to the way it was yesterday, since this is
640 compatible with FreeBSD and the POSIX spec is confusing
641 and somewhat contradictory.
643 * src/ls.c (DEREF_COMMAND_LINE_ARGUMENTS): Change name back
644 from DEREF_COMMAND_LINE_SYMLINK_TO_DIR, updating all uses.
645 (long_options): Change the long option name back.
646 (usage): Change the usage back.
647 (gobble_file): When -H is specified, dereference a top-level
648 arg even if it points to a non-directory.
650 2003-01-15 Jim Meyering <jim@meyering.net>
652 * src/ls.c (gobble_file): Fall back on using lstat when required:
653 when --dereference (-L) is not specified, and
654 - when operating on a dangling symlink
655 - when operating on command-line-symlink-to-directories
656 This fixes numerous problems. Here are examples:
657 - `ls dangling-symlink' would fail with `no such file...'
658 Now it prints `dangling-symlink'.
659 - `ls -i symlink' would mistakenly print the inode of the referent.
660 Now it prints the inode of the symlink. Likewise for --size (-s).
661 Based on a patch from Michael Stone.
662 Reported by Deepak Goel as Debian bug #173793.
664 Rename ls's --dereference-command-line (-H)
665 option to --dereference-command-line-symlink-to-dir.
666 * src/ls.c [enum Dereference_symlink]
667 (DEREF_COMMAND_LINE_SYMLINK_TO_DIR): Rename from
668 DEREF_COMMAND_LINE_ARGUMENTS. Update all uses.
669 (long_options): Rename the long option.
670 (usage): Say that --dereference-... changes how ls treats
671 only symlinks to directories specified on the command line.
673 2003-01-14 Jim Meyering <jim@meyering.net>
675 * tests/ls/dangle: New file/test, for the above fix.
676 * tests/ls/inode: Another new file/test, for the above fix.
677 * tests/ls/Makefile.am (TESTS): Add dangle and inode.
679 * src/ls.c (gobble_file): Fix a bug introduced in 4.5.4 that made it
680 so that ls --color would no longer highlight the names of files with
681 the execute bit set when not specified on the command line.
682 Patch by Michael Stone. Reported by Stephen Depooter as
685 * tests/ls-2/tests (color-exe): New test, for the above fix.
687 2003-01-13 Jim Meyering <jim@meyering.net>
689 * tests/shred/exact: Also test for just fixed bug with --zero.
691 * src/shred.c (long_opts): --zero does not require an argument.
692 Patch by Michael Stone. Reported by Roland Turner as Debian bug 172019.
694 2003-01-12 Jim Meyering <jim@meyering.net>
696 * Makefile.maint (cvs-update): Skip any file with local modifications.
698 * src/unexpand.c (usage): Document --first-only and mention that
699 --tabs=N (-t) enables --all (-a). Reported by wiregauze@yahoo.com.
701 2002-12-01 Dmitry V. Levin <ldv@altlinux.org>
703 * src/df.c: Include "canonicalize.h".
704 Use canonicalize_file_name unconditionally.
706 2003-01-09 Jim Meyering <jim@meyering.net>
708 * README: Add readlink.
710 2002-11-30 Dmitry V. Levin <ldv@altlinux.org>
712 * src/df.c: Include "xgetcwd.h".
713 * src/pwd.c: Likewise.
715 2002-11-30 Dmitry V. Levin <ldv@altlinux.org>
717 * src/shred.c: Remove declaration of xstrdup.
718 We already get it via xalloc.h which is included via system.h.
720 2002-08-27 Dmitry V. Levin <ldv@altlinux.org>
722 New program: readlink.
724 * src/Makefile.am (bin_PROGRAMS): Add readlink.
725 * src/readlink.c: New file.
727 * man/readlink.x: New file.
728 * man/Makefile.am (dist_man_MANS): Add readlink.1.
729 (readlink.1): New rule.
731 2003-01-09 Jim Meyering <jim@meyering.net>
733 When selecting ranges of byte offsets (as opposed to ranges of fields)
734 and when --output-delimiter=STRING is specified, output STRING between
735 ranges of selected bytes.
736 * src/cut.c (RANGE_START_SENTINEL): Define.
737 (output_delimiter_specified): New global.
738 (print_kth): Add parameter. Adjust all callers.
739 (set_fields): Mark each range-start index with RANGE_START_SENTINEL.
740 (cut_bytes): When requested, output STRING between ranges of
742 (main): Make a diagnostic a little clearer.
743 Based on a patch from Jan Nieuwenhuizen.
745 * tests/cut/Test.pm: New tests for the above.
747 * src/cut.c (set_fields): Make code agree with comment:
748 Don't merge abutting ranges like 4- and 2-3. This makes no
749 difference currently, but is required to support an upcoming change.
751 2003-01-07 Jim Meyering <jim@meyering.net>
753 * src/cut.c (set_fields): Fix typo in comment.
755 * tests/touch/not-owner: New test, mostly extracted from fail-diag.
756 * tests/touch/Makefile.am (TESTS): Add not-owner.
757 * tests/touch/fail-diag: Remove the test for non-owner diagnostic.
758 Now, this tests only the nonexistent-directory diagnostic.
759 Suggestion from Michael Stone.
761 * tests/touch/fail-diag: Fix typo: s/ld/ls/.
763 2003-01-04 Jim Meyering <jim@meyering.net>
765 * src/copy.h: Remove use of PARAMS.
766 * src/remove.h: Likewise.
767 * src/chown-core.h: Likewise.
769 rm could be tricked into mistakenly reporting a cycle.
770 * src/remove.c: [cycle_check_state]: New global.
771 (remove_cwd_entries): Adapt to new semantics of cycle_check.
772 (rm): Call cycle_check_init and cycle_check_free for each file.
773 * tests/rm/cycle (rm): New test, for the above fix.
774 * tests/rm/Makefile.am (TESTS): Add cycle.
776 When rm detects a cycle, don't abort the entire command,
777 but rather just the affected command line argument.
778 * src/remove.c: Include <setjmp.h>
779 (struct dirstack_state) [current_arg_jumpbuf]: New member.
780 (remove_cwd_entries): Call longjmp if we detect a cycle.
781 (rm): Call setjmp here.
783 * src/remove.c (cycle_check, is_power_of_two): Remove functions.
784 Instead, include cycle-check.h and use it.
786 * src/remove.h (struct dev_ino): Remove declaration.
788 * src/remove.c (remove_cwd_entries): Fix typos in comment.
790 Don't include trailing /. in diagnostics about directories.
791 * src/remove.c (full_filename_): When FILENAME is just `.'
792 and there is a nonempty directory-name part, don't append `/.'.
793 * tests/rm/unread2: Remove trailing /. from diagnostic.
794 * tests/rm/rm2: Likewise.
796 * src/remove.c (struct dirstack_state): Define.
797 To be used in place of these file-scoped globals ...
798 (dir_stack, len_stack, Active_dir): Remove globals.
799 (ds_init, ds_free): New functions.
800 (full_filename): Define.
801 (full_filename_): Rename from full_filename.
803 Begin to make AD_* functions more generic.
804 * src/remove.c (AD_push_initial): Don't set status to RM_OK here.
806 (AD_INIT_OTHER_MEMBERS): Define.
807 (remove_dir): Define the `status' member manually after each
808 call to AD_push or AD_push_initial.
810 * src/Makefile.am (check-misc): New rule, to ensure that no more
811 S_IS* macro definitions sneak into the code.
812 (check): Depend on check-misc.
814 * src/remove.c [S_ISLNK]: Don't define. It's already defined in sys2.h.
815 * src/du.c (count_entry) [S_ISLNK]: Don't define.
816 * src/shred.c [S_ISLNK, S_ISFIFO, S_ISSOCK]: Don't define.
818 2003-01-03 Jim Meyering <jim@meyering.net>
820 * src/true.c: Add copyright.
821 (AUTHORS): I suppose I've written it.
823 * src/Makefile.am (false.c): Make the generated file be read-only.
825 2003-01-04 Jim Meyering <meyering@lucent.com>
827 * src/ls.c: Include "dev-ino.h".
828 [struct dev_ino]: Remove declaration.
830 2003-01-02 Jim Meyering <meyering@lucent.com>
832 * src/cp.c (do_copy): Tweak diagnostic to be consistent with the one
833 from mv: s/missing file arguments/missing file argument/.
834 With --target-directory=DIR, cp and mv work with a single file argument.
835 Reported by Karl Berry.
837 * tests/rm/isatty: Enable this test.
839 2002-12-31 Jim Meyering <meyering@lucent.com>
841 * src/remove.c (AD_push_initial): Don't set status to RM_OK here.
843 (AD_INIT_OTHER_MEMBERS): Define.
844 (remove_dir): Define the `status' member manually after each
845 call to AD_push or AD_push_initial.
847 * src/ls.c [struct dev_ino]: Remove definition.
848 Include "dev-ino.h" instead.
850 2002-12-28 Jim Meyering <meyering@lucent.com>
852 * tests/du/Makefile.am (TESTS): Add no-deref.
853 * tests/du/no-deref: New script.
855 2002-12-23 Jim Meyering <meyering@lucent.com>
857 * src/remove.c (remove_cwd_entries): Fix typo in comment.
859 2002-12-21 Jim Meyering <jim@meyering.net>
861 * announce-gen: Generate MML-formatted announcement.
862 This makes it a *lot* harder to send stale MD5/SHA1 signatures.
864 2002-12-20 Jim Meyering <jim@meyering.net>
866 * src/touch.c (touch): Change the wording of a diagnostic so
867 that it makes sense both when the file exists and when it doesn't.
868 Suggestion from Michael Stone.
870 2002-12-18 Jim Meyering <jim@meyering.net>
872 * src/stty.c (valid_options): Declare to be static.
874 2002-12-15 Jim Meyering <jim@meyering.net>
876 * Makefile.cfg: Remove rules related to generating m4/jm-glibc-io.m4.
878 * src/chmod.c, src/copy.c, src/copy.h, src/cp-hash.h, src/csplit.c:
879 * src/date.c, src/expr.c, src/fmt.c, src/id.c, src/install.c:
880 * src/ls.c, src/od.c, src/pathchk.c, src/pr.c, src/remove.c:
881 * src/shred.c, src/sort.c, src/stat.c, src/stty.c, src/sum.c:
882 * src/tee.c, src/test.c: Remove all uses of `PARAMS'.
884 * src/remove.c (PARAMS): Remove definition.
885 * src/sys2.h: Likewise.
887 * src/ls.c, src/stat.c, src/date.c: Remove declaration of nstrftime.
888 Include strftime.h instead.
890 2002-12-14 Jim Meyering <jim@meyering.net>
892 * Makefile.cfg ($(url_dir_list)): Use .../coreutils, not .../fetish.
894 * src/system.h [! HAVE_DECL_MEMRCHR]: Declare memrchr.
895 This is necessary at least for Irix6.5 when using c89.
896 Reported by Nelson Beebe.
898 * tests/misc/Makefile.am (TESTS): Add cat-tty-eof.
900 * tests/misc/cat-tty-eof: New test.
902 * src/mknod.c (usage): Specify how major and minor mode numbers
903 are interpreted. Report forwarded by Kristin E Thomas.
904 * src/mknod.c: Remove now-redundant usage-specifying comment.
906 2002-12-13 Jim Meyering <jim@meyering.net>
910 * tests/du/trailing-slash: Allow for a directory of size `0'.
911 That happens at least on file systems of type tmpfs on linux-2.4.18.
913 * announce-gen: New script to begin replacing the commands
914 associated with the rule here...
915 * Makefile.maint (announcement): Invoke announce-gen.
916 * Makefile.am (EXTRA_DIST): Add announce-gen.
918 * tests/cp/preserve-2: New file/test, for latest fix.
919 * tests/cp/Makefile.am (TESTS): Add preserve-2.
921 2002-12-11 TAKAI Kousuke <takai@vlsi.kuee.kyoto-u.ac.jp>
923 Fix a bug whereby cp would fail to parse an option like
924 --preserve=mode,ownership.
925 * src/cp.c (decode_preserve_arg): Advance `comma' to
926 point the character following the comma.
928 2002-12-11 Jim Meyering <jim@meyering.net>
930 * src/pathchk.c (NEED_PATHCONF_WRAPPER): Undefine before defining,
931 in case it's already defined.
933 2002-12-09 Jim Meyering <jim@meyering.net>
935 * tests/touch/fail-diag: Don't get a test failure if /no exists.
936 Instead, evoke a framework failure if /no-$$ exists.
937 Reported by Michael Stone.
939 2002-12-08 Jim Meyering <jim@meyering.net>
941 * src/du.c (lstat) [! LSTAT_FOLLOWS_SLASHED_SYMLINK]:
942 Define to rpl_lstat, so that even on systems like Solaris 2.8,
943 du honors (per POSIX) the trailing slash on an argument referring
944 to a symlink-to-directory.
946 2002-12-06 Jim Meyering <jim@meyering.net>
948 * Use autoconf-2.57. Regenerate dependent files.
949 * Use automake-1.7.2. Regenerate dependent files.
951 * src/ls.c (gobble_file): Also stat the file if it's a
952 regular file and --indicator-style=classify (aka -F).
953 Thanks to Ed Santiago for opening my eyes.
955 * tests/ls/file-type: New file. Test for the above.
956 A test to contrast ls -F and ls --indicator-style=file-type.
957 * tests/ls/Makefile.am (TESTS): Add file-type.
959 2002-12-04 Jim Meyering <jim@meyering.net>
961 * tests/ls/follow-slink: Make sure the symlink was created.
962 Richard Dawe reported that `ln -s link link' succeeds, but creates
963 no file on systems running some version of the DJGPP libc.
965 2002-12-03 Jim Meyering <jim@meyering.net>
967 * src/Makefile.am (AUTOMAKE_OPTIONS): Remove definition (to ansi2knr)
968 since this package no longer panders to K&R compilers.
970 2002-12-02 Jim Meyering <jim@meyering.net>
972 * tests/du/slink: Skip this test if `.' is on a non-local file system.
974 * tests/Fetish.pm (_at_replace): Do the substitution only if there's
975 something to replace.
977 2002-12-01 Jim Meyering <jim@meyering.net>
979 * src/stat.c: Don't include <string.h> or <ctype.h>.
980 That's already done via system.h.
981 * src/dircolors.c: Don't include <ctype.h>.
983 2002-11-30 Jim Meyering <jim@meyering.net>
985 * ls.c (gobble_file): Remove the block of code that caused
986 `ls --color -F symlink-to-dir' to list the files in
987 `symlink-to-dir/.'. Now, it prints `symlink-to-dir@', (just
988 like `ls -F symlink-to-dir') but with the addition of highlighting.
989 Similarly, `ls --color -dF symlink-to-dir' would print
990 `symlink-to-dir/'; now it prints `symlink-to-dir@'.
991 Reported by Jeff Sheinberg as Debian bug #168203.
992 * tests/ls-2/tests (sl-F-color, sl-dF-color): New tests for the above.
994 ls is now more efficient: with certain options, it no longer needs
995 to stat each directory entry on systems with valid dirent.d_type.
996 * src/ls.c (print_dir): Add DT_LNK and DT_REG.
997 (main): Make --recursive set format_needs_type, not format_needs_stat.
998 (gobble_file): Remove a FIXME comment, now that it's fixed.
1000 2002-11-24 Jim Meyering <jim@meyering.net>
1002 * src/du.c (du_files): Don't strip any trailing slash.
1003 Rewrite so that `/' is no longer represented internally as
1005 (count_entry): When appending a file name component,
1006 account for the fact that the current path may end in `/'.
1007 François Pinard reported that `du symlink-to-dir/' was not
1008 equivalent to `du symlink-to-dir/.'. Now it is.
1009 * tests/du/trailing-slash: New file/test, for the above fix.
1010 * tests/du/Makefile.am (TESTS): Add trailing-slash.
1012 2002-11-23 Jim Meyering <jim@meyering.net>
1014 * src/tac.c (output): Declare some local variables to be of type size_t,
1015 rather than `int' to avoid warnings from gcc.
1017 2002-11-21 Paul Eggert <eggert@twinsun.com>
1019 * src/ls.c (decode_switches): Use case-sensitive matching to
1020 decode the QUOTING_STYLE environment variable. This is more
1021 consistent with the documentation, and with --quoting-style.
1023 2002-11-21 Martin Buck <martin.buck@ascom.ch
1025 * src/stty.c (struct speeds): Add support for all baud rates defined
1028 2002-11-19 Jim Meyering <jim@meyering.net>
1030 * tests/sum/sysv: Export LC_ALL=C, to avoid failure when
1031 run in a UTF locale. Report and suggested fix by Bruno Haible.
1032 * tests/fmt/basic: Likewise.
1034 2002-11-17 Jim Meyering <jim@meyering.net>
1036 * configure.ac: Update via autoupdate.
1037 Add `AM_GNU_GETTEXT_VERSION(0.11.5)'.
1039 * src/mv.c (movefile): Don't remove trailing slashes from SOURCE.
1040 Reported by Hans Ginzel.
1042 2002-11-15 Jim Meyering <jim@meyering.net>
1044 * Makefile.cfg (gnu_rel_host): Define.
1045 (url_dir_list): Choose from (alpha|ftp).gnu.org depending
1046 on whether $(VERSION) looks like a major release number.
1048 * Makefile.maint (mail_gpg_sign_cookie): Backslash-escape `#'.
1049 (release): Rename from `alpha'.
1050 (alpha): Depend on release.
1052 * Makefile.maint (signatures): Define with ?=, so it's easy to override.
1054 2002-11-14 Jim Meyering <jim@meyering.net>
1056 * Makefile.maint (mail_gpg_sign_cookie): Make optional.
1057 (announcement): Use the new variable.
1059 * Makefile.maint: Sync with Bison, i.e.:
1060 (po-check): Scan .l and .y files instead of the
1061 .c and the .h files that they generate. This fixes the bug
1062 reported by Tim Van Holder in:
1063 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
1064 Look for N_ as well as for _. Try to avoid matching #define for
1068 2002-11-12 Jim Meyering <jim@meyering.net>
1070 * src/ls.c (HAVE_SYMLINKS): Remove unnecessary macro definition.
1071 Replace sole use with equivalent `#ifdef S_ISLNK'.
1072 Inconsistency reported by Dmitry V. Levin.
1074 2002-11-11 Jim Meyering <jim@meyering.net>
1076 * src/stat.c (usage): Transform --help items output via s/ - / /,
1077 so that help2man produces properly formatted man pages.
1078 Reported by Herbert Xu as Debian bug #168400.
1080 2002-11-10 Jim Meyering <jim@meyering.net>
1082 * src/ls.c (sighandler): Handle SIGTSTP specially.
1083 Based on suggestions from Solar Designer and Dmitry V. Levin.
1086 * Makefile.cfg (cvs_files): Define. From autoconf.
1087 (local_updates): Likewise.
1089 * src/ls.c (restore_default_color_handler, sigtstp_handler):
1091 (sighandler): New function, based on the one in sort.c.
1092 (main): Use sigaction, if possible; otherwise signal.
1093 Handle these signals:
1094 SIGHUP, SIGINT, SIGPIPE, SIGQUIT, SIGTERM, SIGTSTP.
1095 Don't register our handler if the signal is already being ignored.
1097 * src/dd.c (interrupt_handler): Use raise, rather than kill+getpid.
1098 * src/csplit.c (interrupt_handler): Likewise.
1099 * src/sort.c (sighandler): Likewise.
1100 (main): Declare `i' and `nsigs' to be unsigned, not int.
1102 2002-11-09 Jim Meyering <jim@meyering.net>
1104 ls --color: restore terminal text color upon signal.
1105 * src/ls.c: Include "full-write.h" and <signal.h>.
1106 (restore_default_color, restore_default_color_handler): New functions.
1107 (sigtstp_handler, put_indicator_direct): New functions.
1108 (main) [print_with_color]: Register signal handlers.
1109 Patch mostly by Solar Designer and Stanislav Ievlev.
1111 Update from autoconf.
1112 * Makefile.maint (AMTAR): Remove definition.
1113 (update, cvs-update, po-update, do-po-update): New rules.
1114 (wget-update): Update (thus renaming to cvs-update).
1115 (automake_repo): Use anoncvs@sources.redhat.com.
1117 2002-11-06 Jim Meyering <jim@meyering.net>
1119 * tests/misc/Makefile.am (TESTS): Add printf-hex.
1121 * tests/misc/printf: Be careful to test the code in this package,
1122 not the shell built-in function.
1124 * src/printf.c (print_esc): A hexadecimal escape sequence has
1125 at most two hex. digits, not three. Reported by Padraig Brady.
1126 (usage): Update description.
1127 * tests/misc/printf-hex: New file/test, for the above fix.
1129 2002-10-07 Paul Eggert <eggert@twinsun.com>
1131 Add support for locale-specific size indications (e.g.,
1132 thousands-separators) and for explicit size suffixes on output.
1134 * doc/coreutils.texi (Block size): Say that:
1135 This affects display format as well as block size.
1136 Fractional block counts are rounded up.
1137 ls file size blocksize defaults to 1.
1138 A block size spec preceded by ' generates thousands separators.
1139 A suffix without a preceding integer generates suffixes.
1140 (tail invocation): 32k -> 32 KiB.
1141 (What information is listed): ls -h is now equivalent to
1142 ls --block-size=human, and ls -H is now equivalent to
1143 ls --block-size=si. Displayed file size is now always affected by
1146 * lib/inttostr.c, lib/inttostr.h, lib/imaxtostr.c, lib/offtostr.c,
1147 lib/umaxtostr.c: New files, taken from GNU tar.
1149 * lib/Makefile.am (libfetish_a_SOURCES): Add imaxtostr.c, offtostr.c,
1151 (EXTRA_DIST): Add inttostr.c.
1153 * lib/human.c, lib/human.h: Rewrite to support locale-specific
1154 notations like thousands separators.
1155 Specify what includer of include.h must include beforehand.
1156 (human_group_digits, human_suppress_point_zero, human_autoscale,
1157 human_base_1024, human_SI, human_B): New enum values.
1158 (human_readable): Rename from human_readable_inexact; put the
1159 options before the sizes. All uses changed. The old human_readable
1160 function has been removed; use inttostr.h instead.
1161 (human_options): Renamed from human_block_size, with new signature
1162 that allows block sizes up to UINTMAX_MAX. All callers changed.
1164 * m4/prereq.m4 (jm_PREREQ_HUMAN): Check for locale.h, localeconv,
1165 AC_HEADER_STDBOOL. No need to check for limits.h since it's in
1166 freestanding C89. No need to check for stdlib.h or string.h since
1167 autoconf does this now.
1169 * src/cksum.c (cksum): Use primitives from inttostr.h, not
1170 human.h, to print large numbers simply.
1171 * src/csplit.c (handle_line_error, parse_patterns): Likewise.
1172 * src/dd.c (print_stats, main): Likewise.
1173 * src/df.c (print_header): Likewise.
1174 * src/factor.c (print_factors): Likewise.
1175 * src/ls.c (print_long_format, print_file_name_and_frills): Likewise.
1176 * src/shred.c (dopass): Likewise.
1177 * src/sort.c (checkfp): Likewise.
1178 * src/sum.c (bsd_sum_file, sysv_sym_file): Likewise.
1179 * src/tail.c (xlseek): Likewise.
1180 * src/wc.c (write_counts, wc): Likewise.
1182 * src/df.c (human_output_opts): New var.
1183 (output_block_size): Now uintmax_t, not int, to handle larger
1184 block sizes. All uses changed.
1185 * src/du.c: Likewise.
1186 * src/ls.c: Likewise.
1188 * src/df.c (print_header): In the header line, prefer SI to human
1189 representation if it's shorter; if neither is shorter, try to
1190 intuit what the user would prefer.
1192 * src/expr.c (inttostr): Remove; use new imaxtostr library
1195 * src/ls.c (file_output_block_size): New var, to distinguish
1196 file sizes from other sizes.
1197 (decode_switches): Set it.
1199 * src/shred.c (OUTPUT_BLOCK_SIZE): remove.
1200 (dopass): When printing progress, use floor for what has been done
1201 so far (since we should be conservative there), and ceiling for
1202 what needs to be done (since that's what other programs use).
1204 2002-10-19 Jim Meyering <jim@meyering.net>
1206 * src/pinky.c (print_heading): Align TTY and Name headings.
1207 Reported by Karl Eichwalder.
1209 2002-10-18 Jim Meyering <jim@meyering.net>
1211 * src/split.c (cwrite): Change type of `bytes' parameter to size_t
1212 Remove now-useless cast.
1213 (stdread): Remove function.
1214 (bytes_split): Use size_t instead of int.
1215 Use safe_read, not stdread.
1216 (lines_split): Likewise.
1217 Use memchr rather than a `while' loop.
1218 (line_bytes_split): Use size_t instead of int.
1219 Use safe_read, not stdread.
1220 (main): Add some FIXME comments to remind me to remove casts.
1222 * src/system.h (ST_BLKSIZE): Correct comment describing how to
1223 reproduce HPUX-11 cat failure. From Petter Reinholdtsen.
1225 2002-10-17 Jim Meyering <jim@meyering.net>
1227 Fix a problem that could make e.g., `cat' misbehave on systems which
1228 give invalid (unreasonably large) values for stat.st_blksize.
1229 * src/system.h (ST_BLKSIZE): Ensure that the result is in [1..4MB].
1230 Reported by Petter Reinholdtsen.
1232 2002-10-14 Jim Meyering <jim@meyering.net>
1234 Specifying a printf conversion specifer as nl's separator string
1235 could cause nl to segfault.
1236 * src/nl.c (build_print_fmt): Don't include separator string
1237 in the printf format; it might contain `%'.
1238 Use a better bound on the length of the print_fmt buffer.
1239 (print_lineno): Print the separator here instead.
1240 Reported by Doug Coleman.
1242 * tests/misc/nl: New file/tests, including a test for the above.
1243 * tests/misc/Makefile.am (TESTS): Add nl.
1245 * tests/misc/split-l: New test, to make sure `split --lines=N' works.
1246 * tests/misc/Makefile.am (TESTS): Add split-l.
1248 2002-10-13 Jim Meyering <jim@meyering.net>
1252 * src/du.c (usage): Tweak description of --dereference-args/-D.
1254 * src/du.c (count_entry): Also save cwd when dereferencing (via
1255 --dereference-args, -D) a command-line argument.
1256 Reported by Michal Svec. Based on a patch by Andreas Schwab.
1258 * src/Makefile.am (../AUTHORS): New target/rule.
1260 2002-10-12 Jim Meyering <jim@meyering.net>
1262 * src/paste.c (paste_parallel): Declare local, `delims_saved', to be
1263 of type size_t, since that's the way it's used and avoids a warning.
1265 * src/csplit.c (struct cstring) [len]: Declare to be unsigned int,
1266 since that's how it's always used and avoids a new warning from gcc.
1267 (read_input): Adapt to new safe_read ABI.
1269 * src/cut.c (cut_fields): Add a temporary size_t variable, n_bytes,
1272 * src/pinky.c (print_long_entry): fread returns size_t.
1273 Declare local `bytes' accordingly, to avoid warning.
1275 tail -c +N would perform an extra read after encountering EOF
1276 [this change is analogous (bytes vs. lines) to the one of 2002-01-27]
1277 * src/tail.c (start_bytes): Detect EOF, inform caller.
1278 (tail_bytes): Upon EOF in start_bytes, return immediately.
1279 (file_lines): Reorganize to use memrchr rather than an explicit loop.
1280 Adapt to new safe_read ABI.
1282 2002-10-11 Jim Meyering <jim@meyering.net>
1284 * tests/du/deref: New file/test, for the above fix.
1285 * tests/du/Makefile.am (TESTS): Add deref.
1287 2002-10-10 Jim Meyering <jim@meyering.net>
1289 * tests/ln/Makefile.am (TESTS): Add target-1.
1290 * tests/ln/target-1: New file/test, for the fix on 2002-10-08.
1292 2002-10-09 Jim Meyering <jim@meyering.net>
1294 * tests/cp/backup-is-src: Ensure that certain environment variables
1295 are not set (e.g., SIMPLE_BACKUP_SUFFIX). Reported by Duncan Roe.
1297 * tests/tail-2/big-4gb: Mark this as an expensive test; it would
1298 consume 4GB of disk space on systems without support for sparse files.
1299 Fix a logic error that'd make it `cat err' even though dd didn't fail.
1301 * src/dircolors.hin (.jar): Fix typo: s/;3$/;31/.
1302 Patch by steven@magelico.net, forwarded by Michael Stone.
1304 * tests/ls/dired: Ensure that ls produces English messages.
1305 Patch by Alexey Vyskubov, forwarded by Michael Stone.
1307 2002-10-08 Dmitry V. Levin <ldv@altlinux.org>
1309 * src/ln.c (main): Fix target_directory parsing when n_files == 1.
1311 2002-10-08 Jim Meyering <jim@meyering.net>
1313 * tests/tail-2/big-4gb: Use double quotes around diagnostic.
1314 Fix syntax in test: use =, not ==.
1315 Reported by Bob Proulx.
1316 Change all the rest like this: grep -lR "testing framework'" .\
1317 |xargs perl -pi -e 's/'\''(\$0: failure in testing framework)'\''/"$1"/'
1319 * src/sum.c (sysv_sum_file): Adapt to new safe_read ABI.
1320 * src/tr.c (squeeze_filter, read_and_delete, read_and_xlate): Likewise.
1321 * src/tac.c (save_stdin, tac_stdin_to_mem): Likewise.
1322 * src/wc.c (wc): Likewise.
1324 2002-10-07 Paul Eggert <eggert@twinsun.com>
1327 Don't advance the write pointer past the end of the write buffer.
1328 * src/sort.c (begfield, limfield): Likewise.
1330 2002-10-07 Jim Meyering <jim@meyering.net>
1332 * src/cat.c (simple_cat, cat): Adapt to new safe_read ABI.
1333 * src/head.c (head_bytes, head_lines): Likewise.
1335 2002-10-06 Jim Meyering <jim@meyering.net>
1337 * src/dd.c (scanargs): Ensure that specified block sizes (specified
1338 via ibs=N, obs=N, and bs=N) are no larger than SSIZE_MAX.
1339 (skip, dd_copy): Adapt to new safe_read ABI.
1341 * Makefile.maint (signatures): Define.
1343 (announcement): Depend on $(signatures).
1345 * Makefile.maint (announcement): Output all URLs for detached
1346 signatures, not just the last one from the previous loop.
1348 2002-10-05 Jim Meyering <jim@meyering.net>
1352 * src/remove.c (remove_entry) [ROOT_CAN_UNLINK_DIRS]: With `rm -i DIR',
1353 don't recurse into directory, DIR. Prompted by a report from
1356 * tests/rm/i-no-r: New file/test, for the above fix.
1357 * tests/rm/Makefile.am (TESTS): Add i-no-r.
1359 * tests/tail-2/big-4gb: New file/test, for the fix of 2002-09-27.
1360 * tests/tail-2/Makefile.am (TESTS): Add big-4gb.
1362 2002-10-03 Jim Meyering <jim@meyering.net>
1364 * src/rm.c (AUTHORS): Mark translatable string with `N_ (...)'.
1365 * src/df.c (AUTHORS): Likewise.
1366 * src/du.c (AUTHORS): Likewise.
1367 * src/tail.c (AUTHORS): Likewise.
1368 * src/touch.c (AUTHORS): Likewise.
1370 2002-10-02 Jim Meyering <jim@meyering.net>
1372 * Makefile.am (SUBDIRS): Remove `old'.
1373 (EXTRA_DIST): List the files in old/.
1374 * configure.ac (AC_CONFIG_FILES): Remove old/* names.
1375 Suggestion from Akim Demaille.
1377 2002-10-01 Jim Meyering <jim@meyering.net>
1379 * src/sys2.h (SSIZE_MAX): Define.
1381 2002-09-30 Jim Meyering <jim@meyering.net>
1383 * src/csplit.c: Don't include stdlib.h here. It's already included
1386 2002-09-29 Jim Meyering <jim@meyering.net>
1388 * src/tr.c (find_bracketed_repeat): Rearrange pointer/integer
1389 expression to avoid bogus warning from gcc.
1391 * src/cat.c (simple_cat): Use a temporary to avoid bogus warnings.
1392 (cat): Declare insize and outsize to be of type size_t, not int.
1393 Rearrange pointer/integer expressions to avoid bogus warnings.
1394 (main): Declare insize and outsize to be of type size_t, not int.
1396 * src/tail.c (parse_options): Give a sensible diagnostic for
1397 an invalid byte or line count. Reported by Mikko Tuumanen.
1399 * src/touch.c (main): Split a long line.
1401 * tests/du/Makefile.am (TESTS): Add slink.
1402 * tests/du/slink: New test for system.h change of 2002-08-31.
1404 In move mode, always first try to rename. Before, upon failure to
1405 rename a directory, this code would never attempt to rename any
1406 other file in that directory, but would thenceforth always copy.
1407 On some systems (e.g., NetApp's OnTap-6.4), renaming a directory
1408 may fail with EXDEV, yet renaming files within that directory to
1409 a newly-created destination directory succeeds.
1410 * src/copy.c (copy_internal): Remove local, move_mode;
1411 use x->move_mode instead. Based on a patch from Tom Haynes.
1413 2002-09-28 Jim Meyering <jim@meyering.net>
1415 * src/split.c (FAIL_ONLY_ONE_WAY): New macro.
1416 Factor out some duplication.
1418 [case 'a']: Use strtoul rather than strtol to avoid compiler warnings.
1420 * src/sort.c (begfield, limfield): Rearrange comparisons to avoid
1422 (fillbuf, keycompare): Cast literal `-1' to size_t in comparisons,
1423 to avoid compiler warnings.
1425 * src/shred.c (dopass): Use a uintmax_t temporary to avoid bogus
1428 Fix things so `mkdir -p' can create very deep directories, e.g.,
1429 mkdir -p $(perl -e 'print "a/" x 40000') now works.
1430 * src/mkdir.c (main): For --parents (-p), call make_path with the
1431 entire directory name, so we don't ever require that file operations
1432 like stat or chmod be performed on the entire command line argument.
1433 * makepath.c (make_path): Restore umask *before* creating the final
1436 2002-09-27 Andreas Schwab <schwab@suse.de>
1438 * src/tail.c (tail_bytes): Change type of bytes_remaining to off_t
1439 to avoid overflow. Reported by Hans Lermen.
1441 2002-09-26 Jim Meyering <jim@meyering.net>
1443 * src/install.c (get_ids): Use strtoul, not strtol. Remove some casts.
1445 2002-09-25 Jim Meyering <jim@meyering.net>
1447 * src/test.c (eaccess): Change type of local `euid' from int to uid_t
1448 and add a cast, to avoid a warning about `signed and unsigned type in
1449 conditional expression'.
1451 2002-09-22 Jim Meyering <jim@meyering.net>
1453 * src/rmdir.c: Include "dirname.h", for declaration of
1454 strip_trailing_slashes.
1456 * src/stat.c (PRIdMAX, PRIuMAX): Remove definitions.
1457 Now they're defined through system.h.
1459 * src/cp-hash.c, src/dd.c, src/df.c, src/du.c, src/ls.c,
1460 * src/stat.c, src/wc.c: Remove all inclusions of inttypes.h,
1461 since it's already included from sys2.h via system.h.
1463 * Use automake-1.6f. Regenerate dependent files.
1465 * src/Makefile.am (PERL): Remove duplicate definition.
1467 fmt's -s, -t, -c options didn't work properly for long lines.
1468 Since get_line may end up calling put_paragraph (for long lines),
1469 be sure to set global, `other_indent', before it is used there.
1471 * src/fmt.c (set_other_indent): New function, factored out of...
1472 (get_paragraph): ... here. Call it.
1473 (get_line): Call set_other_indent before calling flush_paragraph,
1474 which calls fmt_paragraph, which in turn calls put_paragraph,
1475 which uses other_indent.
1477 * tests/fmt/Makefile.am (TESTS): Add long-line.
1478 * tests/fmt/long-line: New file/test, for the above fix.
1480 2002-09-21 Jim Meyering <jim@meyering.net>
1482 * src/od.c: No longer include deprecated <values.h>.
1483 It was required solely for now-removed reference to BITSPERBYTE.
1484 * src/install.c: Likewise.
1485 Suggestion from Bruno Haible.
1487 2002-09-06 Andreas Schwab <schwab@suse.de>
1489 `rmdir -p dir-specified-with-trailing-slash/' would fail.
1490 * src/rmdir.c (remove_parents): Strip trailing slashes.
1492 2002-09-20 Jim Meyering <jim@meyering.net>
1494 * tests/rmdir/t-slash: New file/test, for the above fix.
1495 * tests/rmdir/Makefile.am (TESTS): Add t-slash.
1497 * Makefile.maint (announcement): Arrange to gpg-sign the message.
1498 Add a URL for each detached signature file.
1500 2002-09-07 Bruno Haible <bruno@clisp.org>
1502 * configure.ac: Add need-ngettext to AM_GNU_GETTEXT invocation.
1504 2002-09-18 Jim Meyering <jim@meyering.net>
1506 `od -t x8' used the wrong (`l'-prefixed) printf format.
1507 Likewise for the o8 and u8 formats.
1508 * src/od.c (ISPEC_TO_FORMAT): Define macro.
1509 (decode_one_format): Use PRIdMAX, PRIoMAX, etc. for LONG_LONG.
1510 Reported by Arun Sharma.
1512 2002-09-17 Jim Meyering <jim@meyering.net>
1514 * src/sys2.h (PRIdMAX, PRIoMAX, PRIuMAX, PRIxMAX): Define if necessary.
1515 From gettext's intl/loadmsgcat.c.
1517 * tests/od/x8: New file/test, for the above fix.
1518 * tests/od/Makefile.am (TESTS): Add x8.
1520 2002-09-15 Jim Meyering <jim@meyering.net>
1522 * Use autoconf-2.54. Regenerate dependent files.
1524 * src/csplit.c (get_format_width): Add cast to avoid
1525 warning about `signed and unsigned type in conditional expression'.
1527 2002-09-14 Jim Meyering <jim@meyering.net>
1529 * src/who.c (print_user): Change type of local to size_t
1530 to avoid warnings about `comparison between signed and unsigned'.
1531 * src/ptx.c (generate_all_output): Likewise.
1533 * src/dd.c (main, skip): Add casts to avoid warnings about
1534 `comparison between signed and unsigned'.
1536 * src/id.c (print_full_info, print_group_list): Add casts to avoid
1537 warnings about `signed and unsigned type in conditional expression'.
1539 * src/md5sum.c: Change type of global, digest_hex_bytes, to size_t
1540 to avoid warnings about `comparison between signed and unsigned'.
1541 (split_3): Change parameter names to be readable and add comment.
1542 Clean up the test for whether a line may be ignored.
1544 2002-09-13 Jim Meyering <jim@meyering.net>
1546 * src/printf.c (main): Handle leading command line argument of `--'.
1547 Reported by Raul: DervishD <raul@pleyades.net>
1548 * tests/misc/printf: New file: test for the above.
1549 * tests/misc/Makefile.am (TESTS): Add printf.
1551 * src/date.c (usage): Explain that %S's range of [0..60] is required --
1552 rather than 0..59 -- to accommodate the occasional positive leap second.
1553 Reported by Richard Neill.
1555 2002-09-12 Jim Meyering <jim@meyering.net>
1557 * src/Makefile.am (nanosec_libs): Define.
1558 (sleep_LDADD, tail_LDADD): Use it here.
1560 Factor nanosleep-related code into ../lib/xnanosleep.c.
1561 * src/sleep.c: Include xnanosleep.h.
1562 Factor out fenv.h-related code.
1563 (timespec_subtract): Remove function.
1564 (main): Remove code that deals with computing start and stop times
1565 as well as the loop around nanosleep. Now that's in xnanosleep.c.
1567 Allow S (in --sleep-interval=S) to be a floating point value.
1568 * src/tail.c: Include xnanosleep.h and xstrtod.h.
1569 Move declaration of global variable, sleep_interval, to ...
1571 (usage): Update description of --sleep-interval option.
1572 (tail_forever): New parameter, sleep_interval. Update caller.
1573 Use xnanosleep, rather than sleep.
1574 (parse_options): New parameter, sleep_interval. Update caller.
1575 Use xstrtod, now that we accept floating point values.
1576 Prompted by a patch from Augey Mikus.
1578 2002-09-06 Jim Meyering <jim@meyering.net>
1580 * src/remove.c (prompt): Change comment to give a better note to
1581 translators. From Michael Piefel.
1583 2002-09-02 Jim Meyering <jim@meyering.net>
1585 * README: A good problem report/patch includes diffs against
1586 the most recent test release.
1588 * src/pathchk.c (NEED_PATHCONF_WRAPPER): Define.
1589 (pathconf_wrapper): Define only if NEED_PATHCONF_WRAPPER is set.
1591 * src/kill.c (print_table_row): Use an unsigned type for widths
1592 to avoid warning about comparison between signed and unsigned.
1593 (list_signals): Likewise.
1595 * src/od.c (skip): Add a cast to avoid warning about comparison
1596 between signed and unsigned.
1597 * src/install.c (get_ids): Likewise. Also rearrange range-checking
1598 comparisons to make them more readable.
1600 2002-09-01 Jim Meyering <jim@meyering.net>
1604 2002-08-31 Jim Meyering <jim@meyering.net>
1606 Symlinks were always reported as using 0 blocks.
1607 * src/system.h (ST_NBLOCKS): Don't depend on file type.
1608 This reverts the change of 2000-01-30.
1609 Based on a report and patch from Neil Brown via Michael Stone.
1610 This fixes Debian Bug#156358.
1612 * Most files: Change `exit (0)' to `exit (EXIT_SUCCESS)',
1613 `exit (1)' to `exit (EXIT_FAILURE)', and
1614 `usage (1)' to `usage (EXIT_FAILURE)'.
1616 * chgrp.c, chmod.c, chown.c, chroot.c, cp.c, date.c, dd.c, du.c,
1617 * hostname.c, id.c, install.c, ln.c, mkdir.c, mkfifo.c, mknod.c,
1618 * nice.c, pinky.c, printf.c, pwd.c, shred.c, sleep.c, stty.c,
1619 * su.c, tac-pipe.c, tail.c, tee.c, touch.c, uname.c, uptime.c,
1620 * users.c, who.c: Change `error (1, ...' to `error (EXIT_FAILURE, ...'.
1621 But don't change `error (0, ...' to `error (EXIT_SUCCESS, ...', since
1622 error never exits successfully.
1624 2002-08-29 Jim Meyering <jim@meyering.net>
1626 * src/remove.c (remove_cwd_entries): Use closedir (not CLOSEDIR)
1627 when ignoring any return value.
1629 * src/remove.c (remove_cwd_entries): Detect and diagnose readdir
1630 failures. On some systems (at least EMC Celerra and Solaris5.8),
1631 this appears to be necessary.
1632 (is_empty_dir): Likewise. Also, always close directory handle.
1633 * src/ls.c (print_dir): Likewise.
1634 (print_dir): Rename local variable: reading -> dirp.
1635 Reported by Mike Coleman.
1637 2002-08-28 Jim Meyering <jim@meyering.net>
1639 * src/remove.c (remove_cwd_entries): Use CLOSEDIR, not closedir.
1640 Give a diagnostic and fail if closedir fails.
1642 2002-08-26 Jim Meyering <jim@meyering.net>
1644 * Makefile.am (THANKS-to-translators): New rule.
1645 (EXTRA_DIST): Add both THANKS-to-translators and THANKStt.in.
1646 * THANKStt.in: New file.
1648 * src/cat.c (close_stdout_wrapper): New, kludgey, function and
1650 (main): Register it with atexit.
1651 Close STDOUT_FILENO, to avoid a problem when writing to
1652 /dev/audio on at least Solaris 2.7 and 2.8 systems.
1653 Reported by Shing-Shong Shei.
1655 2002-08-25 Jim Meyering <jim@meyering.net>
1657 * src/cat.c (main): Close STDIN_FILENO rather than a literal `0'.
1658 * src/tac.c (main): Likewise.
1659 * src/tail.c (main): Likewise.
1660 * src/tee.c (main): Likewise.
1661 * src/tr.c (main): Likewise.
1662 * src/wc.c (main): Likewise.
1664 2002-08-20 Jim Meyering <jim@meyering.net>
1666 * tests/mv/setup: Rewrite not to use `: ${VAR=not_set}' paradigm.
1668 2002-08-10 Paul Eggert <eggert@twinsun.com>
1670 * src/nohup.sh: Don't use "exec --"; it's not portable and
1671 shouldn't be needed.
1673 2002-08-09 Jim Meyering <jim@meyering.net>
1675 * src/pr.c (main): Don't ignore -COLUMN if it's the last option.
1676 (usage): Clarify help text for the -COLUMN option.
1677 Patch by Padraig Brady.
1678 * tests/pr/Test.pm [col-last]: New test for the above.
1680 * configure.ac: Start with version 4.5.1, chosen so that it's larger
1681 than the latest version numbers of the component packages.
1683 * man/Makefile.am (check-x-vs-1): Set and export PATH so we use
1686 2002-08-08 Jim Meyering <jim@meyering.net>
1688 * src/date.c: Guard inclusion of <langinfo.h> with
1689 `#if HAVE_LANGINFO_CODESET', not `#if HAVE_LANGINFO_H'.
1690 * src/sort.c: Likewise.
1691 Patch by GOTO Masanori.
1693 2002-08-05 Paul Eggert <eggert@twinsun.com>
1695 Fix some minor time-related bugs with POSIX time arguments.
1696 Some valid time stamps were being rejected (notably -1, and
1697 time stamps before 1900 on 64-bit hosts). And some invalid
1698 time stamps were being accepted, e.g. September 31.
1700 * src/date.c (main): Adjust to posixtime signature change.
1701 * src/touch.c (main): Likewise. Remove unnecessary initialization.
1702 Use localtime, not posixtm, to warn about obsolete "touch".
1704 2002-08-05 Jim Meyering <jim@meyering.net>
1706 * tests/misc/Makefile.am (TESTS): Add nice and pathchk1.
1708 2002-08-04 Jim Meyering <jim@meyering.net>
1710 * src/Makefile.am (check-README): New target/rule.
1711 (check): Depend on it.
1713 * configure.ac (AC_CONFIG_FILES): Add old/Makefile and old/*/Makefile.
1715 2002-08-03 Jim Meyering <jim@meyering.net>
1717 * Makefile.am (SUBDIRS): Add old.
1718 * old/: New directory, containing legacy ChangeLog* and NEWS files
1719 from the fileutils, sh-utils, and textutils packages.
1721 * src/Makefile.am (AM_INSTALLCHECK_STD_OPTIONS_EXEMPT): Set to false.
1723 2002-08-02 Paul Eggert <eggert@twinsun.com>
1725 * NEWS, doc/coreutils.texi: uniq now obeys LC_COLLATE.
1727 * src/uniq.c: Include hard-locale.h, xmemcoll.h.
1728 (hard_LC_COLLATE): New var.
1729 (different): Args are now char *, not const char *.
1730 Use xmemcoll instead of memcmp to compare lines, so that
1731 LC_COLLATE has effect. However, use memcmp if it is an
1733 (check_file): Do not include newline in comparison, so that
1734 xmemcoll has a byte to stomp on temporarily.
1735 (main): Set hard_LC_COLLATE.
1737 2002-07-29 Jim Meyering <jim@meyering.net>
1739 * Makefile.am (SUBDIRS): Remove djgpp, for now.
1741 2002-07-08 Jim Meyering <jim@meyering.net>
1743 * src/Makefile.am (uninstall-local): Search for @GNU_PACKAGE@,
1744 rather than the hard-coded `sh-utils'.
1746 2002-07-01 Jim Meyering <jim@meyering.net>
1748 * configure.ac: Merge the three files from fileutils,
1749 textutils, and sh-utils.
1750 * Makefile.am: Likewise.
1751 * src/Makefile.am: Likewise.
1754 version-control: never