platform/upstream/coreutils.git
21 years ago.
Jim Meyering [Tue, 29 Jul 2003 19:38:34 +0000 (19:38 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Tue, 29 Jul 2003 18:21:35 +0000 (18:21 +0000)]
*** empty log message ***

21 years ago(tail invocation): Restore two end-of-sentence
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.

21 years ago.
Jim Meyering [Tue, 29 Jul 2003 06:44:28 +0000 (06:44 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Tue, 29 Jul 2003 06:41:17 +0000 (06:41 +0000)]
*** empty log message ***

21 years ago(all_programs): Makefile is in ../src, not $(srcdir)/../src.
Jim Meyering [Tue, 29 Jul 2003 06:41:08 +0000 (06:41 +0000)]
(all_programs): Makefile is in ../src, not $(srcdir)/../src.

21 years ago.
Jim Meyering [Tue, 29 Jul 2003 06:22:25 +0000 (06:22 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Mon, 28 Jul 2003 10:15:14 +0000 (10:15 +0000)]
*** empty log message ***

21 years ago(dd invocation): Explain that a SIGUSR1 signal
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.

21 years ago.
Jim Meyering [Mon, 28 Jul 2003 10:04:56 +0000 (10:04 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Mon, 28 Jul 2003 08:40:32 +0000 (08:40 +0000)]
*** empty log message ***

21 years ago(GZIP_ENV): Try Debian/gzip's new --rsyncable option.
Jim Meyering [Mon, 28 Jul 2003 08:40:27 +0000 (08:40 +0000)]
(GZIP_ENV): Try Debian/gzip's new --rsyncable option.

21 years ago.
Jim Meyering [Mon, 28 Jul 2003 08:38:54 +0000 (08:38 +0000)]
.

21 years ago.
Jim Meyering [Mon, 28 Jul 2003 08:37:08 +0000 (08:37 +0000)]
.

21 years agorename to stdbool_.h
Jim Meyering [Mon, 28 Jul 2003 08:36:52 +0000 (08:36 +0000)]
rename to stdbool_.h

21 years ago*** empty log message ***
Jim Meyering [Mon, 28 Jul 2003 08:36:32 +0000 (08:36 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Mon, 28 Jul 2003 08:35:44 +0000 (08:35 +0000)]
*** empty log message ***

21 years agoRenamed from stdbool.hin.
Jim Meyering [Mon, 28 Jul 2003 08:35:37 +0000 (08:35 +0000)]
Renamed from stdbool.hin.

21 years agoRenamed from stdbool.hin.
Jim Meyering [Mon, 28 Jul 2003 08:35:23 +0000 (08:35 +0000)]
Renamed from stdbool.hin.

21 years ago*** empty log message ***
Jim Meyering [Mon, 28 Jul 2003 08:34:48 +0000 (08:34 +0000)]
*** empty log message ***

21 years agoReflect renaming: stdbool.hin -> stdbool_.h.
Jim Meyering [Mon, 28 Jul 2003 08:34:33 +0000 (08:34 +0000)]
Reflect renaming: stdbool.hin -> stdbool_.h.

21 years ago*** empty log message ***
Jim Meyering [Mon, 28 Jul 2003 08:32:27 +0000 (08:32 +0000)]
*** empty log message ***

21 years ago(sortlines_temp): Undo previous change.
Jim Meyering [Mon, 28 Jul 2003 08:31:11 +0000 (08:31 +0000)]
(sortlines_temp): Undo previous change.

21 years agobump copyright
Jim Meyering [Mon, 28 Jul 2003 08:30:49 +0000 (08:30 +0000)]
bump copyright

21 years ago(_Bool): Make it signed char, instead of
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.

21 years ago*** empty log message ***
Jim Meyering [Sun, 27 Jul 2003 22:05:47 +0000 (22:05 +0000)]
*** empty log message ***

21 years ago(sortlines_temp): Declare local `swap' to be `int', not
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].

21 years ago*** empty log message ***
Jim Meyering [Sun, 27 Jul 2003 20:45:55 +0000 (20:45 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Sun, 27 Jul 2003 20:35:25 +0000 (20:35 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sun, 27 Jul 2003 20:04:52 +0000 (20:04 +0000)]
*** empty log message ***

21 years ago(my_uid): Use `!', not `^' in case pattern `[!0-9]',
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 `^'.

21 years ago.
Jim Meyering [Sun, 27 Jul 2003 19:48:11 +0000 (19:48 +0000)]
.

21 years ago(TESTS): Add dir-no-w.
Jim Meyering [Sun, 27 Jul 2003 19:47:58 +0000 (19:47 +0000)]
(TESTS): Add dir-no-w.

21 years ago*** empty log message ***
Jim Meyering [Sun, 27 Jul 2003 19:47:46 +0000 (19:47 +0000)]
*** empty log message ***

21 years ago(prompt) [! recursive]: Don't prompt about unwritable
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.

21 years ago*** empty log message ***
Jim Meyering [Sun, 27 Jul 2003 13:15:11 +0000 (13:15 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 27 Jul 2003 12:34:16 +0000 (12:34 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 27 Jul 2003 10:02:16 +0000 (10:02 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Sun, 27 Jul 2003 10:01:55 +0000 (10:01 +0000)]
.

21 years agoregenerate
Jim Meyering [Sun, 27 Jul 2003 10:01:25 +0000 (10:01 +0000)]
regenerate

21 years agoremove trailing blanks
Jim Meyering [Sun, 27 Jul 2003 08:58:55 +0000 (08:58 +0000)]
remove trailing blanks

21 years ago*** empty log message ***
Jim Meyering [Sun, 27 Jul 2003 08:51:17 +0000 (08:51 +0000)]
*** empty log message ***

21 years agoEmit `$xx', not its expansion.
Jim Meyering [Sun, 27 Jul 2003 08:51:12 +0000 (08:51 +0000)]
Emit `$xx', not its expansion.

21 years ago*** empty log message ***
Jim Meyering [Sun, 27 Jul 2003 08:29:09 +0000 (08:29 +0000)]
*** empty log message ***

21 years ago(sort): Don't require two `struct line's per text line,
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.

21 years agoThis change was inspired by a similar proposal by Stepan Kasal.
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.

21 years ago(is_printable_field): Simplify bit arithmetic.
Jim Meyering [Sun, 27 Jul 2003 06:45:56 +0000 (06:45 +0000)]
(is_printable_field): Simplify bit arithmetic.

21 years ago*** empty log message ***
Jim Meyering [Sun, 27 Jul 2003 06:45:31 +0000 (06:45 +0000)]
*** empty log message ***

21 years ago(validate_path): Use %lu, not %ld.
Jim Meyering [Sun, 27 Jul 2003 06:45:25 +0000 (06:45 +0000)]
(validate_path): Use %lu, not %ld.

21 years ago(sort_files): Put `volatile' in the right place.
Jim Meyering [Sun, 27 Jul 2003 06:34:52 +0000 (06:34 +0000)]
(sort_files): Put `volatile' in the right place.

21 years ago.
Jim Meyering [Sat, 26 Jul 2003 14:54:50 +0000 (14:54 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sat, 26 Jul 2003 14:53:27 +0000 (14:53 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 26 Jul 2003 12:26:40 +0000 (12:26 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 26 Jul 2003 12:23:53 +0000 (12:23 +0000)]
*** empty log message ***

21 years ago(test_vector): Add several tests to check the changes of 2003-07-24.
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.

21 years agoInclude exitfail.h.
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.

21 years ago*** empty log message ***
Jim Meyering [Sat, 26 Jul 2003 12:18:27 +0000 (12:18 +0000)]
*** empty log message ***

21 years agoDocument changes of 2003-07-24.
Jim Meyering [Sat, 26 Jul 2003 12:18:21 +0000 (12:18 +0000)]
Document changes of 2003-07-24.

21 years ago*** empty log message ***
Jim Meyering [Sat, 26 Jul 2003 09:40:25 +0000 (09:40 +0000)]
*** empty log message ***

21 years agoUse only one bit per field/offset in array, not one `int'.
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'.

21 years ago(set_fields): Detect overflow properly.
Jim Meyering [Sat, 26 Jul 2003 09:12:30 +0000 (09:12 +0000)]
(set_fields): Detect overflow properly.

21 years ago(parse_tabstops): Detect overflow properly.
Jim Meyering [Sat, 26 Jul 2003 09:10:45 +0000 (09:10 +0000)]
(parse_tabstops): Detect overflow properly.

21 years ago * src/rm.c: Include "dirname.h".
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.

21 years ago.
Jim Meyering [Sat, 26 Jul 2003 09:02:33 +0000 (09:02 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sat, 26 Jul 2003 08:59:15 +0000 (08:59 +0000)]
*** empty log message ***

21 years ago * src/rm.c: Include "dirname.h".
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.

21 years ago(mapped_name): Use `../src/[' binary to create test.1.
Jim Meyering [Sat, 26 Jul 2003 08:54:23 +0000 (08:54 +0000)]
(mapped_name): Use `../src/[' binary to create test.1.

21 years ago*** empty log message ***
Jim Meyering [Sat, 26 Jul 2003 08:20:30 +0000 (08:20 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 26 Jul 2003 07:28:48 +0000 (07:28 +0000)]
*** empty log message ***

21 years ago(AM_INSTALLCHECK_STD_OPTIONS_EXEMPT): Exempt test.
Jim Meyering [Sat, 26 Jul 2003 07:28:43 +0000 (07:28 +0000)]
(AM_INSTALLCHECK_STD_OPTIONS_EXEMPT): Exempt test.

21 years agoAdjust for above change in test behavior:
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.

21 years ago*** empty log message ***
Jim Meyering [Sat, 26 Jul 2003 06:35:57 +0000 (06:35 +0000)]
*** empty log message ***

21 years ago(ME): Don't use trick suggested in Make manual.
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.

21 years ago.
Jim Meyering [Sat, 26 Jul 2003 06:32:04 +0000 (06:32 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sat, 26 Jul 2003 06:31:45 +0000 (06:31 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Sat, 26 Jul 2003 06:31:23 +0000 (06:31 +0000)]
.

21 years ago(validate_path): Cast strlen value to `unsigned long'
Jim Meyering [Sat, 26 Jul 2003 06:31:03 +0000 (06:31 +0000)]
(validate_path): Cast strlen value to `unsigned long'
so it matches `%ld' format even on 32-bit systems.

21 years ago*** empty log message ***
Jim Meyering [Sat, 26 Jul 2003 06:27:55 +0000 (06:27 +0000)]
*** empty log message ***

21 years ago(flush_paragraph): Cast field width to `int' to avoid warning on 64-bit systems.
Jim Meyering [Sat, 26 Jul 2003 06:27:51 +0000 (06:27 +0000)]
(flush_paragraph): Cast field width to `int' to avoid warning on 64-bit systems.

21 years ago*** empty log message ***
Jim Meyering [Sat, 26 Jul 2003 06:21:01 +0000 (06:21 +0000)]
*** empty log message ***

21 years ago(sort_files): Make `func' volatile, so it can't be
Jim Meyering [Sat, 26 Jul 2003 06:20:54 +0000 (06:20 +0000)]
(sort_files): Make `func' volatile, so it can't be
clobbered by a `longjmp' into this function.

21 years ago*** empty log message ***
Jim Meyering [Fri, 25 Jul 2003 08:40:58 +0000 (08:40 +0000)]
*** empty log message ***

21 years ago(validate_path): Use %ld format (not %d) for size_t value.
Jim Meyering [Fri, 25 Jul 2003 08:40:49 +0000 (08:40 +0000)]
(validate_path): Use %ld format (not %d) for size_t value.

21 years ago*** empty log message ***
Jim Meyering [Fri, 25 Jul 2003 07:45:51 +0000 (07:45 +0000)]
*** empty log message ***

21 years ago(usage): Document the fact that SIGUSR1 makes dd
Jim Meyering [Fri, 25 Jul 2003 07:45:20 +0000 (07:45 +0000)]
(usage): Document the fact that SIGUSR1 makes dd
output its current record counts.  Reported by Jurriaan.

21 years agoDisable the --line-bytes=$_4gb test,
Jim Meyering [Fri, 25 Jul 2003 07:23:40 +0000 (07:23 +0000)]
Disable the --line-bytes=$_4gb test,
because it'd evoke spurious failure on 64-bit systems.

21 years ago*** empty log message ***
Jim Meyering [Thu, 24 Jul 2003 18:40:35 +0000 (18:40 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 24 Jul 2003 09:29:15 +0000 (09:29 +0000)]
*** empty log message ***

21 years ago(su invocation): Use `@subsection', not invalid `@heading'.
Jim Meyering [Thu, 24 Jul 2003 09:29:04 +0000 (09:29 +0000)]
(su invocation): Use `@subsection', not invalid `@heading'.

21 years ago*** empty log message ***
Jim Meyering [Thu, 24 Jul 2003 09:20:18 +0000 (09:20 +0000)]
*** empty log message ***

21 years ago(test_vector): Disable the `PIPE' tests when running
Jim Meyering [Thu, 24 Jul 2003 07:13:10 +0000 (07:13 +0000)]
(test_vector): Disable the `PIPE' tests when running
`wc' with no options.  This goes along with the change of 2003-07-20.

21 years ago*** empty log message ***
Jim Meyering [Thu, 24 Jul 2003 07:12:58 +0000 (07:12 +0000)]
*** empty log message ***

21 years agoupdate from master
Jim Meyering [Thu, 24 Jul 2003 06:57:42 +0000 (06:57 +0000)]
update from master

21 years ago.
Jim Meyering [Thu, 24 Jul 2003 06:56:21 +0000 (06:56 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Wed, 23 Jul 2003 08:13:37 +0000 (08:13 +0000)]
*** empty log message ***

21 years agoDon't include headers already included by system.h:
Jim Meyering [Wed, 23 Jul 2003 08:13:33 +0000 (08:13 +0000)]
Don't include headers already included by system.h:
Don't include version-etc.h.

21 years agoDon't include headers already included by system.h:
Jim Meyering [Wed, 23 Jul 2003 07:29:54 +0000 (07:29 +0000)]
Don't include headers already included by system.h:
Don't include closeout.h.

21 years ago*** empty log message ***
Jim Meyering [Wed, 23 Jul 2003 07:15:43 +0000 (07:15 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 23 Jul 2003 07:15:40 +0000 (07:15 +0000)]
*** empty log message ***

21 years agoDon't include headers already included by system.h:
Jim Meyering [Wed, 23 Jul 2003 07:15:20 +0000 (07:15 +0000)]
Don't include headers already included by system.h:
Don't include stdlib.h.