summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1997-01-26.Jim Meyering
1997-01-26(usage): Fix typo (--writeable -> --writable) in help outputJim Meyering
1997-01-26(parse_options): Add quotes to make messages identical.Jim Meyering
1997-01-26Restore dcl of free. with obstacks, you need it.Jim Meyering
1997-01-26Revert last change. With obstack, dcl of free is *required*.Jim Meyering
1997-01-26(count_entry): Fix blatant bug (typo?) that madeJim Meyering
--megabytes report numbers in units of kilobytes. Reported by Galen Hazelwood.
1997-01-26(print_factors): Reflect changes to xstrtoul interface.Jim Meyering
1997-01-26(parse_options): Remove unnecessary goto and label.Jim Meyering
1997-01-26(parse_obsolescent_option): Comment.Jim Meyering
1997-01-26(is_ancestor): Add it.Jim Meyering
1997-01-25update for changed xstrtou?lJim Meyering
1997-01-25fix copyright fillingJim Meyering
1997-01-25fix copyright fillingJim Meyering
1997-01-25.Jim Meyering
1997-01-24(parse_obsolescent_option): Recognize and fail forJim Meyering
more malformed obsolescent options. Makes for better diagnostics.
1997-01-23(parse_options): New function.Jim Meyering
(parse_obsolescent_option): New function. (main): Use the new functions instead of open-coding them. This better fixes the bug in handling obsolescent `+Nc' options. General cleanup.
1997-01-22(main): Properly handle what the POSIX spec callsJim Meyering
the `obsolescent' usage (e.g., tail +2c). It didn't work. Reported by Karl Heuer.
1997-01-18Include getdate.h.Jim Meyering
(<time.h>, <sys/time.h>): Don't include -- now getdate.h does it.
1997-01-15[!STDC_HEADERS]: Remove unnecessary declaration of free.Jim Meyering
1997-01-15[!STDC_HEADERS]: Remove unnecessary declaration of free.Jim Meyering
1997-01-15Add struct dir_list and is_ancestor.Jim Meyering
1997-01-11.Jim Meyering
1997-01-11.Jim Meyering
1997-01-09(print_long_format): Cast alloca return value to char*.Jim Meyering
1997-01-08(main): Work around failures induced by new version ofJim Meyering
getopt.c by not modifying optind before the first getopt_long call in main. With suggestions from Ulrich Drepper.
1997-01-05(print_long_format): Detect and handle strftime failureJim Meyering
due to pathologically long strings in locale tables. Patch from Paul Eggert. (print_long_format): Change references to BIGBUF in use of FPUT macro to references to BUF. Use 11 (not 20) bytes for mode string buffer.
1997-01-05(print_long_format): NUL-terminate line of output.Jim Meyering
1997-01-05(print_long_format): First patch from Paul Eggert.Jim Meyering
1997-01-05(print_long_format): Clean up vestiges of legacyJim Meyering
ctime-oriented code. With internationalization and strftime, you can't presume that %a expands to a 3-byte string. Reported by Ross Ridge.
1997-01-03(init_fps): Initialize lines_stored field in three places.Jim Meyering
This avoids uninitialized memory reads in close_file.
1996-12-30(init_header): Plug a small memory leak by using stackJim Meyering
rather than heap for a 15-byte temporary buffer.
1996-12-29Two problems fixed by these changes from Joakim Rosqvist.Jim Meyering
Quoting Joakim: 1) The "total" number and the size of the first file as output from 'ls --color -s' did not get colorized according to the "no"-argument in LS_COLORS. Fixed by adding a function prep_non_filename_text which prints the C_LEFT C_NORM C_RIGHT strings (or C_END). It is called from main before any text is output, and from print_name_with_quoting after having output a colorized filename. 2) If the "no"-argument of LS_COLORS is set, the terminal will be set to print in that color after ls exits. The man-pages suggests setting "no" and "fi" to the terminals default colors to avoid the problem, but that would mean I can't use anything but the default color for regular files and non-filename text. Fixed by outputting C_LEFT immediately followed by C_RIGHT right before exit, which restores the default color.
1996-12-28Correct obsolete comment referring to macro that is now ls_mode.Jim Meyering
1996-12-28(TAB_WIDTH): Cleaned up definition and renamed from tab_width.Jim Meyering
(POS_AFTER_TAB): Cleaned up definition and renamed from pos_after_tab.
1996-12-28Indent cpp directives.Jim Meyering
1996-12-28[!WTMP_FILE]: Provide default path.Jim Meyering
(UTMP_FILE) [UTMPX_FILE]: Use UTMPX_FILE in favor of UTMP_FILE. Patch from Kaveh R. Ghazi.
1996-12-28(usage): Break long string literal into two separateJim Meyering
printf statements to accomodate default maximum of 2048 characters for Irix-4.0.5. Reported by Kaveh Ghazi.
1996-12-23revert last changeJim Meyering
1996-12-23remove support for --string optionJim Meyering
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'.