summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
1997-02-02.Jim Meyering
1997-02-02.Jim Meyering
1997-02-01.Jim Meyering
1997-02-01(init_parameters): For compatibility: use defaultJim Meyering
separator `TAB' with full length lines. From Roland Huebner.
1997-02-01(usage): Make parenthetical note on --no-dereference a little more general.Jim Meyering
1997-02-01bracket bug address with <> and append a periodJim Meyering
1997-02-01bracket bug address with <> and append a periodJim Meyering
1997-02-01bracket bug address with <> and append a periodJim Meyering
1997-02-01Rename globals buffer and buffer_size to have G_ prefixJim Meyering
to avoid shadowing local variables.
1997-02-01(add_line_number): Rename from `number' to avoid shadowing local variables.Jim Meyering
1997-02-01Compare getopt_long return value against -1, not EOF. Use NULL, not '(int ↵Jim Meyering
*) 0' as last parameter in getopt_long call.
1997-02-01Compare getopt_long return value against -1, not EOF. Use NULL, not '(int ↵Jim Meyering
*) 0' as last parameter in getopt_long call.
1997-02-01Compare getopt_long return value against -1, not EOF. Use NULL, not '(int ↵Jim Meyering
*) 0' as last parameter in getopt_long call.
1997-01-30.Jim Meyering
1997-01-28(usage): Remove one space in message to make colons line up.Jim Meyering
1997-01-28(print_long_format): Fix off-by-one problem in size being passed to strftime.Jim Meyering
1997-01-27really make the messages identicalJim Meyering
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