summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1996-12-21Replace hard-coded /etc/wtmp with WTMP_FILE. Suggestion from Eivind.Jim Meyering
1996-12-21(usage): Say that UTMP_FILE is the default FILEJim Meyering
rather than hard-coding /etc/utmp.
1996-12-21(usage): Tweak --usage text.Jim Meyering
1996-12-19(ORPHAN): By default, color orphans red on a black background.Jim Meyering
1996-12-19(usage): Remove --print-data-base.Jim Meyering
Now only --print-database remains. Although it wasn't documented, --print-data-base was still accepted. But it made `--p', `--print', `--print-data', etc. ambiguous.
1996-12-19(gobble_file): Stat symlinks also when printing withJim Meyering
color and set linkok to reflect existence of referent. Patches from Joakim Rosqvist, James Antill, and Jesse Thilo.
1996-12-19[HAVE_PATHS_H]: Include <paths.h>.Jim Meyering
[_PATH_DEFPATH]: Use this to define DEFAULT_LOGIN_PATH. [_PATH_DEFPATH_ROOT]: Use this to define DEFAULT_ROOT_LOGIN_PATH. From Rik Faith.
1996-12-18(ISDIGIT): Replace with smaller, faster editionJim Meyering
that yields nonzero only on ASCII digits. (ISDIGIT_LOCALE): New macro, with same meaning that ISDIGIT used to have. From Paul Eggert.
1996-12-18(ROOT_CHOWN_AFFECTS_SYMLINKS): New macro.Jim Meyering
(DO_CHOWN): Take an additional parameter. (LINK_CHOWN): Remove macro. (copy): When preserving owner and group of a symlink, use chown only if ROOT_CHOWN_AFFECTS_SYMLINKS and EUID == 0. Otherwise, the chown would affect the file referenced through the symlink.
1996-12-14twiddle FSF address in comment.Jim Meyering
1996-12-14(get_format_width, get_format_prec): AvoidJim Meyering
unnecessary comparison of digit to '\0'.
1996-12-14(digits): Remove; subsumed by new ISDIGIT.Jim Meyering
(inittables): Remove initialization of `digits'. (fraccompare, numcompare, main): Use ISDIGIT (x) instead of digits[x]. (fraccompare, numcompare): Avoid casts to unsigned char that are no longer needed.
1996-12-14(is_char_class_member): Use ISDIGIT_LOCALE instead ofJim Meyering
ISDIGIT to test for characters in CC_DIGIT class.
1996-12-13(usage): Clarify description of -u option.Jim Meyering
From Karl Berry.
1996-12-13(usage): Update bug-reporting address.Jim Meyering
1996-12-11[_POSIX_VERSION]: Don't declare wait. That declarationJim Meyering
conflicted with the one on i386-pc-isc3.0, now that I've removed the AC_ISC_POSIX macro and _POSIX_VERSION is no longer defined.
1996-12-10(find_mount_point): Convert from K&R style header to ANSI.Jim Meyering
Patch from Kaveh Ghazi.
1996-12-10Include config.h before testing for TERMIOS_NEEDS_XOPEN_SOURCE.Jim Meyering
Patch from Karl Heuer.
1996-12-08(get_win_size): Rename formal parameter from fileno to FD.Jim Meyering
1996-12-08(main): Call setlocale, bindtextdomain, and textdomain.Jim Meyering
From Michel Robitaille.
1996-12-07(init_header): Fix typo: `cons tchar' -> `const char'. From Roland.Jim Meyering
1996-12-05(init_store_cols): Put parens around ... ? ... : ... expr.Jim Meyering
1996-12-05Use NULL instead of e.g., `(char *) 0'.Jim Meyering
1996-12-05(init_header): Move dcl of FMT into block where it's used.Jim Meyering
1996-12-05Reindent with -TCOLUMN.Jim Meyering
(main): Add two sets of curly braces for readability.
1996-12-05(usage): Add \n\ at end of first line.Jim Meyering
1996-12-05(separator_string): dcl parameter const.Jim Meyering
Add __P in fwd dcl.
1996-12-05Apply big patch (patch-20) from Roland Huebner.Jim Meyering
1996-12-05(main) [!POSIXLY_CORRECT]: Allow the identity mappings:Jim Meyering
[:upper:] to [:upper:] and [:lower:] to [:lower:]. (main) [POSIXLY_CORRECT]: Give a more specific diagnostic for the identity mappings [:upper:] to [:upper:] and [:lower:] to [:lower:]. (class_ok): Update table to reflect that tr now allows these identity mappings.
1996-12-04(print_color_indicator): Initialize EXT to NULL.Jim Meyering
1996-12-03(print_color_indicator): Check the file's suffix onlyJim Meyering
if it's a regular file. (print_type_indicator): Use S_IXUGO instead of writing out (S_IEXEC | S_IXGRP | S_IXOTH). (length_of_file_name_and_frills): Likewise.
1996-12-03[!S_IXUGO] (S_IXUGO): Define it.Jim Meyering
1996-11-30(copy_file): Allow installation from non-directory (rather than only regular)Jim Meyering
files. Suggestion from Charles Karney.
1996-11-30(main) [HAVE_SYSINFO && SI_ARCHITECTURE]: Support -p (print processor type).Jim Meyering
(usage): Document it.
1996-11-30(main): Accept -F as a synonym for -t for compatibilityJim Meyering
with Solaris. From Peter Eriksson.
1996-11-30(main): Close stdout and check result, in case any deferred writes fail.Jim Meyering
Use EXIT_SUCCESS and EXIT_FAILURE in exit and usage calls.
1996-11-28(find_mount_point): Use strip_trailing_slashes and dirnameJim Meyering
instead of open-coding them. When given FILE containing no slashes, chdir to the directory containing it (the current directory) rather than to `..'.
1996-11-28(find_mount_point): Use save_cwd/restore_cwd.Jim Meyering
"save-cwd.h": New include. (show_dev): Deal with null values for DISK and FSTYPE, including interpreting special 0 errno return from get_fs_usage. (show_point): Don't fail if we can't find a mount entry for POINT, just call show_dev with 0 values and let it fail if necessary. (main): Require a non-zero MOUNT_LIST only if showing all filesystems. (find_mount_point): New function. (xgetcwd): New declaration. All from Miles.
1996-11-27(fraccompare): Add explicit `int' in `register' dcl, toJim Meyering
avoid new warning from gcc.
1996-11-25(set_ordering): Revert 1994-05-04 change to this functionJim Meyering
so that blanks are not unconditionally ignored when computing start and end positions for numeric keys. Reported by Markus Demleitner.
1996-11-24(get_win_size): Take a FILENO parameter rather thanJim Meyering
trying to get a size from both stdin and stdout. Update callers. Use STDIN_FILENO and STDOUT_FILENO instead of literal 0, 1.
1996-11-24Big patch from Karl Heuer. FIXME: fill in detailsJim Meyering
1996-11-24(usage): Remove trailing pair of blanks.Jim Meyering
1996-11-23(usage): Alphabetize option descriptions the way sort -f would.Jim Meyering
1996-11-23(usage): Alphabetize option descriptions the way sort -f would.Jim Meyering
1996-11-23(usage): Alphabetize options like sort -f would.Jim Meyering
1996-11-23(copy): With -i and not -f, prompt for any type ofJim Meyering
(non-directory) source file before overwriting an existing target. Reported by Mark A. Thomas.
1996-11-23(main): Warn if excess arguments are ignored.Jim Meyering
E.g., printf foo bar now ignores the single non-format argument, bar.
1996-11-23(process_regexp): Update CURRENT_LINE only ifJim Meyering
the new value would be larger. This avoids the infinite loop otherwise provoked by situations like this: printf "\na\n" | csplit - '/a/-1' '{*}' From Jens Schmidt.
1996-11-18Remove unused declaration of mktime. From Tony Leneis.Jim Meyering