Jim Meyering [Wed, 8 Jan 1997 04:56:45 +0000 (04:56 +0000)]
.
Jim Meyering [Wed, 8 Jan 1997 04:52:41 +0000 (04:52 +0000)]
.
Jim Meyering [Wed, 8 Jan 1997 04:52:00 +0000 (04:52 +0000)]
[_]: Define to gettext also if ENABLE_NLS is defined.
Jim Meyering [Wed, 8 Jan 1997 04:50:29 +0000 (04:50 +0000)]
.
Jim Meyering [Wed, 8 Jan 1997 04:49:33 +0000 (04:49 +0000)]
.
Jim Meyering [Wed, 8 Jan 1997 04:47:56 +0000 (04:47 +0000)]
(main): Work around failures induced by new version of
getopt.c by not modifying optind before the first getopt_long call
in main. With suggestions from Ulrich Drepper.
Jim Meyering [Wed, 8 Jan 1997 04:11:29 +0000 (04:11 +0000)]
New (more POSIX compliant) version from GNU libc.
Jim Meyering [Mon, 6 Jan 1997 04:24:52 +0000 (04:24 +0000)]
.
Jim Meyering [Mon, 6 Jan 1997 04:19:50 +0000 (04:19 +0000)]
.
Jim Meyering [Mon, 6 Jan 1997 03:31:03 +0000 (03:31 +0000)]
.
Jim Meyering [Mon, 6 Jan 1997 03:23:19 +0000 (03:23 +0000)]
.
Jim Meyering [Mon, 6 Jan 1997 03:21:55 +0000 (03:21 +0000)]
.
Jim Meyering [Sun, 5 Jan 1997 20:32:57 +0000 (20:32 +0000)]
.
Jim Meyering [Sun, 5 Jan 1997 20:32:49 +0000 (20:32 +0000)]
(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.
Jim Meyering [Sun, 5 Jan 1997 15:39:27 +0000 (15:39 +0000)]
(print_long_format): NUL-terminate line of output.
Jim Meyering [Sun, 5 Jan 1997 15:33:44 +0000 (15:33 +0000)]
(print_long_format): First patch from Paul Eggert.
Jim Meyering [Sun, 5 Jan 1997 03:32:28 +0000 (03:32 +0000)]
.
Jim Meyering [Sun, 5 Jan 1997 03:24:32 +0000 (03:24 +0000)]
.
Jim Meyering [Sun, 5 Jan 1997 03:19:46 +0000 (03:19 +0000)]
.
Jim Meyering [Sun, 5 Jan 1997 03:18:49 +0000 (03:18 +0000)]
(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.
Jim Meyering [Sat, 4 Jan 1997 03:09:44 +0000 (03:09 +0000)]
.
Jim Meyering [Fri, 3 Jan 1997 05:10:19 +0000 (05:10 +0000)]
Fix typo.
Jim Meyering [Fri, 3 Jan 1997 05:05:45 +0000 (05:05 +0000)]
.
Jim Meyering [Fri, 3 Jan 1997 03:24:22 +0000 (03:24 +0000)]
.
Jim Meyering [Fri, 3 Jan 1997 03:20:24 +0000 (03:20 +0000)]
.
Jim Meyering [Fri, 3 Jan 1997 03:20:14 +0000 (03:20 +0000)]
(init_fps): Initialize lines_stored field in three places.
This avoids uninitialized memory reads in close_file.
Jim Meyering [Fri, 3 Jan 1997 03:16:59 +0000 (03:16 +0000)]
.
Jim Meyering [Fri, 3 Jan 1997 03:16:29 +0000 (03:16 +0000)]
(EXTRA_DIST): Add getgroups.c.
Jim Meyering [Thu, 2 Jan 1997 03:13:49 +0000 (03:13 +0000)]
.
Jim Meyering [Thu, 2 Jan 1997 02:21:58 +0000 (02:21 +0000)]
.
Jim Meyering [Wed, 1 Jan 1997 23:35:31 +0000 (23:35 +0000)]
.
Jim Meyering [Tue, 31 Dec 1996 16:18:06 +0000 (16:18 +0000)]
.
Jim Meyering [Mon, 30 Dec 1996 05:45:23 +0000 (05:45 +0000)]
.
Jim Meyering [Mon, 30 Dec 1996 05:43:58 +0000 (05:43 +0000)]
(init_header): Plug a small memory leak by using stack
rather than heap for a 15-byte temporary buffer.
Jim Meyering [Mon, 30 Dec 1996 04:11:13 +0000 (04:11 +0000)]
.
Jim Meyering [Sun, 29 Dec 1996 20:34:21 +0000 (20:34 +0000)]
.
Jim Meyering [Sun, 29 Dec 1996 03:47:51 +0000 (03:47 +0000)]
.
Jim Meyering [Sun, 29 Dec 1996 03:47:34 +0000 (03:47 +0000)]
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.
Jim Meyering [Sun, 29 Dec 1996 01:48:20 +0000 (01:48 +0000)]
.
Jim Meyering [Sat, 28 Dec 1996 20:32:39 +0000 (20:32 +0000)]
Correct obsolete comment referring to macro that is now ls_mode.
Jim Meyering [Sat, 28 Dec 1996 16:04:01 +0000 (16:04 +0000)]
.
Jim Meyering [Sat, 28 Dec 1996 13:30:51 +0000 (13:30 +0000)]
.
Jim Meyering [Sat, 28 Dec 1996 06:27:35 +0000 (06:27 +0000)]
.
Jim Meyering [Sat, 28 Dec 1996 06:07:39 +0000 (06:07 +0000)]
.
Jim Meyering [Sat, 28 Dec 1996 06:06:51 +0000 (06:06 +0000)]
.
Jim Meyering [Sat, 28 Dec 1996 06:05:51 +0000 (06:05 +0000)]
.
Jim Meyering [Sat, 28 Dec 1996 06:04:36 +0000 (06:04 +0000)]
(TAB_WIDTH): Cleaned up definition and renamed from tab_width.
(POS_AFTER_TAB): Cleaned up definition and renamed from pos_after_tab.
Jim Meyering [Sat, 28 Dec 1996 05:34:01 +0000 (05:34 +0000)]
.
Jim Meyering [Sat, 28 Dec 1996 05:30:46 +0000 (05:30 +0000)]
Fix a couple of thinkos and typos.
Now it works with pr's tests, too.
Jim Meyering [Sat, 28 Dec 1996 05:27:53 +0000 (05:27 +0000)]
.
Jim Meyering [Sat, 28 Dec 1996 05:27:25 +0000 (05:27 +0000)]
Regenerate list of explicit files, this time with duplicates removed.
Jim Meyering [Sat, 28 Dec 1996 05:15:56 +0000 (05:15 +0000)]
.
Jim Meyering [Sat, 28 Dec 1996 05:14:37 +0000 (05:14 +0000)]
.
Jim Meyering [Sat, 28 Dec 1996 05:12:09 +0000 (05:12 +0000)]
.
Jim Meyering [Sat, 28 Dec 1996 04:58:34 +0000 (04:58 +0000)]
.
Jim Meyering [Sat, 28 Dec 1996 04:58:26 +0000 (04:58 +0000)]
Indent cpp directives.
Jim Meyering [Sat, 28 Dec 1996 04:44:35 +0000 (04:44 +0000)]
[!WTMP_FILE]: Provide default path.
(UTMP_FILE) [UTMPX_FILE]: Use UTMPX_FILE in favor of UTMP_FILE.
Patch from Kaveh R. Ghazi.
Jim Meyering [Sat, 28 Dec 1996 02:59:25 +0000 (02:59 +0000)]
Rewrite the test so that systems lacking
getgroups don't try to use the supplied replacement function --
that depends on the existence of such a function.
Jim Meyering [Sat, 28 Dec 1996 02:28:56 +0000 (02:28 +0000)]
(usage): Break long string literal into two separate
printf statements to accomodate default maximum of 2048 characters
for Irix-4.0.5. Reported by Kaveh Ghazi.
Jim Meyering [Sat, 28 Dec 1996 00:22:01 +0000 (00:22 +0000)]
.
Jim Meyering [Sat, 28 Dec 1996 00:19:56 +0000 (00:19 +0000)]
Make 'em arrays of references, not arrays of arrays.
Jim Meyering [Sat, 28 Dec 1996 00:11:07 +0000 (00:11 +0000)]
.
Jim Meyering [Fri, 27 Dec 1996 23:31:41 +0000 (23:31 +0000)]
.
Jim Meyering [Fri, 27 Dec 1996 03:36:53 +0000 (03:36 +0000)]
Add comment.
Rename local, ng to n_groups.
Jim Meyering [Tue, 24 Dec 1996 19:28:22 +0000 (19:28 +0000)]
.
Jim Meyering [Mon, 23 Dec 1996 23:58:14 +0000 (23:58 +0000)]
.
Jim Meyering [Mon, 23 Dec 1996 23:57:56 +0000 (23:57 +0000)]
revert last change
Jim Meyering [Mon, 23 Dec 1996 23:57:09 +0000 (23:57 +0000)]
remove support for --string option
Jim Meyering [Mon, 23 Dec 1996 05:59:33 +0000 (05:59 +0000)]
.
Jim Meyering [Mon, 23 Dec 1996 05:59:12 +0000 (05:59 +0000)]
.
Jim Meyering [Mon, 23 Dec 1996 05:46:00 +0000 (05:46 +0000)]
.
Jim Meyering [Mon, 23 Dec 1996 05:41:42 +0000 (05:41 +0000)]
.
Jim Meyering [Mon, 23 Dec 1996 05:41:19 +0000 (05:41 +0000)]
.
Jim Meyering [Mon, 23 Dec 1996 05:33:05 +0000 (05:33 +0000)]
.
Jim Meyering [Mon, 23 Dec 1996 05:31:46 +0000 (05:31 +0000)]
(EXTRA_DIST): Add README.
Jim Meyering [Mon, 23 Dec 1996 05:26:10 +0000 (05:26 +0000)]
.
Jim Meyering [Mon, 23 Dec 1996 05:15:44 +0000 (05:15 +0000)]
.
Jim Meyering [Mon, 23 Dec 1996 05:14:55 +0000 (05:14 +0000)]
.
Jim Meyering [Sun, 22 Dec 1996 19:09:49 +0000 (19:09 +0000)]
.
Jim Meyering [Sun, 22 Dec 1996 14:20:27 +0000 (14:20 +0000)]
.
Jim Meyering [Sun, 22 Dec 1996 14:18:09 +0000 (14:18 +0000)]
.
Jim Meyering [Sun, 22 Dec 1996 14:17:20 +0000 (14:17 +0000)]
.
Jim Meyering [Sun, 22 Dec 1996 14:15:37 +0000 (14:15 +0000)]
.
Jim Meyering [Sun, 22 Dec 1996 14:14:01 +0000 (14:14 +0000)]
.
Jim Meyering [Sun, 22 Dec 1996 14:12:06 +0000 (14:12 +0000)]
Use same framework as other tests.
Jim Meyering [Sun, 22 Dec 1996 14:09:10 +0000 (14:09 +0000)]
Use test_vector, not array @t.
Jim Meyering [Sun, 22 Dec 1996 14:04:47 +0000 (14:04 +0000)]
Use test_vector, not array @t.
Jim Meyering [Sun, 22 Dec 1996 03:32:51 +0000 (03:32 +0000)]
.
Jim Meyering [Sun, 22 Dec 1996 03:30:23 +0000 (03:30 +0000)]
.
Jim Meyering [Sun, 22 Dec 1996 03:25:05 +0000 (03:25 +0000)]
.
Jim Meyering [Sun, 22 Dec 1996 03:24:25 +0000 (03:24 +0000)]
.
Jim Meyering [Sun, 22 Dec 1996 03:03:48 +0000 (03:03 +0000)]
.
Jim Meyering [Sun, 22 Dec 1996 02:51:34 +0000 (02:51 +0000)]
.
Jim Meyering [Sun, 22 Dec 1996 02:51:17 +0000 (02:51 +0000)]
Clone the Makefile.am from join-test.
Replace only the definition of $x and the auto-generated lists of test files.
Jim Meyering [Sun, 22 Dec 1996 02:50:34 +0000 (02:50 +0000)]
Clone the Makefile.am from join-test.
Replace only the definition of $x and the auto-generated lists of test files.
Jim Meyering [Sun, 22 Dec 1996 02:50:15 +0000 (02:50 +0000)]
Clone the Makefile.am from join-test.
Replace only the definition of $x and the auto-generated lists of
test files.
Jim Meyering [Sun, 22 Dec 1996 02:46:14 +0000 (02:46 +0000)]
use 77 as max line len when wrapping
Jim Meyering [Sun, 22 Dec 1996 02:44:12 +0000 (02:44 +0000)]
.
Jim Meyering [Sun, 22 Dec 1996 02:34:14 +0000 (02:34 +0000)]
.
Jim Meyering [Sun, 22 Dec 1996 02:33:17 +0000 (02:33 +0000)]
.