summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2002-08-07(main): Adjust to posixtime signature change.Jim Meyering
Remove unnecessary initialization. Use localtime, not posixtm, to warn about obsolete "touch".
2002-08-07(main): Adjust to posixtime signature change.Jim Meyering
2002-08-05.Jim Meyering
2002-08-04*** empty log message ***Jim Meyering
2002-08-04(check-README): New target/rule.Jim Meyering
(check): Depend on it.
2002-08-03(AM_INSTALLCHECK_STD_OPTIONS_EXEMPT): Set to false.Jim Meyering
2002-08-02Include hard-locale.h, xmemcoll.h.Jim Meyering
(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-08-01(run_shell): Exit with status 126 or 127 when execvp orJim Meyering
execv fails, for consistency with POSIX commands like env and nice.
2002-08-01(main): Exit with status 126 or 127 when execvp orJim Meyering
execv fails, for consistency with POSIX commands like env and nice.
2002-08-01Change behavior to conform to POSIX 1003.1-2001:Jim Meyering
- Do not adjust scheduling priority. - Redirects stderr to stdout, if stderr is not a terminal. - Exit status is now 126 if command was found but not invoked, 127 if nohup failed or if command was not found. Fix bug: command was run if nohup.out wasn't writeable.
2002-07-29.Jim Meyering
2002-07-29Adjust command examples in comments to use POSIX 1003.1-2001 option syntax.Jim Meyering
From Paul Eggert.
2002-07-27(UT_EXIT_E_TERMINATION, UT_EXIT_E_EXIT): Remove definitions.Jim Meyering
Now they're defined in readutmp.h. (print_deadprocs): Remove obsolete FIXME comment.
2002-07-27Port to POSIX 1003.1-2001 "nice", whichJim Meyering
requires the option "-n 5" rather than "-5". This matters with GNU "nice" if the user has set the _POSIX2_VERSION environment variable.
2002-07-26Don't include malloc.h -- it was unnecessary.Jim Meyering
2002-07-24undo last changeJim Meyering
2002-07-22(usage): The short form of --dereference is now -L, not -l.Jim Meyering
2002-07-22Add new option, --presume-input-tty, for testing only.Jim Meyering
Not documented.
2002-07-22rm would prompt for non-dangling symlinksJim Meyering
(prompt): When not interactive, don't prompt for a symlink.
2002-07-20(copy_internal): Use file_name_lookup, not getdport.Jim Meyering
Patch by Alfred M. Szmidt.
2002-07-20(main): Add an explicit `exit (EXIT_SUCCESS);'Jim Meyering
for --version, rather than falling through.
2002-07-20(false.c): Convert only the final EXIT_SUCCESSJim Meyering
into EXIT_FAILURE. Otherwise, false --help and false --version would fail.
2002-07-19Add .wav.Jim Meyering
2002-07-18(main): Test sysctl(...) >= 0, not == 0, sinceJim Meyering
on NetBSD the return value may well be positive. Use one-line aggregate initializations. Use tightly scoped static buffers to avoid warnings about unused variables on some systems.
2002-07-18(UNAME_HARDWARE_PLATFORM, UNAME_PROCESSOR): New macros.Jim Meyering
(main): Use them, along with sysctl, to support uname -i and uname -p on BSD hosts.
2002-07-18Add the following to the list of colorizableJim Meyering
TERM names: dtterm xterm-color Eterm. New archive suffix: .jar New image suffixes: .jpeg .pbm .pgm .tiff .mpeg .xcf .xwd Audio suffixes: .ogg .mp3
2002-07-17(print_uptime): Restore use of (equivalent, butJim Meyering
more readable) `>=' from Bruno's patch.
2002-07-16(print_it): Use memcpy and a little pointer arithmetic, rather than stpncpy.Jim Meyering
2002-07-15Include sys/sysctl.h.Jim Meyering
(print_uptime): Add support for determining the boot time on FreeBSD.
2002-07-15(print_uptime): Use STREQ in place of !strcmp.Jim Meyering
2002-07-15Remove unnecessary uses of `defined' whenJim Meyering
operating on `HAVE_...' symbols. Remove unnecessary parentheses.
2002-07-14Under some circumstances, rm would fail due to a lack ofJim Meyering
permissions, but give a misleading diagnostic like this: rm: cannot chdir from `.' to `foo': Not a directory (remove_dir): Detect the case in which unlinking a non-directory fails with EPERM, and give an appropriate diagnostic.
2002-07-13(print_it): Use xstrdup, not strdup.Jim Meyering
Use strspn to avoid an explicit loop. Use fputc rather than printf "\n". Include quote.h. (print_stat): Use xreadlink, rather than using readlink directly. Use the quote function rather than hard-coded double quotes. Use error, not perror.
2002-07-10(show_dev): Make the `Use%' column align withJim Meyering
its heading, even when -P is used with -h or -H.
2002-07-10update copyrightJim Meyering
2002-07-10(usage) [--exclude]: Use PATTERN rather than PAT.Jim Meyering
2002-07-09(euidaccess): Remove declaration. It was unused. From Michael Stone.Jim Meyering
(yesno): Remove declaration. It too was unused.
2002-07-08df now rounds all quantities up, as per POSIX.Jim Meyering
This fixes a bug where df would report Size < Used. (df_readable): Omit last arg; we always round up now. All callers changed.
2002-07-08(uninstall-local): Search for @GNU_PACKAGE@,Jim Meyering
rather than the hard-coded `sh-utils'.
2002-07-08(enum time_style): Remove posix_iso_time_style.Jim Meyering
Add long_iso_time_style. (time_style_args, time_style_types, decode_switches): Likewise. (decode_switches): If a time style is prefixed by "posix-", ignore it if in the POSIX locale. Default style is now posix-long-iso. (usage): Explain the above.
2002-07-06Remove everything associated with --secure option.Jim Meyering
2002-07-04(prompt): Fix test for write-protectedness to alsoJim Meyering
check errno == EACCES. Otherwise, `rm dangling-symlink' would mistakenly prompt.
2002-07-03(usage): Rename --link/-l to --dereference/-L.Jim Meyering
Describe --secure. Describe --format. (main): Support -L. Deprecate -l.
2002-07-02add link and unlinkJim Meyering
2002-07-02(usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it.Jim Meyering
2002-07-02(usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it.Jim Meyering
2002-07-02(usage): Use the PACKAGE_BUGREPORT e-mail address, rather than hard-coding it.Jim Meyering
2002-07-02(.sh): Also substitute @PACKAGE_BUGREPORT@.Jim Meyering
2002-07-02(usage_help): Use @PACKAGE_BUGREPORT@, rather than hard-coding aJim Meyering
deprecated address.
2002-07-02(usage): Use @PACKAGE_BUGREPORT@, rather than hard-coding a deprecated address.Jim Meyering