Jim Meyering [Sat, 6 Jul 1996 02:58:59 +0000 (02:58 +0000)]
($(PACKAGE).pot): Merge from gettext-0.10.23.
Jim Meyering [Fri, 5 Jul 1996 03:58:06 +0000 (03:58 +0000)]
.
Jim Meyering [Fri, 5 Jul 1996 03:40:39 +0000 (03:40 +0000)]
.
Jim Meyering [Fri, 5 Jul 1996 03:40:21 +0000 (03:40 +0000)]
(usage): Remove space before newline in usage message.
Jim Meyering [Fri, 5 Jul 1996 03:39:21 +0000 (03:39 +0000)]
.
Jim Meyering [Fri, 5 Jul 1996 03:39:12 +0000 (03:39 +0000)]
(usage): Remove space before newline in usage message.
Jim Meyering [Fri, 5 Jul 1996 02:49:48 +0000 (02:49 +0000)]
(usage): Remove space before newline in usage message.
Jim Meyering [Fri, 5 Jul 1996 02:29:10 +0000 (02:29 +0000)]
(usage): Remove space before newline in usage message.
Jim Meyering [Fri, 5 Jul 1996 02:28:29 +0000 (02:28 +0000)]
(usage): Remove space before newline in usage message.
Jim Meyering [Thu, 4 Jul 1996 22:52:25 +0000 (22:52 +0000)]
.
Jim Meyering [Thu, 4 Jul 1996 22:52:01 +0000 (22:52 +0000)]
.
Jim Meyering [Thu, 4 Jul 1996 22:51:52 +0000 (22:51 +0000)]
(split_3): Add missing semicolon. From Jim Blandy.
Jim Meyering [Thu, 4 Jul 1996 18:18:03 +0000 (18:18 +0000)]
.
Jim Meyering [Thu, 4 Jul 1996 18:14:46 +0000 (18:14 +0000)]
.
Jim Meyering [Thu, 4 Jul 1996 17:41:05 +0000 (17:41 +0000)]
(main): Fix typo in last change.
Jim Meyering [Thu, 4 Jul 1996 17:35:51 +0000 (17:35 +0000)]
.
Jim Meyering [Thu, 4 Jul 1996 17:35:47 +0000 (17:35 +0000)]
Make `dir --version' and `vdir --version' print their names, not `ls'.
Reported by Ulrich Drepper.
Jim Meyering [Thu, 4 Jul 1996 14:53:28 +0000 (14:53 +0000)]
.
Jim Meyering [Thu, 4 Jul 1996 14:53:25 +0000 (14:53 +0000)]
(md5_file): Replace obsolete comment with a description
of the function.
(md5_check): Don't use "s"-adding trick to form the plural of
`checksum.' That doesn't work well with translation.
Suggestions from Ulrich Drepper.
Jim Meyering [Thu, 4 Jul 1996 12:41:58 +0000 (12:41 +0000)]
.
Jim Meyering [Thu, 4 Jul 1996 12:41:53 +0000 (12:41 +0000)]
(MIN_DIGEST_LINE_LENGTH): New macro.
[NEWLINE_REPLACEMENT_STRING*]: Remove macros.
(main): Output a leading backslash for a line describing a file
whose name contains a newline. Then translate each NEWLINE byte
in the file name to the string, "\\n", and each backslash to "\\\\".
File names that don't contain NEWLINE aren't translated.
(split_3): Rewrite to handle file names with embedded newlines.
Miles Bader and Jim Blandy suggested this new encoding scheme.
Jim Meyering [Thu, 4 Jul 1996 12:36:18 +0000 (12:36 +0000)]
.
Jim Meyering [Thu, 4 Jul 1996 04:22:25 +0000 (04:22 +0000)]
(split_3): Correct test for 35-byte line to accomodate
fact that leading blanks may be stripped.
Jim Meyering [Wed, 3 Jul 1996 23:00:45 +0000 (23:00 +0000)]
.
Jim Meyering [Wed, 3 Jul 1996 22:59:18 +0000 (22:59 +0000)]
Include sys/types.h before system.h.
From Jim Blandy (jimb@cyclic.com).
Jim Meyering [Wed, 3 Jul 1996 22:42:58 +0000 (22:42 +0000)]
.
Jim Meyering [Wed, 3 Jul 1996 22:42:41 +0000 (22:42 +0000)]
[!MAXUID]: Define after inclusion of system.h to avoid
warning about redefinition on SunOS4, Solaris2.4 and SGI-irix5.3.
From Kaveh Ghazi.
Jim Meyering [Wed, 3 Jul 1996 04:18:38 +0000 (04:18 +0000)]
.
Jim Meyering [Wed, 3 Jul 1996 04:05:07 +0000 (04:05 +0000)]
.
Jim Meyering [Wed, 3 Jul 1996 04:04:06 +0000 (04:04 +0000)]
(usage): Add omitted \n\ at the end of a line in the usage message.
Jim Meyering [Wed, 3 Jul 1996 04:00:36 +0000 (04:00 +0000)]
[!EXIT_SUCCESS]: Define it.
[!EXIT_FAILURE]: Define it.
Jim Meyering [Wed, 3 Jul 1996 04:00:29 +0000 (04:00 +0000)]
.
Jim Meyering [Wed, 3 Jul 1996 03:59:02 +0000 (03:59 +0000)]
(strndup): Include stdio.h and sys/types.h to
get definition of NULL and size_t on SunOS4.1.3.
Jim Meyering [Wed, 3 Jul 1996 02:52:20 +0000 (02:52 +0000)]
.
Jim Meyering [Tue, 2 Jul 1996 04:55:06 +0000 (04:55 +0000)]
.
Jim Meyering [Tue, 2 Jul 1996 04:54:51 +0000 (04:54 +0000)]
[NEWLINE_REPLACEMENT_STRING]: Define.
(split_3): Translate NL bytes not to NUL, but to
NEWLINE_REPLACEMENT_STRING.
Suggested by Ulrich Drepper.
(main): Translate back to NL-containing filename.
Jim Meyering [Tue, 2 Jul 1996 04:48:57 +0000 (04:48 +0000)]
.
Jim Meyering [Tue, 2 Jul 1996 04:48:32 +0000 (04:48 +0000)]
(do_link): Update messages to ease translation.
Suggestion from Santiago Vila.
Jim Meyering [Mon, 1 Jul 1996 03:48:10 +0000 (03:48 +0000)]
(main): Remove now-unnecessary diagnostic about filename containing NEWLINE.
Jim Meyering [Mon, 1 Jul 1996 03:47:16 +0000 (03:47 +0000)]
(split_3): Take an additional parameter, S_LEN.
Adapt caller.
Map translated NEWLINE-containing filename back into the original
NEWLINE-containing name.
(md5_check): Translate NEWLINE bytes to NUL bytes in filename.
Jim Meyering [Sun, 30 Jun 1996 21:42:53 +0000 (21:42 +0000)]
.
Jim Meyering [Sun, 30 Jun 1996 21:42:49 +0000 (21:42 +0000)]
(usage): Fix typo, 3nd->3rd, in usage message.
From Santiago Vila <sanvila@unex.es>.
Jim Meyering [Sun, 30 Jun 1996 14:30:00 +0000 (14:30 +0000)]
.
Jim Meyering [Sun, 30 Jun 1996 14:29:29 +0000 (14:29 +0000)]
.
Jim Meyering [Sun, 30 Jun 1996 04:24:26 +0000 (04:24 +0000)]
.
Jim Meyering [Sun, 30 Jun 1996 00:01:20 +0000 (00:01 +0000)]
.
Jim Meyering [Sat, 29 Jun 1996 23:59:14 +0000 (23:59 +0000)]
.
Jim Meyering [Sat, 29 Jun 1996 23:58:48 +0000 (23:58 +0000)]
.
Jim Meyering [Sat, 29 Jun 1996 16:45:17 +0000 (16:45 +0000)]
.
Jim Meyering [Sat, 29 Jun 1996 05:33:00 +0000 (05:33 +0000)]
.
Jim Meyering [Sat, 29 Jun 1996 05:29:08 +0000 (05:29 +0000)]
.
Jim Meyering [Sat, 29 Jun 1996 05:28:48 +0000 (05:28 +0000)]
.
Jim Meyering [Sat, 29 Jun 1996 05:28:32 +0000 (05:28 +0000)]
Remove u from Colour.
Jim Meyering [Sat, 29 Jun 1996 04:12:05 +0000 (04:12 +0000)]
.
Jim Meyering [Sat, 29 Jun 1996 04:11:43 +0000 (04:11 +0000)]
(dc_parse_stream): Move enum states dcl into this function.
(dc_parse_stream): Remove parameter RESULT.
Adapt callers.
Jim Meyering [Sat, 29 Jun 1996 04:08:10 +0000 (04:08 +0000)]
.
Jim Meyering [Sat, 29 Jun 1996 04:07:18 +0000 (04:07 +0000)]
.
Jim Meyering [Sat, 29 Jun 1996 03:58:52 +0000 (03:58 +0000)]
.
Jim Meyering [Sat, 29 Jun 1996 03:58:48 +0000 (03:58 +0000)]
(do_link): Allow `ln -sf --backup k k' to succeed in creating the
self-referential symlink, doing so doesn't remove the source but merely
renames it.
Jim Meyering [Fri, 28 Jun 1996 04:15:56 +0000 (04:15 +0000)]
.
Jim Meyering [Fri, 28 Jun 1996 03:04:11 +0000 (03:04 +0000)]
.
Jim Meyering [Thu, 27 Jun 1996 04:27:10 +0000 (04:27 +0000)]
.
Jim Meyering [Thu, 27 Jun 1996 02:37:51 +0000 (02:37 +0000)]
.
Jim Meyering [Thu, 27 Jun 1996 02:37:40 +0000 (02:37 +0000)]
(install-data): Add `else true;' to avoid
letting failing if-condition cause make to fail.
From Fred Fish (fnf@ninemoons.com).
Jim Meyering [Thu, 27 Jun 1996 02:34:30 +0000 (02:34 +0000)]
Elaborate on how sort -n works.
Jim Meyering [Wed, 26 Jun 1996 12:39:19 +0000 (12:39 +0000)]
.
Jim Meyering [Wed, 26 Jun 1996 12:31:13 +0000 (12:31 +0000)]
(do_link): Remove `!symlink &&' conjunct.
Jim Meyering [Wed, 26 Jun 1996 12:05:35 +0000 (12:05 +0000)]
(same_name): Declare parameters to be const.
Jim Meyering [Wed, 26 Jun 1996 12:02:02 +0000 (12:02 +0000)]
(same_name): New function.
(do_link): Use it to test reliably whether A and B (from
ln --force A B) are hard links to the same file.
From Andreas Schwab.
Jim Meyering [Wed, 26 Jun 1996 02:57:01 +0000 (02:57 +0000)]
.
Jim Meyering [Tue, 25 Jun 1996 05:16:30 +0000 (05:16 +0000)]
.
Jim Meyering [Tue, 25 Jun 1996 05:09:55 +0000 (05:09 +0000)]
.
Jim Meyering [Tue, 25 Jun 1996 05:06:53 +0000 (05:06 +0000)]
(strndup): Deansify.
[!STDC_HEADERS]: Include string.h and stdlib.h.
Jim Meyering [Tue, 25 Jun 1996 05:05:43 +0000 (05:05 +0000)]
(EXTRA_DIST): Add strndup.c.
(fu_SOURCES): Add getline.c.
(noinst_HEADERS): Add getline.h.
Jim Meyering [Tue, 25 Jun 1996 04:58:18 +0000 (04:58 +0000)]
.
Jim Meyering [Tue, 25 Jun 1996 04:56:22 +0000 (04:56 +0000)]
(decode_switches): Allow 0 as argument to --tabsize (-T) option.
Interpret as a directive to use no TAB characters to separate columns.
(indent): Handle TABSIZE == 0.
Jim Meyering [Tue, 25 Jun 1996 04:26:12 +0000 (04:26 +0000)]
.
Jim Meyering [Tue, 25 Jun 1996 04:26:01 +0000 (04:26 +0000)]
(dc_parse_stream): Give `unrecognized keyword' for misspelled
`TERM' keyword as well as for others.
Jim Meyering [Tue, 25 Jun 1996 03:41:41 +0000 (03:41 +0000)]
.
Jim Meyering [Tue, 25 Jun 1996 03:41:29 +0000 (03:41 +0000)]
(dc_parse_stream): Remove spurious newline in error message.
(dc_parse_file): Remove erroneous test of ERR.
Jim Meyering [Mon, 24 Jun 1996 03:06:52 +0000 (03:06 +0000)]
Use an obstack to accumulate value of LS_COLORS.
Jim Meyering [Mon, 24 Jun 1996 03:01:46 +0000 (03:01 +0000)]
.
Jim Meyering [Sun, 23 Jun 1996 19:15:15 +0000 (19:15 +0000)]
Add comma after e.g. in comment.
From Karl B.
Jim Meyering [Sun, 23 Jun 1996 19:03:56 +0000 (19:03 +0000)]
.
Jim Meyering [Sun, 23 Jun 1996 19:03:31 +0000 (19:03 +0000)]
* (parse_line): Rewrite to avoid modifying LINE.
Put LINE first in parameter list.
Adjust caller.
(dc_parse_stream): Free KEYWD and ARG.
(main): Give diagnostic for unreasonable combinations of
options/arguments.
Jim Meyering [Sun, 23 Jun 1996 17:58:15 +0000 (17:58 +0000)]
copied from id-utils-3.0k
Jim Meyering [Sat, 22 Jun 1996 22:27:32 +0000 (22:27 +0000)]
(main): New option --print (-p).
Detect write failure.
Add --bourne-shell and --c-shell aliases for --sh and --csh resp.
Jim Meyering [Sat, 22 Jun 1996 22:27:14 +0000 (22:27 +0000)]
.
Jim Meyering [Sat, 22 Jun 1996 22:02:37 +0000 (22:02 +0000)]
Major overhaul. No longer read from /etc/DIR_COLORS or from ~/.dircolors.
Defaults are now compiled in. If you specify a file on the command line,
it is used instead of the compiled-in defaults.
Jim Meyering [Wed, 19 Jun 1996 04:22:28 +0000 (04:22 +0000)]
(parse_ls_color): Use STREQ here instead of strcmp(...) == 0.
Jim Meyering [Wed, 19 Jun 1996 04:21:49 +0000 (04:21 +0000)]
(selected_fstype, excluded_fstype, show_disk, main):
Use STREQ here instead of strcmp(...) == 0.
Jim Meyering [Wed, 19 Jun 1996 04:17:36 +0000 (04:17 +0000)]
.
Jim Meyering [Wed, 19 Jun 1996 04:14:29 +0000 (04:14 +0000)]
.
Jim Meyering [Wed, 19 Jun 1996 04:11:32 +0000 (04:11 +0000)]
.
Jim Meyering [Wed, 19 Jun 1996 04:10:17 +0000 (04:10 +0000)]
(copy_reg): Cast both sides of comparison to size_t to avoid warning
about `comparison between signed and unsigned' from gcc -Wall.
Jim Meyering [Wed, 19 Jun 1996 03:39:00 +0000 (03:39 +0000)]
.
Jim Meyering [Wed, 19 Jun 1996 03:32:08 +0000 (03:32 +0000)]
.
Jim Meyering [Wed, 19 Jun 1996 03:31:59 +0000 (03:31 +0000)]
(decode_switches): Correct typo in error message:
enironment -> environment. From Santiago Vila Doncel
<sanvila@unex.es>.
Jim Meyering [Wed, 19 Jun 1996 03:25:44 +0000 (03:25 +0000)]
(decode_switches): Correct typo in error message: enironment -> environment.
From Santiago Vila Doncel <sanvila@unex.es>.
Jim Meyering [Wed, 19 Jun 1996 03:21:05 +0000 (03:21 +0000)]
.