Jim Meyering [Fri, 5 Apr 1996 04:00:05 +0000 (04:00 +0000)]
Remove fixed FIXME.
Jim Meyering [Fri, 5 Apr 1996 03:58:37 +0000 (03:58 +0000)]
.
Jim Meyering [Fri, 5 Apr 1996 03:55:07 +0000 (03:55 +0000)]
.
Jim Meyering [Fri, 5 Apr 1996 03:28:34 +0000 (03:28 +0000)]
.
Jim Meyering [Fri, 5 Apr 1996 03:27:21 +0000 (03:27 +0000)]
.
Jim Meyering [Fri, 5 Apr 1996 03:11:47 +0000 (03:11 +0000)]
.
Jim Meyering [Fri, 5 Apr 1996 01:22:42 +0000 (01:22 +0000)]
.
Jim Meyering [Thu, 4 Apr 1996 23:16:13 +0000 (23:16 +0000)]
.
Jim Meyering [Thu, 4 Apr 1996 23:10:35 +0000 (23:10 +0000)]
.
Jim Meyering [Thu, 4 Apr 1996 23:08:30 +0000 (23:08 +0000)]
The following commands all failed unnecessarily.
tr -cs '[:upper:]' '[X*]'
tr -dcs '[:lower:]' n-rs-z
tr -ds '[:xdigit:]' [:alnum:]'
tr -dcs '[:alnum:]' [:digit:]'
tr -dc '[:upper:]'
Reported by Ross Ridge (ross@worf.mks.com).
(validate): Add missing conjunct (translating) in test for
`translating and complementing character classes' error. Before,
valid uses of tr could fail. E.g. `tr -dcs '[:cntrl:]' '[:alnum:]''.
(homogeneous_spec_list): New function.
(validate): Use it to relax the old (overly restrictive) restriction
that prohibited use of complemented character classes when translating.
Now, that is allowed as long as the translation maps many to one.
(get_spec_stats): Rename and redefine global has_char_class from
has_upper_or_lower.
Jim Meyering [Thu, 4 Apr 1996 20:57:13 +0000 (20:57 +0000)]
.
Jim Meyering [Thu, 4 Apr 1996 20:22:10 +0000 (20:22 +0000)]
Add tests from Ross Ridge.
Jim Meyering [Thu, 4 Apr 1996 12:58:29 +0000 (12:58 +0000)]
.
Jim Meyering [Thu, 4 Apr 1996 12:45:16 +0000 (12:45 +0000)]
.
Jim Meyering [Wed, 3 Apr 1996 13:19:59 +0000 (13:19 +0000)]
.
Jim Meyering [Wed, 3 Apr 1996 13:19:16 +0000 (13:19 +0000)]
Include stdio.h before grp.h.
Because <grp.h> on alpha OSF1 V2.0 uses "FILE *". From Kaveh Ghazi.
Jim Meyering [Wed, 3 Apr 1996 12:56:09 +0000 (12:56 +0000)]
.
Jim Meyering [Wed, 3 Apr 1996 12:52:22 +0000 (12:52 +0000)]
update from gettext-0.10.11
Jim Meyering [Wed, 3 Apr 1996 12:33:23 +0000 (12:33 +0000)]
.
Jim Meyering [Wed, 3 Apr 1996 12:28:18 +0000 (12:28 +0000)]
.
Jim Meyering [Wed, 3 Apr 1996 12:20:24 +0000 (12:20 +0000)]
(copy_reg): Use `ST_NBLOCKS (sb) * 512', not `sb.st_blocks *
DEV_BSIZE.' From H.J. Lu (hjl@lucon.org).
Jim Meyering [Wed, 3 Apr 1996 05:42:14 +0000 (05:42 +0000)]
Include assert.h (disabled).
(path_concat): New function.
(do_copy): Use path_concat instead of open-coding part of its
functionality in two places. This has the additional benefit
of avoiding forming destination names like `D//file' when the
destination directory D includes a trailing slash -- as would
happen when cp is used like this:
mkdir D; touch file D/file; cp -i file D/
Reported by François Pinard.
Jim Meyering [Tue, 2 Apr 1996 15:57:23 +0000 (15:57 +0000)]
.
Jim Meyering [Tue, 2 Apr 1996 14:28:26 +0000 (14:28 +0000)]
.
Jim Meyering [Mon, 1 Apr 1996 04:29:28 +0000 (04:29 +0000)]
(unsetenv): unprotoize.
Jim Meyering [Mon, 1 Apr 1996 00:16:11 +0000 (00:16 +0000)]
.
Jim Meyering [Sun, 31 Mar 1996 23:30:43 +0000 (23:30 +0000)]
.
Jim Meyering [Sun, 31 Mar 1996 22:31:30 +0000 (22:31 +0000)]
.
Jim Meyering [Sun, 31 Mar 1996 17:20:34 +0000 (17:20 +0000)]
.
Jim Meyering [Sun, 31 Mar 1996 17:20:02 +0000 (17:20 +0000)]
.
Jim Meyering [Sun, 31 Mar 1996 17:19:06 +0000 (17:19 +0000)]
.
Jim Meyering [Sun, 31 Mar 1996 17:18:28 +0000 (17:18 +0000)]
(quote_filename): Use ISGRAPH and ISPRINT in place of
ASCII-centric tests against literals.
(length_of_file_name_and_frills): Likewise.
Jim Meyering [Sun, 31 Mar 1996 14:22:12 +0000 (14:22 +0000)]
Rip out color support.
Jim Meyering [Sat, 30 Mar 1996 14:26:16 +0000 (14:26 +0000)]
update from FSF:/home/gd/gnu/lib
Jim Meyering [Sat, 30 Mar 1996 12:39:36 +0000 (12:39 +0000)]
Update from libc.
Jim Meyering [Sat, 30 Mar 1996 12:19:38 +0000 (12:19 +0000)]
Upgrade from gettext-0.10.10.
Jim Meyering [Sat, 30 Mar 1996 04:18:13 +0000 (04:18 +0000)]
.
Jim Meyering [Fri, 29 Mar 1996 16:14:36 +0000 (16:14 +0000)]
.
Jim Meyering [Fri, 29 Mar 1996 05:47:21 +0000 (05:47 +0000)]
.
Jim Meyering [Fri, 29 Mar 1996 05:45:25 +0000 (05:45 +0000)]
.
Jim Meyering [Fri, 29 Mar 1996 05:01:14 +0000 (05:01 +0000)]
.
Jim Meyering [Fri, 29 Mar 1996 05:00:05 +0000 (05:00 +0000)]
.
Jim Meyering [Fri, 29 Mar 1996 04:54:45 +0000 (04:54 +0000)]
.
Jim Meyering [Fri, 29 Mar 1996 04:53:57 +0000 (04:53 +0000)]
.
Jim Meyering [Thu, 28 Mar 1996 06:19:37 +0000 (06:19 +0000)]
.
Jim Meyering [Thu, 28 Mar 1996 06:18:24 +0000 (06:18 +0000)]
.
Jim Meyering [Thu, 28 Mar 1996 06:17:34 +0000 (06:17 +0000)]
Move usage to precede main.
Say `too few arguments' if that's why we display usage.
Protoize.
Include error.h.
Update copyright.
Jim Meyering [Thu, 28 Mar 1996 06:14:59 +0000 (06:14 +0000)]
.
Jim Meyering [Thu, 28 Mar 1996 05:42:56 +0000 (05:42 +0000)]
from Roland
Jim Meyering [Thu, 28 Mar 1996 05:35:48 +0000 (05:35 +0000)]
.
Jim Meyering [Thu, 28 Mar 1996 05:35:31 +0000 (05:35 +0000)]
(cksum): Use format "%lu %ld" (instead of "%10lu %8ld")
to be POSIX compliant. From Stephen Gildea <gildea@x.org>.
Jim Meyering [Tue, 26 Mar 1996 05:46:05 +0000 (05:46 +0000)]
.
Jim Meyering [Tue, 26 Mar 1996 05:44:03 +0000 (05:44 +0000)]
Document and example --rfc.
Document %z and %Z.
Jim Meyering [Sun, 24 Mar 1996 18:50:47 +0000 (18:50 +0000)]
.
Jim Meyering [Sun, 24 Mar 1996 18:49:38 +0000 (18:49 +0000)]
.
Jim Meyering [Sun, 24 Mar 1996 18:48:25 +0000 (18:48 +0000)]
.
Jim Meyering [Sun, 24 Mar 1996 18:47:09 +0000 (18:47 +0000)]
Update FSF's address.
Jim Meyering [Sun, 24 Mar 1996 18:40:53 +0000 (18:40 +0000)]
Update FSF's address.
Jim Meyering [Sun, 24 Mar 1996 18:33:12 +0000 (18:33 +0000)]
Update FSF's address.
Jim Meyering [Sun, 24 Mar 1996 18:23:44 +0000 (18:23 +0000)]
.
Jim Meyering [Sun, 24 Mar 1996 18:20:25 +0000 (18:20 +0000)]
.
Jim Meyering [Sun, 24 Mar 1996 18:16:10 +0000 (18:16 +0000)]
Include xstrtod.h.
(scan_double_arg): Use xstrtod rather than strtod directly.
Jim Meyering [Sun, 24 Mar 1996 18:13:56 +0000 (18:13 +0000)]
.
Jim Meyering [Sun, 24 Mar 1996 17:50:09 +0000 (17:50 +0000)]
Make parameters const where appropriate.
Rename global FROM to START.
(print_numbers): Rewrite loops to avoid incrementing. Instead,
use `x = first + i * increment' paradigm. Otherwise, with inexact
increment, you could miss the last value.
Jim Meyering [Sun, 24 Mar 1996 17:43:41 +0000 (17:43 +0000)]
Protoize and reorder functions.
Jim Meyering [Sun, 24 Mar 1996 17:21:40 +0000 (17:21 +0000)]
(main): Reformat if-block a little.
Declare index I to be of type size_t to avoid warning from gcc -Wall.
Jim Meyering [Sun, 24 Mar 1996 16:59:29 +0000 (16:59 +0000)]
.
Jim Meyering [Sun, 24 Mar 1996 16:59:11 +0000 (16:59 +0000)]
Call error with EXIT_FAILURE (rather than `1') as first actual parameter.
Jim Meyering [Sun, 24 Mar 1996 14:58:01 +0000 (14:58 +0000)]
Exit with status EXIT_SUCCESS or EXIT_FAILURE, rather than 0 or 1.
This doesn't change `error (1' calls.
Jim Meyering [Sun, 24 Mar 1996 05:15:00 +0000 (05:15 +0000)]
.
Jim Meyering [Sun, 24 Mar 1996 02:31:39 +0000 (02:31 +0000)]
.
Jim Meyering [Sun, 24 Mar 1996 02:26:30 +0000 (02:26 +0000)]
.
Jim Meyering [Sun, 24 Mar 1996 02:26:21 +0000 (02:26 +0000)]
[SORT_FAILURE]: New macro.
Be careful to exit with 1 only when -c is used and the
input is not properly sorted. In all other cases, use
SORT_FAILURE as required by POSIX.
(main): Change some `error (1, ...' to use SORT_FAILURE.
Upon successful termination, exit with EXIT_SUCCESS instead of `0'.
Replace all uses of `2' (as exit code) with SORT_FAILURE.
Jim Meyering [Sun, 24 Mar 1996 02:20:06 +0000 (02:20 +0000)]
.
Jim Meyering [Sun, 24 Mar 1996 02:19:39 +0000 (02:19 +0000)]
.
Jim Meyering [Sun, 24 Mar 1996 02:19:31 +0000 (02:19 +0000)]
.
Jim Meyering [Fri, 22 Mar 1996 04:57:19 +0000 (04:57 +0000)]
.
Jim Meyering [Fri, 22 Mar 1996 04:55:00 +0000 (04:55 +0000)]
.
Jim Meyering [Fri, 22 Mar 1996 04:54:46 +0000 (04:54 +0000)]
Include assert.h, but disable assertions.
(process_line_count): Replace if-abort with a slightly relaxed
assertion. Before, `echo |csplit - 1 1' would abort.
Reported by Samuli.Karkkainen@hut.fi.
(parse_patterns): Disallow uses like `csplit FILE 0' with zero
line number, `csplit FILE 2 1' with decreasing line numbers, and
warn about uses like `csplit FILE 3 3' that have equal line numbers.
Jim Meyering [Thu, 21 Mar 1996 22:47:02 +0000 (22:47 +0000)]
(main): Declare to be of type int, not void.
Jim Meyering [Thu, 21 Mar 1996 22:45:19 +0000 (22:45 +0000)]
(main): Declare to be of type int, not void.
Jim Meyering [Thu, 21 Mar 1996 22:43:38 +0000 (22:43 +0000)]
.
Jim Meyering [Thu, 21 Mar 1996 22:41:04 +0000 (22:41 +0000)]
(main): Declare to be of type int, not void.
Jim Meyering [Thu, 21 Mar 1996 13:00:25 +0000 (13:00 +0000)]
.
Jim Meyering [Thu, 21 Mar 1996 13:00:15 +0000 (13:00 +0000)]
(main): Declare to return int, not void. From Peter Seebach
<seebs@taniemarie.solon.com>.
Jim Meyering [Mon, 18 Mar 1996 05:52:07 +0000 (05:52 +0000)]
.
Jim Meyering [Sat, 16 Mar 1996 22:37:33 +0000 (22:37 +0000)]
.
Jim Meyering [Sat, 16 Mar 1996 22:30:54 +0000 (22:30 +0000)]
Don't include version.h.
(main): Use PACKAGE_VERSION instead of version_string.
Jim Meyering [Sat, 16 Mar 1996 16:54:48 +0000 (16:54 +0000)]
.
Jim Meyering [Sat, 16 Mar 1996 16:49:28 +0000 (16:49 +0000)]
Don't include version.h.
(main): Use PACKAGE_VERSION instead of version_string.
Jim Meyering [Sat, 16 Mar 1996 16:41:36 +0000 (16:41 +0000)]
Change @VERSION@ to @PKG_VERSION@.
Jim Meyering [Sat, 16 Mar 1996 16:14:50 +0000 (16:14 +0000)]
.
Jim Meyering [Sat, 16 Mar 1996 16:14:26 +0000 (16:14 +0000)]
Don't include version.h.
(main): Use PACKAGE_VERSION instead of version_string.
Jim Meyering [Sat, 16 Mar 1996 05:44:09 +0000 (05:44 +0000)]
.
Jim Meyering [Sat, 16 Mar 1996 05:44:02 +0000 (05:44 +0000)]
(read_utmp): Declare n_read to be of type size_t rather than int.
Jim Meyering [Sat, 16 Mar 1996 05:43:24 +0000 (05:43 +0000)]
(validate_path): Cast path_max to size_t before
comparing with strlen(path).
Jim Meyering [Sat, 16 Mar 1996 05:42:53 +0000 (05:42 +0000)]
Remove __P-protected prototype for basename.
Reported by François Pinard.
(remove_suffix): Move to precede use. Remove prototype.
Declare formal parameter SUFFIX to be const.
Jim Meyering [Thu, 14 Mar 1996 05:21:43 +0000 (05:21 +0000)]
.
Jim Meyering [Thu, 14 Mar 1996 05:15:16 +0000 (05:15 +0000)]
add ## comment on first line
Jim Meyering [Thu, 14 Mar 1996 05:05:22 +0000 (05:05 +0000)]
(EXTRA_DIST): Renamed form DIST_OTHER.