mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-02-17 12:52:16 +02:00
314 lines
11 KiB
Plaintext
314 lines
11 KiB
Plaintext
2002-09-25 Jim Meyering <meyering@lucent.com>
|
|
|
|
* src/test.c (eaccess): Change type of local `euid' from int to uid_t
|
|
and add a cast, to avoid a warning about `signed and unsigned type in
|
|
conditional expression'.
|
|
|
|
2002-09-22 Jim Meyering <meyering@lucent.com>
|
|
|
|
* Version 4.5.2.
|
|
|
|
* src/rmdir.c: Include "dirname.h", for declaration of
|
|
strip_trailing_slashes.
|
|
|
|
* src/stat.c (PRIdMAX, PRIuMAX): Remove definitions.
|
|
Now they're defined through system.h.
|
|
|
|
* src/cp-hash.c, src/dd.c, src/df.c, src/du.c, src/ls.c,
|
|
* src/stat.c, src/wc.c: Remove all inclusions of inttypes.h,
|
|
since it's already included from sys2.h via system.h.
|
|
|
|
* Use automake-1.6f. Regenerate dependent files.
|
|
|
|
* src/Makefile.am (PERL): Remove duplicate definition.
|
|
|
|
fmt's -s, -t, -c options didn't work properly for long lines.
|
|
Since get_line may end up calling put_paragraph (for long lines),
|
|
be sure to set global, `other_indent', before it is used there.
|
|
|
|
* src/fmt.c (set_other_indent): New function, factored out of...
|
|
(get_paragraph): ... here. Call it.
|
|
(get_line): Call set_other_indent before calling flush_paragraph,
|
|
which calls fmt_paragraph, which in turn calls put_paragraph,
|
|
which uses other_indent.
|
|
|
|
* tests/fmt/Makefile.am (TESTS): Add long-line.
|
|
* tests/fmt/long-line: New file/test, for the above fix.
|
|
|
|
2002-09-21 Jim Meyering <meyering@lucent.com>
|
|
|
|
* src/od.c: No longer include deprecated <values.h>.
|
|
It was required solely for now-removed reference to BITSPERBYTE.
|
|
* src/install.c: Likewise.
|
|
Suggestion from Bruno Haible.
|
|
|
|
2002-09-06 Andreas Schwab <schwab@suse.de>
|
|
|
|
`rmdir -p dir-specified-with-trailing-slash/' would fail.
|
|
* src/rmdir.c (remove_parents): Strip trailing slashes.
|
|
|
|
2002-09-20 Jim Meyering <meyering@lucent.com>
|
|
|
|
* tests/rmdir/t-slash: New file/test, for the above fix.
|
|
* tests/rmdir/Makefile.am (TESTS): Add t-slash.
|
|
|
|
* Makefile.maint (announcement): Arrange to gpg-sign the message.
|
|
Add a URL for each detached signature file.
|
|
|
|
2002-09-07 Bruno Haible <bruno@clisp.org>
|
|
|
|
* configure.ac: Add need-ngettext to AM_GNU_GETTEXT invocation.
|
|
|
|
2002-09-18 Jim Meyering <meyering@lucent.com>
|
|
|
|
`od -t x8' used the wrong (`l'-prefixed) printf format.
|
|
Likewise for the o8 and u8 formats.
|
|
* src/od.c (ISPEC_TO_FORMAT): Define macro.
|
|
(decode_one_format): Use PRIdMAX, PRIoMAX, etc. for LONG_LONG.
|
|
Reported by Arun Sharma.
|
|
|
|
2002-09-17 Jim Meyering <meyering@lucent.com>
|
|
|
|
* src/sys2.h (PRIdMAX, PRIoMAX, PRIuMAX, PRIxMAX): Define if necessary.
|
|
From gettext's intl/loadmsgcat.c.
|
|
|
|
* tests/od/x8: New file/test, for the above fix.
|
|
* tests/od/Makefile.am (TESTS): Add x8.
|
|
|
|
2002-09-15 Jim Meyering <meyering@lucent.com>
|
|
|
|
* Use autoconf-2.54. Regenerate dependent files.
|
|
|
|
* src/csplit.c (get_format_width): Add cast to avoid
|
|
warning about `signed and unsigned type in conditional expression'.
|
|
|
|
2002-09-14 Jim Meyering <meyering@lucent.com>
|
|
|
|
* src/who.c (print_user): Change type of local to size_t
|
|
to avoid warnings about `comparison between signed and unsigned'.
|
|
* src/ptx.c (generate_all_output): Likewise.
|
|
|
|
* src/dd.c (main, skip): Add casts to avoid warnings about
|
|
`comparison between signed and unsigned'.
|
|
|
|
* src/id.c (print_full_info, print_group_list): Add casts to avoid
|
|
warnings about `signed and unsigned type in conditional expression'.
|
|
|
|
* src/md5sum.c: Change type of global, digest_hex_bytes, to size_t
|
|
to avoid warnings about `comparison between signed and unsigned'.
|
|
(split_3): Change parameter names to be readable and add comment.
|
|
Clean up the test for whether a line may be ignored.
|
|
|
|
2002-09-13 Jim Meyering <meyering@lucent.com>
|
|
|
|
* src/printf.c (main): Handle leading command line argument of `--'.
|
|
Reported by Raul: DervishD <raul@pleyades.net>
|
|
* tests/misc/printf: New file: test for the above.
|
|
* tests/misc/Makefile.am (TESTS): Add printf.
|
|
|
|
* src/date.c (usage): Explain that %S's range of [0..60] is required --
|
|
rather than 0..59 -- to accommodate the occasional positive leap second.
|
|
Reported by Richard Neill.
|
|
|
|
2002-09-12 Jim Meyering <meyering@lucent.com>
|
|
|
|
* src/Makefile.am (nanosec_libs): Define.
|
|
(sleep_LDADD, tail_LDADD): Use it here.
|
|
|
|
Factor nanosleep-related code into ../lib/xnanosleep.c.
|
|
* src/sleep.c: Include xnanosleep.h.
|
|
Factor out fenv.h-related code.
|
|
(timespec_subtract): Remove function.
|
|
(main): Remove code that deals with computing start and stop times
|
|
as well as the loop around nanosleep. Now that's in xnanosleep.c.
|
|
|
|
Allow S (in --sleep-interval=S) to be a floating point value.
|
|
* src/tail.c: Include xnanosleep.h and xstrtod.h.
|
|
Move declaration of global variable, sleep_interval, to ...
|
|
(main): ...here.
|
|
(usage): Update description of --sleep-interval option.
|
|
(tail_forever): New parameter, sleep_interval. Update caller.
|
|
Use xnanosleep, rather than sleep.
|
|
(parse_options): New parameter, sleep_interval. Update caller.
|
|
Use xstrtod, now that we accept floating point values.
|
|
Prompted by a patch from Augey Mikus.
|
|
|
|
2002-09-06 Jim Meyering <meyering@lucent.com>
|
|
|
|
* src/remove.c (prompt): Change comment to give a better note to
|
|
translators. From Michael Piefel.
|
|
|
|
2002-09-02 Jim Meyering <meyering@lucent.com>
|
|
|
|
* README: A good problem report/patch includes diffs against
|
|
the most recent test release.
|
|
|
|
* src/pathchk.c (NEED_PATHCONF_WRAPPER): Define.
|
|
(pathconf_wrapper): Define only if NEED_PATHCONF_WRAPPER is set.
|
|
|
|
* src/kill.c (print_table_row): Use an unsigned type for widths
|
|
to avoid warning about comparison between signed and unsigned.
|
|
(list_signals): Likewise.
|
|
|
|
* src/od.c (skip): Add a cast to avoid warning about comparison
|
|
between signed and unsigned.
|
|
* src/install.c (get_ids): Likewise. Also rearrange range-checking
|
|
comparisons to make them more readable.
|
|
|
|
2002-09-01 Jim Meyering <meyering@lucent.com>
|
|
|
|
* Version 4.5.1.
|
|
|
|
2002-08-31 Jim Meyering <meyering@lucent.com>
|
|
|
|
Symlinks were always reported as using 0 blocks.
|
|
* src/system.h (ST_NBLOCKS): Don't depend on file type.
|
|
This reverts the change of 2000-01-30.
|
|
Based on a report and patch from Neil Brown via Michael Stone.
|
|
This fixes Debian Bug#156358.
|
|
|
|
* Most files: Change `exit (0)' to `exit (EXIT_SUCCESS)',
|
|
`exit (1)' to `exit (EXIT_FAILURE)', and
|
|
`usage (1)' to `usage (EXIT_FAILURE)'.
|
|
|
|
* chgrp.c, chmod.c, chown.c, chroot.c, cp.c, date.c, dd.c, du.c,
|
|
* hostname.c, id.c, install.c, ln.c, mkdir.c, mkfifo.c, mknod.c,
|
|
* nice.c, pinky.c, printf.c, pwd.c, shred.c, sleep.c, stty.c,
|
|
* su.c, tac-pipe.c, tail.c, tee.c, touch.c, uname.c, uptime.c,
|
|
* users.c, who.c: Change `error (1, ...' to `error (EXIT_FAILURE, ...'.
|
|
But don't change `error (0, ...' to `error (EXIT_SUCCESS, ...', since
|
|
error never exits successfully.
|
|
|
|
2002-08-29 Jim Meyering <meyering@lucent.com>
|
|
|
|
* src/remove.c (remove_cwd_entries): Use closedir (not CLOSEDIR)
|
|
when ignoring any return value.
|
|
|
|
* src/remove.c (remove_cwd_entries): Detect and diagnose readdir
|
|
failures. On some systems (at least EMC Celerra and Solaris5.8),
|
|
this appears to be necessary.
|
|
(is_empty_dir): Likewise. Also, always close directory handle.
|
|
* src/ls.c (print_dir): Likewise.
|
|
(print_dir): Rename local variable: reading -> dirp.
|
|
Reported by Mike Coleman.
|
|
|
|
2002-08-28 Jim Meyering <meyering@lucent.com>
|
|
|
|
* src/remove.c (remove_cwd_entries): Use CLOSEDIR, not closedir.
|
|
Give a diagnostic and fail if closedir fails.
|
|
|
|
2002-08-26 Jim Meyering <meyering@lucent.com>
|
|
|
|
* Makefile.am (THANKS-to-translators): New rule.
|
|
(EXTRA_DIST): Add both THANKS-to-translators and THANKStt.in.
|
|
* THANKStt.in: New file.
|
|
|
|
* src/cat.c (close_stdout_wrapper): New, kludgey, function and
|
|
file-scoped global.
|
|
(main): Register it with atexit.
|
|
Close STDOUT_FILENO, to avoid a problem when writing to
|
|
/dev/audio on at least Solaris 2.7 and 2.8 systems.
|
|
Reported by Shing-Shong Shei.
|
|
|
|
2002-08-25 Jim Meyering <meyering@lucent.com>
|
|
|
|
* src/cat.c (main): Close STDIN_FILENO rather than a literal `0'.
|
|
* src/tac.c (main): Likewise.
|
|
* src/tail.c (main): Likewise.
|
|
* src/tee.c (main): Likewise.
|
|
* src/tr.c (main): Likewise.
|
|
* src/wc.c (main): Likewise.
|
|
|
|
2002-08-20 Jim Meyering <meyering@lucent.com>
|
|
|
|
* tests/mv/setup: Rewrite not to use `: ${VAR=not_set}' paradigm.
|
|
|
|
2002-08-10 Paul Eggert <eggert@twinsun.com>
|
|
|
|
* src/nohup.sh: Don't use "exec --"; it's not portable and
|
|
shouldn't be needed.
|
|
|
|
2002-08-09 Jim Meyering <meyering@lucent.com>
|
|
|
|
* src/pr.c (main): Don't ignore -COLUMN if it's the last option.
|
|
(usage): Clarify help text for the -COLUMN option.
|
|
Patch by Padraig Brady.
|
|
* tests/pr/Test.pm [col-last]: New test for the above.
|
|
|
|
* configure.ac: Start with version 4.5.1, chosen so that it's larger
|
|
than the latest version numbers of the component packages.
|
|
|
|
* man/Makefile.am (check-x-vs-1): Set and export PATH so we use
|
|
programs in ../src.
|
|
|
|
2002-08-08 Jim Meyering <meyering@lucent.com>
|
|
|
|
* src/date.c: Guard inclusion of <langinfo.h> with
|
|
`#if HAVE_LANGINFO_CODESET', not `#if HAVE_LANGINFO_H'.
|
|
* src/sort.c: Likewise.
|
|
Patch by GOTO Masanori.
|
|
|
|
2002-08-05 Paul Eggert <eggert@twinsun.com>
|
|
|
|
Fix some minor time-related bugs with POSIX time arguments.
|
|
Some valid time stamps were being rejected (notably -1, and
|
|
time stamps before 1900 on 64-bit hosts). And some invalid
|
|
time stamps were being accepted, e.g. September 31.
|
|
|
|
* src/date.c (main): Adjust to posixtime signature change.
|
|
* src/touch.c (main): Likewise. Remove unnecessary initialization.
|
|
Use localtime, not posixtm, to warn about obsolete "touch".
|
|
|
|
2002-08-05 Jim Meyering <meyering@lucent.com>
|
|
|
|
* tests/misc/Makefile.am (TESTS): Add nice and pathchk1.
|
|
|
|
2002-08-04 Jim Meyering <meyering@lucent.com>
|
|
|
|
* src/Makefile.am (check-README): New target/rule.
|
|
(check): Depend on it.
|
|
|
|
* configure.ac (AC_CONFIG_FILES): Add old/Makefile and old/*/Makefile.
|
|
|
|
2002-08-03 Jim Meyering <meyering@lucent.com>
|
|
|
|
* Makefile.am (SUBDIRS): Add old.
|
|
* old/: New directory, containing legacy ChangeLog* and NEWS files
|
|
from the fileutils, sh-utils, and textutils packages.
|
|
|
|
* src/Makefile.am (AM_INSTALLCHECK_STD_OPTIONS_EXEMPT): Set to false.
|
|
|
|
2002-08-02 Paul Eggert <eggert@twinsun.com>
|
|
|
|
* NEWS, doc/coreutils.texi: uniq now obeys LC_COLLATE.
|
|
|
|
* src/uniq.c: Include hard-locale.h, xmemcoll.h.
|
|
(hard_LC_COLLATE): New var.
|
|
(different): Args are now char *, not const char *.
|
|
Use xmemcoll instead of memcmp to compare lines, so that
|
|
LC_COLLATE has effect. However, use memcmp if it is an
|
|
easy locale.
|
|
(check_file): Do not include newline in comparison, so that
|
|
xmemcoll has a byte to stomp on temporarily.
|
|
(main): Set hard_LC_COLLATE.
|
|
|
|
2002-07-29 Jim Meyering <meyering@lucent.com>
|
|
|
|
* Makefile.am (SUBDIRS): Remove djgpp, for now.
|
|
|
|
2002-07-08 Jim Meyering <meyering@lucent.com>
|
|
|
|
* src/Makefile.am (uninstall-local): Search for @GNU_PACKAGE@,
|
|
rather than the hard-coded `sh-utils'.
|
|
|
|
2002-07-01 Jim Meyering <meyering@lucent.com>
|
|
|
|
* configure.ac: Merge the three files from fileutils,
|
|
textutils, and sh-utils.
|
|
* Makefile.am: Likewise.
|
|
* src/Makefile.am: Likewise.
|
|
|
|
Local Variables:
|
|
version-control: never
|
|
End:
|