Jim Meyering [Sat, 2 Aug 2003 19:40:48 +0000 (19:40 +0000)]
*** empty log message ***
Jim Meyering [Sat, 2 Aug 2003 06:27:30 +0000 (06:27 +0000)]
.
Jim Meyering [Sat, 2 Aug 2003 06:27:13 +0000 (06:27 +0000)]
Document in TODO Paul's desire to make sort faster (and how he
was foiled this time around).
from Paul Eggert.
Jim Meyering [Sat, 2 Aug 2003 06:25:50 +0000 (06:25 +0000)]
(sortlines): Add description and references.
From Paul Eggert.
Jim Meyering [Fri, 1 Aug 2003 22:40:58 +0000 (22:40 +0000)]
*** empty log message ***
Jim Meyering [Fri, 1 Aug 2003 22:40:16 +0000 (22:40 +0000)]
*** empty log message ***
Jim Meyering [Fri, 1 Aug 2003 22:38:50 +0000 (22:38 +0000)]
*** empty log message ***
Jim Meyering [Fri, 1 Aug 2003 22:38:36 +0000 (22:38 +0000)]
(General date syntax): Add --rfc-2822 option to GNU date.
Jim Meyering [Fri, 1 Aug 2003 22:37:20 +0000 (22:37 +0000)]
(Options for date): Fix a typo in format: it's now %d not %_d. Add URLs.
(Time directives, Options for date, Examples of date): Add --rfc-2822
option to GNU date.
Jim Meyering [Fri, 1 Aug 2003 22:36:34 +0000 (22:36 +0000)]
(long_options, usage, main): Add --rfc-2822 option to GNU date.
Jim Meyering [Fri, 1 Aug 2003 22:35:57 +0000 (22:35 +0000)]
Add --rfc-2822 option to GNU date.
Jim Meyering [Fri, 1 Aug 2003 22:33:04 +0000 (22:33 +0000)]
Ensure that $? is 0 for the final `exit 0'.
Otherwise, with at least the /bin/sh from HPUX 10.20,
the trap code would end up converting that to exit 1 and thus an
unexpected test failure. Reported by Christian Krackowizer.
Jim Meyering [Fri, 1 Aug 2003 22:32:47 +0000 (22:32 +0000)]
*** empty log message ***
Jim Meyering [Fri, 1 Aug 2003 22:32:41 +0000 (22:32 +0000)]
(TESTS_ENVIRONMENT): Set PATH so that
the tests in help-version will use the just-built binaries.
Jim Meyering [Fri, 1 Aug 2003 06:44:33 +0000 (06:44 +0000)]
*** empty log message ***
Jim Meyering [Fri, 1 Aug 2003 06:44:28 +0000 (06:44 +0000)]
Do not include bumpalloc.h.
(WORD_TABLE): New member alloc.
(ALLOC_NEW_WORD): Remove.
(occurs_alloc): New var.
(digest_word_file, find_occurs_in_text): Check for arithmetic
overflow when computing table size. Use xrealloc rather than
bumpalloc primitives.
Jim Meyering [Fri, 1 Aug 2003 06:39:01 +0000 (06:39 +0000)]
*** empty log message ***
Jim Meyering [Fri, 1 Aug 2003 06:38:38 +0000 (06:38 +0000)]
(libfetish_a_SOURCES): Remove bumpalloc.h.
Jim Meyering [Fri, 1 Aug 2003 06:38:15 +0000 (06:38 +0000)]
.
Jim Meyering [Thu, 31 Jul 2003 20:33:48 +0000 (20:33 +0000)]
*** empty log message ***
Jim Meyering [Thu, 31 Jul 2003 20:33:45 +0000 (20:33 +0000)]
(Relative items in date strings): Warn about fuzz in relative units.
Jim Meyering [Thu, 31 Jul 2003 11:14:56 +0000 (11:14 +0000)]
.
Jim Meyering [Thu, 31 Jul 2003 11:10:52 +0000 (11:10 +0000)]
*** empty log message ***
Jim Meyering [Wed, 30 Jul 2003 19:31:03 +0000 (19:31 +0000)]
.
Jim Meyering [Tue, 29 Jul 2003 21:20:01 +0000 (21:20 +0000)]
.
Jim Meyering [Tue, 29 Jul 2003 20:55:00 +0000 (20:55 +0000)]
When running tests as root, suggest using sudo with NON_ROOT_USERNAME=$USER.
Jim Meyering [Tue, 29 Jul 2003 20:54:50 +0000 (20:54 +0000)]
*** empty log message ***
Jim Meyering [Tue, 29 Jul 2003 19:38:34 +0000 (19:38 +0000)]
.
Jim Meyering [Tue, 29 Jul 2003 18:21:35 +0000 (18:21 +0000)]
*** empty log message ***
Jim Meyering [Tue, 29 Jul 2003 18:20:56 +0000 (18:20 +0000)]
(tail invocation): Restore two end-of-sentence
words that were mistakenly removed on 2002-09-13.
Jim Meyering [Tue, 29 Jul 2003 06:44:28 +0000 (06:44 +0000)]
.
Jim Meyering [Tue, 29 Jul 2003 06:41:17 +0000 (06:41 +0000)]
*** empty log message ***
Jim Meyering [Tue, 29 Jul 2003 06:41:08 +0000 (06:41 +0000)]
(all_programs): Makefile is in ../src, not $(srcdir)/../src.
Jim Meyering [Tue, 29 Jul 2003 06:22:25 +0000 (06:22 +0000)]
.
Jim Meyering [Mon, 28 Jul 2003 10:15:14 +0000 (10:15 +0000)]
*** empty log message ***
Jim Meyering [Mon, 28 Jul 2003 10:15:11 +0000 (10:15 +0000)]
(dd invocation): Explain that a SIGUSR1 signal
makes dd give a progress report to stderr.
Jim Meyering [Mon, 28 Jul 2003 10:04:56 +0000 (10:04 +0000)]
.
Jim Meyering [Mon, 28 Jul 2003 08:40:32 +0000 (08:40 +0000)]
*** empty log message ***
Jim Meyering [Mon, 28 Jul 2003 08:40:27 +0000 (08:40 +0000)]
(GZIP_ENV): Try Debian/gzip's new --rsyncable option.
Jim Meyering [Mon, 28 Jul 2003 08:38:54 +0000 (08:38 +0000)]
.
Jim Meyering [Mon, 28 Jul 2003 08:37:08 +0000 (08:37 +0000)]
.
Jim Meyering [Mon, 28 Jul 2003 08:36:52 +0000 (08:36 +0000)]
rename to stdbool_.h
Jim Meyering [Mon, 28 Jul 2003 08:36:32 +0000 (08:36 +0000)]
*** empty log message ***
Jim Meyering [Mon, 28 Jul 2003 08:35:44 +0000 (08:35 +0000)]
*** empty log message ***
Jim Meyering [Mon, 28 Jul 2003 08:35:37 +0000 (08:35 +0000)]
Renamed from stdbool.hin.
Jim Meyering [Mon, 28 Jul 2003 08:35:23 +0000 (08:35 +0000)]
Renamed from stdbool.hin.
Jim Meyering [Mon, 28 Jul 2003 08:34:48 +0000 (08:34 +0000)]
*** empty log message ***
Jim Meyering [Mon, 28 Jul 2003 08:34:33 +0000 (08:34 +0000)]
Reflect renaming: stdbool.hin -> stdbool_.h.
Jim Meyering [Mon, 28 Jul 2003 08:32:27 +0000 (08:32 +0000)]
*** empty log message ***
Jim Meyering [Mon, 28 Jul 2003 08:31:11 +0000 (08:31 +0000)]
(sortlines_temp): Undo previous change.
Jim Meyering [Mon, 28 Jul 2003 08:30:49 +0000 (08:30 +0000)]
bump copyright
Jim Meyering [Mon, 28 Jul 2003 08:30:32 +0000 (08:30 +0000)]
(_Bool): Make it signed char, instead of
an enum type, so that it's guaranteed to promote to int.
Jim Meyering [Sun, 27 Jul 2003 22:05:47 +0000 (22:05 +0000)]
*** empty log message ***
Jim Meyering [Sun, 27 Jul 2003 22:05:43 +0000 (22:05 +0000)]
(sortlines_temp): Declare local `swap' to be `int', not
`bool'. Otherwise, at least one buggy compiler (alpha gcc-2.95.4)
would cause lines[-1 - swap] (with swap = false) to evaluate to
lines[
4294967295].
Jim Meyering [Sun, 27 Jul 2003 20:45:55 +0000 (20:45 +0000)]
*** empty log message ***
Jim Meyering [Sun, 27 Jul 2003 20:35:25 +0000 (20:35 +0000)]
.
Jim Meyering [Sun, 27 Jul 2003 20:04:52 +0000 (20:04 +0000)]
*** empty log message ***
Jim Meyering [Sun, 27 Jul 2003 20:04:48 +0000 (20:04 +0000)]
(my_uid): Use `!', not `^' in case pattern `[!0-9]',
since /bin/sh of at least NetBSD 1.6 and OpenBSD 3.2 don't accept `^'.
Jim Meyering [Sun, 27 Jul 2003 19:48:11 +0000 (19:48 +0000)]
.
Jim Meyering [Sun, 27 Jul 2003 19:47:58 +0000 (19:47 +0000)]
(TESTS): Add dir-no-w.
Jim Meyering [Sun, 27 Jul 2003 19:47:46 +0000 (19:47 +0000)]
*** empty log message ***
Jim Meyering [Sun, 27 Jul 2003 19:47:25 +0000 (19:47 +0000)]
(prompt) [! recursive]: Don't prompt about unwritable
directories, as required by POSIX. Reported by Karl Berry.
Jim Meyering [Sun, 27 Jul 2003 13:15:11 +0000 (13:15 +0000)]
*** empty log message ***
Jim Meyering [Sun, 27 Jul 2003 12:34:16 +0000 (12:34 +0000)]
*** empty log message ***
Jim Meyering [Sun, 27 Jul 2003 10:02:16 +0000 (10:02 +0000)]
*** empty log message ***
Jim Meyering [Sun, 27 Jul 2003 10:01:55 +0000 (10:01 +0000)]
.
Jim Meyering [Sun, 27 Jul 2003 10:01:25 +0000 (10:01 +0000)]
regenerate
Jim Meyering [Sun, 27 Jul 2003 08:58:55 +0000 (08:58 +0000)]
remove trailing blanks
Jim Meyering [Sun, 27 Jul 2003 08:51:17 +0000 (08:51 +0000)]
*** empty log message ***
Jim Meyering [Sun, 27 Jul 2003 08:51:12 +0000 (08:51 +0000)]
Emit `$xx', not its expansion.
Jim Meyering [Sun, 27 Jul 2003 08:29:09 +0000 (08:29 +0000)]
*** empty log message ***
Jim Meyering [Sun, 27 Jul 2003 08:28:13 +0000 (08:28 +0000)]
(sort): Don't require two `struct line's per text line,
the new sort algorithm requires just 1.5.
Jim Meyering [Sun, 27 Jul 2003 08:26:49 +0000 (08:26 +0000)]
This change was inspired by a similar proposal by Stepan Kasal.
(mergelines, sortlines_temp): New functions.
(sortlines): Use them, to reduce the number of times that
we need to copy 'struct line' values. This improved CPU
performance by about 30% on one 18 MB test.
(sort): Don't invoke sortlines unless we have 2 or more lines.
Jim Meyering [Sun, 27 Jul 2003 06:45:56 +0000 (06:45 +0000)]
(is_printable_field): Simplify bit arithmetic.
Jim Meyering [Sun, 27 Jul 2003 06:45:31 +0000 (06:45 +0000)]
*** empty log message ***
Jim Meyering [Sun, 27 Jul 2003 06:45:25 +0000 (06:45 +0000)]
(validate_path): Use %lu, not %ld.
Jim Meyering [Sun, 27 Jul 2003 06:34:52 +0000 (06:34 +0000)]
(sort_files): Put `volatile' in the right place.
Jim Meyering [Sat, 26 Jul 2003 14:54:50 +0000 (14:54 +0000)]
.
Jim Meyering [Sat, 26 Jul 2003 14:53:27 +0000 (14:53 +0000)]
*** empty log message ***
Jim Meyering [Sat, 26 Jul 2003 12:26:40 +0000 (12:26 +0000)]
*** empty log message ***
Jim Meyering [Sat, 26 Jul 2003 12:23:53 +0000 (12:23 +0000)]
*** empty log message ***
Jim Meyering [Sat, 26 Jul 2003 12:23:27 +0000 (12:23 +0000)]
(test_vector): Add several tests to check the changes of 2003-07-24.
Syntax errors now exit with status 2, not 1.
Jim Meyering [Sat, 26 Jul 2003 12:22:42 +0000 (12:22 +0000)]
Include exitfail.h.
(TEST_FAILURE): New constant, used for exit status if 'test' fails.
(test-syntax_error): Use it.
(binary_operator): Now takes bool arg specifying whether left operand
is -l ARG, so that caller determines this rather than us.
All uses changed.
(term): Use posixtest to evaluate parenthesized subexpressions.
(unary_operator, one_argument): Remove support for -t without operand.
(one_argument): Take argument from argv[pos].
(one_argument, two_arguments, three_arguments): Advance pos.
All callers changed.
(three_arguments): Look for binary ops before "!". Then look
for parenthesized one_argument expressions, instead of trusting
expr () to do the right thing.
(posixtest): Now takes number of args. All callers changed.
Treat "( A B )" like "A B".
(main): Set exit_failure to TEST_FAILURE. Don't depend on
POSIXLY_CORRECT, as we now conform to POSIX by default.
(main) [!LBRACKET]: Do not recognize "--help" or "--verbose" unless.
Jim Meyering [Sat, 26 Jul 2003 12:18:27 +0000 (12:18 +0000)]
*** empty log message ***
Jim Meyering [Sat, 26 Jul 2003 12:18:21 +0000 (12:18 +0000)]
Document changes of 2003-07-24.
Jim Meyering [Sat, 26 Jul 2003 09:40:25 +0000 (09:40 +0000)]
*** empty log message ***
Jim Meyering [Sat, 26 Jul 2003 09:40:14 +0000 (09:40 +0000)]
Use only one bit per field/offset in array, not one `int'.
(printable_field): Change type to `unsigned char'.
(mark_printable_field, is_printable_field): New functions.
Use them in place of all direct accesses of `printable_field'.
Jim Meyering [Sat, 26 Jul 2003 09:12:30 +0000 (09:12 +0000)]
(set_fields): Detect overflow properly.
Jim Meyering [Sat, 26 Jul 2003 09:10:45 +0000 (09:10 +0000)]
(parse_tabstops): Detect overflow properly.
Jim Meyering [Sat, 26 Jul 2003 09:02:54 +0000 (09:02 +0000)]
* src/rm.c: Include "dirname.h".
(usage): Use base_name (program_name) in body of --help output.
This lets me...
* man/Makefile.am (.x.1): ...back out the kludge of 2003-07-22.
Jim Meyering [Sat, 26 Jul 2003 09:02:33 +0000 (09:02 +0000)]
.
Jim Meyering [Sat, 26 Jul 2003 08:59:15 +0000 (08:59 +0000)]
*** empty log message ***
Jim Meyering [Sat, 26 Jul 2003 08:59:09 +0000 (08:59 +0000)]
* src/rm.c: Include "dirname.h".
(usage): Use base_name (program_name) in body of --help output.
This lets me...
* man/Makefile.am (.x.1): ...back out the kludge of 2003-07-22.
Jim Meyering [Sat, 26 Jul 2003 08:54:23 +0000 (08:54 +0000)]
(mapped_name): Use `../src/[' binary to create test.1.
Jim Meyering [Sat, 26 Jul 2003 08:20:30 +0000 (08:20 +0000)]
*** empty log message ***
Jim Meyering [Sat, 26 Jul 2003 07:28:48 +0000 (07:28 +0000)]
*** empty log message ***
Jim Meyering [Sat, 26 Jul 2003 07:28:43 +0000 (07:28 +0000)]
(AM_INSTALLCHECK_STD_OPTIONS_EXEMPT): Exempt test.
Jim Meyering [Sat, 26 Jul 2003 06:48:40 +0000 (06:48 +0000)]
Adjust for above change in test behavior:
`[' exits with 2, not 1, and test doesn't accept --help or --version.
Jim Meyering [Sat, 26 Jul 2003 06:35:57 +0000 (06:35 +0000)]
*** empty log message ***
Jim Meyering [Sat, 26 Jul 2003 06:35:51 +0000 (06:35 +0000)]
(ME): Don't use trick suggested in Make manual.
It doesn't work for make-3.79.1. Reported by Christian Krackowizer.
(sc_system_h_headers): Another syntax check.
(syntax-check-rules): Add it to the list.