Age | Commit message (Collapse) | Author | |
---|---|---|---|
1997-01-26 | . | Jim Meyering | |
1997-01-26 | (usage): Fix typo (--writeable -> --writable) in help output | Jim Meyering | |
1997-01-26 | (parse_options): Add quotes to make messages identical. | Jim Meyering | |
1997-01-26 | Restore dcl of free. with obstacks, you need it. | Jim Meyering | |
1997-01-26 | Revert last change. With obstack, dcl of free is *required*. | Jim Meyering | |
1997-01-26 | (count_entry): Fix blatant bug (typo?) that made | Jim 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-25 | update for changed xstrtou?l | Jim Meyering | |
1997-01-25 | fix copyright filling | Jim Meyering | |
1997-01-25 | fix copyright filling | Jim Meyering | |
1997-01-25 | . | Jim Meyering | |
1997-01-24 | (parse_obsolescent_option): Recognize and fail for | Jim 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 calls | Jim Meyering | |
the `obsolescent' usage (e.g., tail +2c). It didn't work. Reported by Karl Heuer. | |||
1997-01-18 | Include 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-15 | Add 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 of | Jim 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 failure | Jim 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 legacy | Jim 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 stack | Jim Meyering | |
rather than heap for a 15-byte temporary buffer. | |||
1996-12-29 | Two 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-28 | Correct 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-28 | Indent 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 separate | Jim Meyering | |
printf statements to accomodate default maximum of 2048 characters for Irix-4.0.5. Reported by Kaveh Ghazi. | |||
1996-12-23 | revert last change | Jim Meyering | |
1996-12-23 | remove support for --string option | Jim Meyering | |
1996-12-21 | Replace hard-coded /etc/wtmp with WTMP_FILE. Suggestion from Eivind. | Jim Meyering | |
1996-12-21 | (usage): Say that UTMP_FILE is the default FILE | Jim 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 with | Jim 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 edition | Jim 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-14 | twiddle FSF address in comment. | Jim Meyering | |
1996-12-14 | (get_format_width, get_format_prec): Avoid | Jim Meyering | |
unnecessary comparison of digit to '\0'. |