summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
1996-11-18(main): Ignore -a, for compatibility with SVR4.Jim Meyering
1996-11-04(recover_mode): Fail also if there are too many fields. From Karl Heuer.Jim Meyering
1996-11-03change bug-reporting addressJim Meyering
1996-11-03change bug-reporting addressJim Meyering
1996-11-02change bug-reporting addressJim Meyering
1996-11-02change bug-reporting addressJim Meyering
1996-11-02(gobble_file): Set linkok for non-orphaned symlinks.Jim Meyering
From Bauke Jan Douma. (gobble_file): Initialize linkok. With these two changes, ls --color should display orphaned symlinks as blinking text on terminals that support it.
1996-11-02(main): Give better diagnostic.Jim Meyering
Suggestion from Karl Berry.
1996-11-02.Jim Meyering
1996-11-02[!ENABLE_ASSERTIONS]: Guard NDEBUG definition.Jim Meyering
(checkfp): Fix off-by-one error that resulted in writing one byte beyond the end of a malloc'd buffer. It caused `sort -c' to segfault on Linux systems having a relatively recent libc. Before, running the command, perl -e "print 'x' x 30, \"\n\";"|sort -c would provoke the memory overrun (though not necessarily the failure). Add an assertion.
1996-11-01(key_init): New function.Jim Meyering
(main): Use key_init in the two places where it was open-coded.
1996-10-31(decode_field_spec): Always give FIELD_INDEX a value.Jim Meyering
This avoids spurious UMR from purify. (prjoin): Add an assertion. (add_field): Update assertion.
1996-10-31(es_free): New function.Jim Meyering
(parse_str): Use it to plug small memory leak.
1996-10-29(decode_switches): Make -A set really_all_files to zeroJim Meyering
as well as setting all_files to 1. With this change, ls -f -A prints everything but . and .., unsorted. Before, the -A was effectively ignored. From Karl Berry.
1996-10-29(main): Ignore SIGPIPE.Jim Meyering
1996-10-24Guard inclusion of stdarg.h and definition of VA_STARTJim Meyering
with #if PROTOTYPES rather than with #ifdef __STDC__. The latter loses with Dynix/PTX. (wrapf) [PROTOTYPES]: Similarly, guard ANSI-style ... definition. Suggestion from Marcus Daniels.
1996-10-21Comment out DOS-style suffixes.Jim Meyering
1996-10-21(validate): Remove TAB from diagnostic, for consistency.Jim Meyering
1996-10-21(main): Remove TAB from diagnostic, for consistency.Jim Meyering
1996-10-20(print_entry): Don't take address of UT_TIME_MEMBER directly.Jim Meyering
From Ulrich Drepper.
1996-10-16(get_next): Rewrite to treat lower/upper mapping as a special case.Jim Meyering
(main): Write separate loops to initialize mapping for lower->upper and upper->lower conversion.