Jim Meyering
437e9a0bc4
.
1996-05-02 02:47:10 +00:00
Jim Meyering
389c4049b3
(parse_ls_color, usage): Remove support for alternate spellings:
...
--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-02 02:45:43 +00:00
Jim Meyering
482d5be531
(parse_ls_color, usage): Remove support for alternate spellings:
...
--colours and LS_COLOURS.
1996-05-01 05:19:34 +00:00
Jim Meyering
07e148c8e7
(print_name_with_quoting): Add braces around inner if-else stmt.
1996-04-29 04:53:53 +00:00
Jim Meyering
8455ea2e13
(LEN_STR_PAIR): New macro.
...
(color_indicator): Use it in this declaration.
(parse_ls_color): Use error, not fprintf.
(decode_switches): Add a comment.
1996-04-29 04:52:16 +00:00
Jim Meyering
95439d0f33
(parse_ls_color): Use strcpy to initialize 3-character array.
...
Automatic aggregate initialization isn't portable.
1996-04-29 04:31:24 +00:00
Jim Meyering
aa7d0d8c85
Remove all ^L's.
...
(get_funky_string): Declare static and move to precede single
caller: parse_ls_color.
1996-04-29 04:29:06 +00:00
Jim Meyering
3ce3cb772d
(get_funky_string): Upper-case anon. union `state'.
1996-04-29 04:26:47 +00:00
Jim Meyering
e08a28e045
Apply color ls changes from Drepper.
1996-04-29 04:24:07 +00:00
Jim Meyering
c17caa0c0f
Fri Apr 26 05:52:03 1996 Karl Eichwalder <ke@ke.Central.DE>
...
* ls.c (usage): Add newline at end of printf format string.
1996-04-27 04:10:54 +00:00
Jim Meyering
dc98736719
update Copyright years for 1996
1996-04-24 04:42:21 +00:00
Jim Meyering
0126f74936
(decode_switches): Replace two more atoi uses with xstrtol.
1996-04-21 04:45:12 +00:00
Jim Meyering
7d956ece8c
(decode_switches): Use getenv (POSIXLY_CORRECT), not undefined posix_pedantic.
1996-04-21 04:11:43 +00:00
Jim Meyering
ee708ff4aa
(decode_switches): Clean up last change.
...
[posix_pedantic]: Don't consider TABSIZE environment variable.
1996-04-21 04:07:41 +00:00
Jim Meyering
c1f1f8ac3a
(decode_switches): Use xstrtol, not atoi.
...
Detect and ignore invalid value for COLUMNS environment variable.
In error about invalid TABSIZE, don't reference optarg!
1996-04-21 03:52:30 +00:00
Jim Meyering
43b84ec02e
Remove fixed FIXME.
1996-04-05 04:00:05 +00:00
Jim Meyering
3d1c60aba7
.
1996-03-31 17:19:06 +00:00
Jim Meyering
399abab9bc
(quote_filename): Use ISGRAPH and ISPRINT in place of
...
ASCII-centric tests against literals.
(length_of_file_name_and_frills): Likewise.
1996-03-31 17:18:28 +00:00
Jim Meyering
908040f25e
Rip out color support.
1996-03-31 14:22:12 +00:00
Jim Meyering
5de0b392f2
Update FSF's address.
1996-03-24 18:47:09 +00:00
Jim Meyering
bb6a548712
(main): Declare to be of type int, not void.
1996-03-21 22:45:19 +00:00
Jim Meyering
ca0246a4c1
Don't include version.h.
...
(main): Use PACKAGE_VERSION instead of version_string.
1996-03-16 16:49:28 +00:00
Jim Meyering
10c96c43ac
(main): Initialize for internationalized message support: call setlocale,
...
bindtextdomain, and textdomain.
1996-03-12 03:08:30 +00:00
Jim Meyering
c22b040b21
(decode_switches): Make -o a synonym for -lG for compatibility
...
with most other versions of ls. Reported by Karl Berry.
(usage): Update.
1995-12-23 17:38:08 +00:00
Jim Meyering
b808e70940
Include argmatch.h.
1995-12-22 05:31:17 +00:00
Jim Meyering
073c4cb543
Mark all translatable strings using po-mode.el.
1995-11-29 19:24:52 +00:00
Jim Meyering
57ec0f45c9
s/non-zero/nonzero/g
1995-11-27 05:34:31 +00:00
Jim Meyering
c6394074a8
(parse_ls_color): Use strcpy to initialize 3-character array.
...
Automatic aggregate initialization isn't portable.
1995-11-10 14:54:08 +00:00
Jim Meyering
6f1c4b7a75
Protect prototypes with __P.
1995-11-09 23:47:52 +00:00
Jim Meyering
3e12088cf0
(enum filetype): Move dcl to precede prototypes.
...
(struct fileinfo): Likewise.
Add const attribute to some parameters.
1995-11-09 23:00:14 +00:00
Jim Meyering
c0d94c89ec
Protoize.
1995-11-09 17:02:23 +00:00
Jim Meyering
6181f175e3
Use HAVE_SYS_IOCTL_H, rather than !_POSIX_SOURCE || _AIX.
1995-10-18 22:05:06 +00:00
Jim Meyering
527d04d44b
(dired_dump_obstack): Don't generate any output if the obstack is empty.
...
(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-09-29 04:09:22 +00:00
Jim Meyering
0159470d3d
(decode_switches): Set SORT_TYPE. Before, ls -c was sorting
...
by name, rather than change time. Reported by Ken Estes
(m-ke0082@sparky.cs.nyu.edu ).
1995-08-05 03:09:41 +00:00
Jim Meyering
ec8d1fce62
(main): Include program name in --version output.
1995-06-22 18:43:14 +00:00
Jim Meyering
ee79446888
(usage): Add one or two lines of descriptive text.
1995-05-22 04:30:18 +00:00
Jim Meyering
99ce9e9832
Use stat (lstat), not safe_stat (safe_lstat).
1995-05-13 12:48:33 +00:00
Jim Meyering
70b90a6f9d
(quote_filename): Never return NULL when quoting filenames
...
as C-strings. --quote-name was quoting only strings containing
at least one C-quotable character. Reported by David J. MacKenzie.
1995-05-02 04:04:32 +00:00
Jim Meyering
1423198343
add 1995 to Copyright dates
1995-03-10 04:15:06 +00:00
Jim Meyering
9ac5e4ef97
(color_indicator[0]): Add missing `['.
1995-02-27 16:37:54 +00:00
Jim Meyering
69f39255bc
Rename SAFE_STAT and SAFE_LSTAT to lower case names.
1995-01-27 17:03:21 +00:00
Jim Meyering
59097c0922
Include "error.h" rather than simply declaring `void error ();'.
1994-12-27 13:36:22 +00:00
Jim Meyering
04b546bdb9
Make some globals static' and/or const'.
...
(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-28 06:00:56 +00:00
Jim Meyering
f214bd45dc
indent
1994-11-28 04:38:27 +00:00
Jim Meyering
f021d0ca05
(indent): Use TABs only when doing so replaces at least two spaces.
1994-11-28 04:32:07 +00:00
Jim Meyering
c65e1fe89f
`colorize' patch from Drepper.
1994-11-28 04:25:31 +00:00
Jim Meyering
0ccaadc62c
Include <limits.h> before system.h because limits.h on
...
some systems undefines PATH_MAX, whereas system.h includes pathmax.h
which sets PATH_MAX. From Kaveh Ghazi.
1994-11-04 06:04:02 +00:00
Jim Meyering
a175b4affb
.
1994-10-31 14:03:58 +00:00
Jim Meyering
2ef20008e8
.
1994-10-28 18:32:31 +00:00
Jim Meyering
c0119ac534
.
1994-10-28 17:03:06 +00:00