Jim Meyering
b802aa3f55
New (more POSIX compliant) version from GNU libc.
1997-01-08 04:11:29 +00:00
Jim Meyering
8f915aadf8
.
1997-01-06 04:24:52 +00:00
Jim Meyering
662e8b4a03
.
1997-01-06 04:19:50 +00:00
Jim Meyering
3dd86270c6
.
1997-01-06 03:31:03 +00:00
Jim Meyering
ce7c0d5468
.
1997-01-06 03:23:19 +00:00
Jim Meyering
9ae64058d2
.
1997-01-06 03:21:55 +00:00
Jim Meyering
92de89ed2c
.
1997-01-05 20:32:57 +00:00
Jim Meyering
5f0b9f1d99
(print_long_format): Detect and handle strftime failure
...
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 20:32:49 +00:00
Jim Meyering
8ebfd37293
(print_long_format): NUL-terminate line of output.
1997-01-05 15:39:27 +00:00
Jim Meyering
cb6351aa82
(print_long_format): First patch from Paul Eggert.
1997-01-05 15:33:44 +00:00
Jim Meyering
a518e28429
.
1997-01-05 03:32:28 +00:00
Jim Meyering
7de0d8e233
.
1997-01-05 03:24:32 +00:00
Jim Meyering
839c312d49
.
1997-01-05 03:19:46 +00:00
Jim Meyering
783bace690
(print_long_format): Clean up vestiges of legacy
...
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-05 03:18:49 +00:00
Jim Meyering
31d836282b
.
1997-01-04 03:09:44 +00:00
Jim Meyering
bc73cf3351
Fix typo.
TEXTUTILS-1_20b
1997-01-03 05:10:19 +00:00
Jim Meyering
731cbc77fb
.
FILEUTILS-3_14b
1997-01-03 05:05:45 +00:00
Jim Meyering
2bd16e646e
.
1997-01-03 03:24:22 +00:00
Jim Meyering
7f2c13e703
.
1997-01-03 03:20:24 +00:00
Jim Meyering
635a7c3186
(init_fps): Initialize lines_stored field in three places.
...
This avoids uninitialized memory reads in close_file.
1997-01-03 03:20:14 +00:00
Jim Meyering
42d1927306
.
1997-01-03 03:16:59 +00:00
Jim Meyering
ba246b0f36
(EXTRA_DIST): Add getgroups.c.
1997-01-03 03:16:29 +00:00
Jim Meyering
13ff080b78
.
1997-01-02 03:13:49 +00:00
Jim Meyering
06a5782edd
.
1997-01-02 02:21:58 +00:00
Jim Meyering
12f377da25
.
1997-01-01 23:35:31 +00:00
Jim Meyering
c423a2d74a
.
SH-UTILS-1_14b
1996-12-31 16:18:06 +00:00
Jim Meyering
04a1a572f4
.
1996-12-30 05:45:23 +00:00
Jim Meyering
1ba3bd3896
(init_header): Plug a small memory leak by using stack
...
rather than heap for a 15-byte temporary buffer.
1996-12-30 05:43:58 +00:00
Jim Meyering
fb59a28b16
.
1996-12-30 04:11:13 +00:00
Jim Meyering
ab48b17dca
.
1996-12-29 20:34:21 +00:00
Jim Meyering
d2ca2163c6
.
1996-12-29 03:47:51 +00:00
Jim Meyering
5ae342e1a9
Two problems fixed by these changes from Joakim Rosqvist.
...
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-29 03:47:34 +00:00
Jim Meyering
6c635d1f27
.
1996-12-29 01:48:20 +00:00
Jim Meyering
42640f71df
Correct obsolete comment referring to macro that is now ls_mode.
1996-12-28 20:32:39 +00:00
Jim Meyering
0b83b3090b
.
1996-12-28 16:04:01 +00:00
Jim Meyering
4b583d1691
.
1996-12-28 13:30:51 +00:00
Jim Meyering
a182aa4e5a
.
1996-12-28 06:27:35 +00:00
Jim Meyering
22ca9b17a5
.
1996-12-28 06:07:39 +00:00
Jim Meyering
04916b80de
.
1996-12-28 06:06:51 +00:00
Jim Meyering
d7d7ae76b2
.
1996-12-28 06:05:51 +00:00
Jim Meyering
da7809f65c
(TAB_WIDTH): Cleaned up definition and renamed from tab_width.
...
(POS_AFTER_TAB): Cleaned up definition and renamed from pos_after_tab.
1996-12-28 06:04:36 +00:00
Jim Meyering
b7d3a68ce5
.
1996-12-28 05:34:01 +00:00
Jim Meyering
8794c292e7
Fix a couple of thinkos and typos.
...
Now it works with pr's tests, too.
1996-12-28 05:30:46 +00:00
Jim Meyering
ece3b1d144
.
1996-12-28 05:27:53 +00:00
Jim Meyering
8087dd5668
Regenerate list of explicit files, this time with duplicates removed.
1996-12-28 05:27:25 +00:00
Jim Meyering
1a622aa2d9
.
1996-12-28 05:15:56 +00:00
Jim Meyering
1ea9952168
.
1996-12-28 05:14:37 +00:00
Jim Meyering
4df74fe308
.
1996-12-28 05:12:09 +00:00
Jim Meyering
68545c98ed
.
1996-12-28 04:58:34 +00:00
Jim Meyering
4650315342
Indent cpp directives.
1996-12-28 04:58:26 +00:00