summaryrefslogtreecommitdiff
path: root/src/ls.c
AgeCommit message (Collapse)Author
1996-05-02(parse_ls_color, usage): Remove support for alternate spellings:Jim Meyering
--colours and LS_COLOURS. (parse_ls_color): Reverse sense of test for LS_COLORS environment variable and return -- save a level of indentation on a 100+-line block.
1996-05-01(parse_ls_color, usage): Remove support for alternate spellings:Jim Meyering
--colours and LS_COLOURS.
1996-04-29(print_name_with_quoting): Add braces around inner if-else stmt.Jim Meyering
1996-04-29(LEN_STR_PAIR): New macro.Jim Meyering
(color_indicator): Use it in this declaration. (parse_ls_color): Use error, not fprintf. (decode_switches): Add a comment.
1996-04-29(parse_ls_color): Use strcpy to initialize 3-character array.Jim Meyering
Automatic aggregate initialization isn't portable.
1996-04-29Remove all ^L's.Jim Meyering
(get_funky_string): Declare static and move to precede single caller: parse_ls_color.
1996-04-29(get_funky_string): Upper-case anon. union `state'.Jim Meyering
1996-04-29Apply color ls changes from Drepper.Jim Meyering
1996-04-27Fri Apr 26 05:52:03 1996 Karl Eichwalder <ke@ke.Central.DE>Jim Meyering
* ls.c (usage): Add newline at end of printf format string.
1996-04-24update Copyright years for 1996Jim Meyering
1996-04-21(decode_switches): Replace two more atoi uses with xstrtol.Jim Meyering
1996-04-21(decode_switches): Use getenv (POSIXLY_CORRECT), not undefined posix_pedantic.Jim Meyering
1996-04-21(decode_switches): Clean up last change.Jim Meyering
[posix_pedantic]: Don't consider TABSIZE environment variable.
1996-04-21(decode_switches): Use xstrtol, not atoi.Jim Meyering
Detect and ignore invalid value for COLUMNS environment variable. In error about invalid TABSIZE, don't reference optarg!
1996-04-05Remove fixed FIXME.Jim Meyering
1996-03-31.Jim Meyering
1996-03-31(quote_filename): Use ISGRAPH and ISPRINT in place ofJim Meyering
ASCII-centric tests against literals. (length_of_file_name_and_frills): Likewise.
1996-03-31Rip out color support.Jim Meyering
1996-03-24Update FSF's address.Jim Meyering
1996-03-21(main): Declare to be of type int, not void.Jim Meyering
1996-03-16Don't include version.h.Jim Meyering
(main): Use PACKAGE_VERSION instead of version_string.
1996-03-12(main): Initialize for internationalized message support: call setlocale,Jim Meyering
bindtextdomain, and textdomain.
1995-12-23(decode_switches): Make -o a synonym for -lG for compatibilityJim Meyering
with most other versions of ls. Reported by Karl Berry. (usage): Update.
1995-12-22Include argmatch.h.Jim Meyering
1995-11-29Mark all translatable strings using po-mode.el.Jim Meyering
1995-11-27s/non-zero/nonzero/gJim Meyering
1995-11-10(parse_ls_color): Use strcpy to initialize 3-character array.Jim Meyering
Automatic aggregate initialization isn't portable.
1995-11-09Protect prototypes with __P.Jim Meyering
1995-11-09(enum filetype): Move dcl to precede prototypes.Jim Meyering
(struct fileinfo): Likewise. Add const attribute to some parameters.
1995-11-09Protoize.Jim Meyering
1995-10-18Use HAVE_SYS_IOCTL_H, rather than !_POSIX_SOURCE || _AIX.Jim Meyering
1995-09-29(dired_dump_obstack): Don't generate any output if the obstack is empty.Jim Meyering
(main): Always initialize and dump subdired_obstack, not just if -R. `ls -lDR dir dir2' was using uninitialized subdired_obstack. Reported by Samuli K{rkk{inen <hskarkka@snakemail.hut.fi>.
1995-08-05(decode_switches): Set SORT_TYPE. Before, ls -c was sortingJim Meyering
by name, rather than change time. Reported by Ken Estes (m-ke0082@sparky.cs.nyu.edu).
1995-06-22(main): Include program name in --version output.Jim Meyering
1995-05-22(usage): Add one or two lines of descriptive text.Jim Meyering
1995-05-13Use stat (lstat), not safe_stat (safe_lstat).Jim Meyering
1995-05-02(quote_filename): Never return NULL when quoting filenamesJim Meyering
as C-strings. --quote-name was quoting only strings containing at least one C-quotable character. Reported by David J. MacKenzie.
1995-03-10add 1995 to Copyright datesJim Meyering
1995-02-27(color_indicator[0]): Add missing `['.Jim Meyering
1995-01-27Rename SAFE_STAT and SAFE_LSTAT to lower case names.Jim Meyering
1994-12-27Include "error.h" rather than simply declaring `void error ();'.Jim Meyering
1994-11-28Make some globals `static' and/or `const'.Jim Meyering
(LEN_STR_PAIR): New macro. (decode_switches): Only ignore invalid TABSET value instead of dying. (parse_ls_color): Use error, not fprintf. (print_type_indicator): Remove dcls of two unused variables.
1994-11-28indentJim Meyering
1994-11-28(indent): Use TABs only when doing so replaces at least two spaces.Jim Meyering
1994-11-28`colorize' patch from Drepper.Jim Meyering
1994-11-04Include <limits.h> before system.h because limits.h onJim Meyering
some systems undefines PATH_MAX, whereas system.h includes pathmax.h which sets PATH_MAX. From Kaveh Ghazi.
1994-10-31.Jim Meyering
1994-10-28.Jim Meyering
1994-10-28.Jim Meyering
1994-10-27merge with 3.9qJim Meyering