platform/upstream/coreutils.git
20 years ago.
Jim Meyering [Sun, 27 Jul 2003 10:01:55 +0000 (10:01 +0000)]
.

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

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

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

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

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

20 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.

20 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.

20 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.

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

20 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.

20 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.

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

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

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

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

20 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.

20 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.

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

20 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.

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

20 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'.

20 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.

20 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.

20 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.

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

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

20 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.

20 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.

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

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

20 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.

20 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.

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

20 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.

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

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

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

20 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.

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

20 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.

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

20 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.

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

20 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.

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

20 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.

20 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.

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

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

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

21 years agoDon't include headers already included by system.h:
Jim Meyering [Wed, 23 Jul 2003 07:11:14 +0000 (07:11 +0000)]
Don't include headers already included by system.h:
Don't include limits.h or error.h.

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

21 years agoDon't include unistd.h or time.h; system.h already does it.
Jim Meyering [Wed, 23 Jul 2003 07:09:28 +0000 (07:09 +0000)]
Don't include unistd.h or time.h; system.h already does it.

21 years agoDon't include stdlib.h, unistd.h, or limits.h; system.h already does it.
Jim Meyering [Wed, 23 Jul 2003 07:08:03 +0000 (07:08 +0000)]
Don't include stdlib.h, unistd.h, or limits.h; system.h already does it.

21 years agoDon't include time.h; system.h already does it.
Jim Meyering [Wed, 23 Jul 2003 07:07:07 +0000 (07:07 +0000)]
Don't include time.h; system.h already does it.

21 years agoDon't include errno.h; system.h already does it.
Jim Meyering [Wed, 23 Jul 2003 07:06:13 +0000 (07:06 +0000)]
Don't include errno.h; system.h already does it.

21 years agoDon't include sys/time.h; system.h already does it.
Jim Meyering [Wed, 23 Jul 2003 07:05:41 +0000 (07:05 +0000)]
Don't include sys/time.h; system.h already does it.

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

21 years ago(TESTS_ENVIRONMENT): Define PACKAGE_VERSION.
Jim Meyering [Wed, 23 Jul 2003 07:03:42 +0000 (07:03 +0000)]
(TESTS_ENVIRONMENT): Define PACKAGE_VERSION.

21 years agoAdd a check for whether $NON_ROOT_USERNAME
Jim Meyering [Wed, 23 Jul 2003 07:03:31 +0000 (07:03 +0000)]
Add a check for whether $NON_ROOT_USERNAME
can access the required version of rm.

21 years ago.
Jim Meyering [Wed, 23 Jul 2003 07:01:36 +0000 (07:01 +0000)]
.

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

21 years ago(out-delim3a): New test.
Jim Meyering [Wed, 23 Jul 2003 07:01:19 +0000 (07:01 +0000)]
(out-delim3a): New test.

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

21 years agoUpdate to version 1.33.
Jim Meyering [Wed, 23 Jul 2003 07:00:29 +0000 (07:00 +0000)]
Update to version 1.33.

21 years ago.
Jim Meyering [Wed, 23 Jul 2003 06:59:54 +0000 (06:59 +0000)]
.

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

21 years ago*** empty log message ***
Jim Meyering [Wed, 23 Jul 2003 06:58:25 +0000 (06:58 +0000)]
*** empty log message ***

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

21 years ago(parse_tabstops): Detect overflow in tabstop sizes.
Jim Meyering [Wed, 23 Jul 2003 06:57:57 +0000 (06:57 +0000)]
(parse_tabstops): Detect overflow in tabstop sizes.

21 years ago*** empty log message ***
Jim Meyering [Wed, 23 Jul 2003 06:39:47 +0000 (06:39 +0000)]
*** empty log message ***

21 years agoInclude xstrndup.h.
Jim Meyering [Wed, 23 Jul 2003 06:39:44 +0000 (06:39 +0000)]
Include xstrndup.h.
(xstrndup): Remove function, now that it's been factored out into
it's own file.

21 years agoTweak comment: Solaris2.5.1 -> Solaris 2.5.1
Jim Meyering [Wed, 23 Jul 2003 06:38:18 +0000 (06:38 +0000)]
Tweak comment: Solaris2.5.1 -> Solaris 2.5.1

21 years agoTweak comment: Solaris2.7 -> Solaris 2.7
Jim Meyering [Wed, 23 Jul 2003 06:37:45 +0000 (06:37 +0000)]
Tweak comment: Solaris2.7 -> Solaris 2.7

21 years ago Normalize naming of Sun operating systems in comments, e.g., SunOS4 -> SunOS 4,
Jim Meyering [Wed, 23 Jul 2003 06:27:07 +0000 (06:27 +0000)]
 Normalize naming of Sun operating systems in comments, e.g., SunOS4 -> SunOS 4,
Solaris5.9 -> Solaris 9.  From Paul Eggert.

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

21 years agoNormalize naming of Sun operating systems, e.g., SunOS4 -> SunOS 4,
Jim Meyering [Wed, 23 Jul 2003 06:24:12 +0000 (06:24 +0000)]
Normalize naming of Sun operating systems, e.g., SunOS4 -> SunOS 4,
Solaris5.9 -> Solaris 9.  From Paul Eggert.

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

21 years ago.
Jim Meyering [Wed, 23 Jul 2003 06:18:23 +0000 (06:18 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Wed, 23 Jul 2003 06:17:55 +0000 (06:17 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 23 Jul 2003 06:16:14 +0000 (06:16 +0000)]
*** empty log message ***

21 years agoinclude "xstrndup.h"
Jim Meyering [Wed, 23 Jul 2003 06:16:05 +0000 (06:16 +0000)]
include "xstrndup.h"

21 years agoFactored out of dircolors.c from coreutils.
Jim Meyering [Wed, 23 Jul 2003 06:14:20 +0000 (06:14 +0000)]
Factored out of dircolors.c from coreutils.

21 years ago(libfetish_a_SOURCES): Add xstrndup.c and xstrndup.h.
Jim Meyering [Wed, 23 Jul 2003 06:00:50 +0000 (06:00 +0000)]
(libfetish_a_SOURCES): Add xstrndup.c and xstrndup.h.

21 years agoUse `SunOS 4', not SunOS4
Jim Meyering [Wed, 23 Jul 2003 06:00:07 +0000 (06:00 +0000)]
Use `SunOS 4', not SunOS4
Solaris 2.6, not Solaris 5.6, etc.
From Paul Eggert.