platform/upstream/coreutils.git
21 years ago(XMALLOC, XCALLOC, XREALLOC): Remove unnecessary casts.
Jim Meyering [Fri, 11 Apr 2003 11:59:11 +0000 (11:59 +0000)]
(XMALLOC, XCALLOC, XREALLOC): Remove unnecessary casts.

21 years ago*** empty log message ***
Jim Meyering [Fri, 11 Apr 2003 11:56:44 +0000 (11:56 +0000)]
*** empty log message ***

21 years agoRemove use of PARAMS.
Jim Meyering [Fri, 11 Apr 2003 11:56:41 +0000 (11:56 +0000)]
Remove use of PARAMS.

21 years ago(PARAMS): Remove definitions and uses.
Jim Meyering [Fri, 11 Apr 2003 11:55:33 +0000 (11:55 +0000)]
(PARAMS): Remove definitions and uses.

21 years agoduh
Jim Meyering [Fri, 11 Apr 2003 11:49:23 +0000 (11:49 +0000)]
duh

21 years ago(xalloc-check): Rename from header-check.
Jim Meyering [Fri, 11 Apr 2003 11:45:23 +0000 (11:45 +0000)]
(xalloc-check): Rename from header-check.

21 years ago*** empty log message ***
Jim Meyering [Fri, 11 Apr 2003 11:42:48 +0000 (11:42 +0000)]
*** empty log message ***

21 years agoInclude error.h after system.h, not before.
Jim Meyering [Fri, 11 Apr 2003 11:42:39 +0000 (11:42 +0000)]
Include error.h after system.h, not before.

21 years ago*** empty log message ***
Jim Meyering [Fri, 11 Apr 2003 10:52:04 +0000 (10:52 +0000)]
*** empty log message ***

21 years agoRemove anachronistic casts of xmalloc,
Jim Meyering [Fri, 11 Apr 2003 10:51:56 +0000 (10:51 +0000)]
Remove anachronistic casts of xmalloc,
xrealloc, and xcalloc return values and of xrealloc's first argument.

21 years agoinclude xalloc.h
Jim Meyering [Fri, 11 Apr 2003 09:16:32 +0000 (09:16 +0000)]
include xalloc.h

21 years agodo not cast xmalloc return value
Jim Meyering [Fri, 11 Apr 2003 09:16:02 +0000 (09:16 +0000)]
do not cast xmalloc return value

21 years ago*** empty log message ***
Jim Meyering [Fri, 11 Apr 2003 09:15:14 +0000 (09:15 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Fri, 11 Apr 2003 09:11:18 +0000 (09:11 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Apr 2003 21:41:08 +0000 (21:41 +0000)]
*** empty log message ***

21 years ago(wrapf): Declare with format attribute.
Jim Meyering [Thu, 10 Apr 2003 21:41:03 +0000 (21:41 +0000)]
(wrapf): Declare with format attribute.

21 years ago.
Jim Meyering [Thu, 10 Apr 2003 19:33:03 +0000 (19:33 +0000)]
.

21 years ago.
Jim Meyering [Thu, 10 Apr 2003 19:32:34 +0000 (19:32 +0000)]
.

21 years ago(check-texinfo): Check for uses of non-zero. I prefer to spell it `nonzero'.
Jim Meyering [Thu, 10 Apr 2003 19:32:23 +0000 (19:32 +0000)]
(check-texinfo): Check for uses of non-zero. I prefer to spell it `nonzero'.

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Apr 2003 19:31:16 +0000 (19:31 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Apr 2003 19:29:49 +0000 (19:29 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Apr 2003 19:27:53 +0000 (19:27 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Apr 2003 19:15:06 +0000 (19:15 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Apr 2003 19:11:11 +0000 (19:11 +0000)]
*** empty log message ***

21 years ago(fs.h): New rule to generate fs.h from stat.c.
Jim Meyering [Thu, 10 Apr 2003 19:11:07 +0000 (19:11 +0000)]
(fs.h): New rule to generate fs.h from stat.c.
(BUILT_SOURCES): Add fs.h, now that it's generated.
(EXTRA_DIST): Add extract-magic.

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Apr 2003 19:09:43 +0000 (19:09 +0000)]
*** empty log message ***

21 years agoadd comment
Jim Meyering [Thu, 10 Apr 2003 19:09:30 +0000 (19:09 +0000)]
add comment

21 years ago(human_fstype) [__linux__]: Append each hex constant from
Jim Meyering [Thu, 10 Apr 2003 19:07:34 +0000 (19:07 +0000)]
(human_fstype) [__linux__]: Append each hex constant from
fs.h in a comment after the corresponding `case S_MAGIC_...:' statement.

21 years agonow it's automatically generated
Jim Meyering [Thu, 10 Apr 2003 19:06:22 +0000 (19:06 +0000)]
now it's automatically generated

21 years agoNew script to extract fs.h definitions from stat.c.
Jim Meyering [Thu, 10 Apr 2003 19:05:43 +0000 (19:05 +0000)]
New script to extract fs.h definitions from stat.c.

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Apr 2003 18:07:00 +0000 (18:07 +0000)]
*** empty log message ***

21 years ago(human_fstype): Handle Linux's devpts.
Jim Meyering [Thu, 10 Apr 2003 18:06:56 +0000 (18:06 +0000)]
(human_fstype): Handle Linux's devpts.

21 years ago(S_MAGIC_DEVPTS): New magic for Linux's devpts.
Jim Meyering [Thu, 10 Apr 2003 18:06:23 +0000 (18:06 +0000)]
(S_MAGIC_DEVPTS): New magic for Linux's devpts.

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Apr 2003 17:03:30 +0000 (17:03 +0000)]
*** empty log message ***

21 years ago(canonicalize_file_name): NUL-terminate the result.
Jim Meyering [Thu, 10 Apr 2003 17:03:26 +0000 (17:03 +0000)]
(canonicalize_file_name): NUL-terminate the result.

21 years ago(canonicalize_file_name): Always free `extra_buf' before returning.
Jim Meyering [Thu, 10 Apr 2003 16:54:19 +0000 (16:54 +0000)]
(canonicalize_file_name): Always free `extra_buf' before returning.

21 years ago(canonicalize_file_name): Return NULL immediately if resolvepath fails.
Jim Meyering [Thu, 10 Apr 2003 16:47:35 +0000 (16:47 +0000)]
(canonicalize_file_name): Return NULL immediately if resolvepath fails.
Otherwise, `readlink --canonical /no-such-file' would exhaust
virtual memory on some systems (e.g. Solaris).

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Apr 2003 16:41:17 +0000 (16:41 +0000)]
*** empty log message ***

21 years ago(readlink invocation): Tweak description a little.
Jim Meyering [Thu, 10 Apr 2003 16:41:14 +0000 (16:41 +0000)]
(readlink invocation): Tweak description a little.

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Apr 2003 15:57:56 +0000 (15:57 +0000)]
*** empty log message ***

21 years ago(canonicalize_file_name): Remove stray semicolon
Jim Meyering [Thu, 10 Apr 2003 15:57:45 +0000 (15:57 +0000)]
(canonicalize_file_name): Remove stray semicolon
that caused `readlink --canonical RELATIVE_NAME' to fail on e.g.,
Solaris systems.

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Apr 2003 15:57:31 +0000 (15:57 +0000)]
*** empty log message ***

21 years agoSkip this test (don't fail) if creating a file with nominal length > 4GB fails.
Jim Meyering [Thu, 10 Apr 2003 08:36:41 +0000 (08:36 +0000)]
Skip this test (don't fail) if creating a file with nominal length > 4GB fails.

21 years ago*** empty log message ***
Jim Meyering [Thu, 10 Apr 2003 07:15:51 +0000 (07:15 +0000)]
*** empty log message ***

21 years agoAdd `SEE ALSO' reference to unexpand.
Jim Meyering [Thu, 10 Apr 2003 07:15:38 +0000 (07:15 +0000)]
Add `SEE ALSO' reference to unexpand.

21 years agoAdd `SEE ALSO' reference to expand.
Jim Meyering [Thu, 10 Apr 2003 07:15:29 +0000 (07:15 +0000)]
Add `SEE ALSO' reference to expand.

21 years agoMake sure that a huge obsolete option evokes the right failure.
Jim Meyering [Wed, 9 Apr 2003 20:55:17 +0000 (20:55 +0000)]
Make sure that a huge obsolete option evokes the right failure.

21 years ago*** empty log message ***
Jim Meyering [Wed, 9 Apr 2003 20:54:56 +0000 (20:54 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 9 Apr 2003 20:48:54 +0000 (20:48 +0000)]
*** empty log message ***

21 years ago(line_bytes_split): Arg is of type size_t, since
Jim Meyering [Wed, 9 Apr 2003 20:48:29 +0000 (20:48 +0000)]
(line_bytes_split): Arg is of type size_t, since
that's all that is supported for now.
(main): Check for overflow in obsolescent line count option.

21 years agoEnsure that split --lines=N and --bytes=N work for N=2^32.
Jim Meyering [Wed, 9 Apr 2003 14:57:32 +0000 (14:57 +0000)]
Ensure that split --lines=N and --bytes=N work for N=2^32.
Currently (coreutils-5.0.1) split --line-bytes=M fails
with `invalid number of bytes' for M=2^32 or larger.  Test it.

21 years ago*** empty log message ***
Jim Meyering [Wed, 9 Apr 2003 14:45:12 +0000 (14:45 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 9 Apr 2003 14:43:33 +0000 (14:43 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 9 Apr 2003 14:40:10 +0000 (14:40 +0000)]
*** empty log message ***

21 years ago(bytes_split): Use size_t temporary (rather than
Jim Meyering [Wed, 9 Apr 2003 14:40:05 +0000 (14:40 +0000)]
(bytes_split): Use size_t temporary (rather than
uintmax_t original) in remaining computations.  From Paul Eggert.

21 years agoHandle command line option arguments larger than 2^31.
Jim Meyering [Wed, 9 Apr 2003 14:37:47 +0000 (14:37 +0000)]
Handle command line option arguments larger than 2^31.
This allows e.g., splitting into files of size 2GB and larger,
and running split --lines=N with N=2^31 or more.
But for --line-bytes=N, the restriction that N <= SIZE_MAX
remains (for now), due to the way it is implemented.

Include "inttostr.h".
(bytes_split, lines_split, line_bytes_split, main):
Use uintmax_t, not size_t, for file sizes.
(main): Give a better diagnostic for option arguments == 0.
Use umaxtostr to print file sizes.

21 years agotweak white-space to make backslashes line up
Jim Meyering [Wed, 9 Apr 2003 13:38:39 +0000 (13:38 +0000)]
tweak white-space to make backslashes line up

21 years ago(lines_split): Rename local, nlines -> n_lines.
Jim Meyering [Wed, 9 Apr 2003 13:25:48 +0000 (13:25 +0000)]
(lines_split): Rename local, nlines -> n_lines.

21 years agoalso check obsolete option -0
Jim Meyering [Wed, 9 Apr 2003 12:21:13 +0000 (12:21 +0000)]
also check obsolete option -0

21 years ago*** empty log message ***
Jim Meyering [Tue, 8 Apr 2003 12:53:58 +0000 (12:53 +0000)]
*** empty log message ***

21 years ago(usage): Mention that --directory (-d) works only on some systems.
Jim Meyering [Tue, 8 Apr 2003 12:53:53 +0000 (12:53 +0000)]
(usage): Mention that --directory (-d) works only on some systems.

21 years ago*** empty log message ***
Jim Meyering [Tue, 8 Apr 2003 12:53:26 +0000 (12:53 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Tue, 8 Apr 2003 11:50:23 +0000 (11:50 +0000)]
*** empty log message ***

21 years ago(main): Use STDIN_FILENO, not literal `0'.
Jim Meyering [Tue, 8 Apr 2003 11:49:57 +0000 (11:49 +0000)]
(main): Use STDIN_FILENO, not literal `0'.

21 years ago*** empty log message ***
Jim Meyering [Tue, 8 Apr 2003 11:46:05 +0000 (11:46 +0000)]
*** empty log message ***

21 years ago(TESTS): Add split-fail.
Jim Meyering [Tue, 8 Apr 2003 11:45:58 +0000 (11:45 +0000)]
(TESTS): Add split-fail.

21 years ago*** empty log message ***
Jim Meyering [Tue, 8 Apr 2003 11:45:44 +0000 (11:45 +0000)]
*** empty log message ***

21 years agoRun $PERL to see if it is available, rather than testing its value.
Jim Meyering [Tue, 8 Apr 2003 10:55:01 +0000 (10:55 +0000)]
Run $PERL to see if it is available, rather than testing its value.

21 years ago.
Jim Meyering [Tue, 8 Apr 2003 10:54:09 +0000 (10:54 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Tue, 8 Apr 2003 10:14:19 +0000 (10:14 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Tue, 8 Apr 2003 09:51:57 +0000 (09:51 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Tue, 8 Apr 2003 09:51:17 +0000 (09:51 +0000)]
*** empty log message ***

21 years ago(main): Rename local variable: s/accum/n_units/.
Jim Meyering [Tue, 8 Apr 2003 09:50:50 +0000 (09:50 +0000)]
(main): Rename local variable: s/accum/n_units/.

21 years agoalso change NCHARS, in comments, to N_BYTES
Jim Meyering [Tue, 8 Apr 2003 09:39:08 +0000 (09:39 +0000)]
also change NCHARS, in comments, to N_BYTES

21 years agoRename local variables: nchars -> n_bytes.
Jim Meyering [Tue, 8 Apr 2003 09:30:09 +0000 (09:30 +0000)]
Rename local variables: nchars -> n_bytes.

21 years agoRemove note about Ultrix compilation failure.
Jim Meyering [Tue, 8 Apr 2003 09:23:09 +0000 (09:23 +0000)]
Remove note about Ultrix compilation failure.

21 years ago*** empty log message ***
Jim Meyering [Mon, 7 Apr 2003 18:12:37 +0000 (18:12 +0000)]
*** empty log message ***

21 years ago(jm_PREREQ_STAT): Add prerequisites and #includes for Ultrix 4.4.
Jim Meyering [Mon, 7 Apr 2003 18:12:31 +0000 (18:12 +0000)]
(jm_PREREQ_STAT): Add prerequisites and #includes for Ultrix 4.4.

21 years ago*** empty log message ***
Jim Meyering [Mon, 7 Apr 2003 18:11:47 +0000 (18:11 +0000)]
*** empty log message ***

21 years agoAdd #include directives for Ultrix 4.4.
Jim Meyering [Mon, 7 Apr 2003 18:11:39 +0000 (18:11 +0000)]
Add #include directives for Ultrix 4.4.
Based on a suggested change from Bert Deknuydt.

21 years ago*** empty log message ***
Jim Meyering [Mon, 7 Apr 2003 18:02:29 +0000 (18:02 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sun, 6 Apr 2003 19:06:37 +0000 (19:06 +0000)]
*** empty log message ***

21 years ago(makefile-check): New rule.
Jim Meyering [Sun, 6 Apr 2003 19:06:26 +0000 (19:06 +0000)]
(makefile-check): New rule.
(local-check): Add it.

21 years ago.
Jim Meyering [Sat, 5 Apr 2003 18:04:06 +0000 (18:04 +0000)]
.

21 years ago*** empty log message ***
Jim Meyering [Sat, 5 Apr 2003 18:03:47 +0000 (18:03 +0000)]
*** empty log message ***

21 years agoUse $(VAR) rather than @VAR@, now that we can rely on automake to
Jim Meyering [Sat, 5 Apr 2003 18:03:39 +0000 (18:03 +0000)]
Use $(VAR) rather than @VAR@, now that we can rely on automake to
emit a definition for each substituted variable.

21 years ago*** empty log message ***
Jim Meyering [Sat, 5 Apr 2003 16:53:03 +0000 (16:53 +0000)]
*** empty log message ***

21 years ago(DEFS): Use += notation rather than `DEFS = ... @DEFS@'.
Jim Meyering [Sat, 5 Apr 2003 16:52:48 +0000 (16:52 +0000)]
(DEFS): Use += notation rather than `DEFS = ... @DEFS@'.
Use $(VAR) rather than @VAR@, now that we can rely on automake to
emit a definition for each substituted variable.

21 years ago*** empty log message ***
Jim Meyering [Sat, 5 Apr 2003 16:21:28 +0000 (16:21 +0000)]
*** empty log message ***

21 years agoAdd a comment explaining why this test fails when using Tru64's broken sed.
Jim Meyering [Sat, 5 Apr 2003 16:21:23 +0000 (16:21 +0000)]
Add a comment explaining why this test fails when using Tru64's broken sed.

21 years agoAdd a comment explaining why this test fails when using Tru64's broken sed.
Jim Meyering [Sat, 5 Apr 2003 16:20:41 +0000 (16:20 +0000)]
Add a comment explaining why this test fails when using Tru64's broken sed.

21 years ago*** empty log message ***
Jim Meyering [Sat, 5 Apr 2003 16:13:55 +0000 (16:13 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 5 Apr 2003 16:12:33 +0000 (16:12 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Sat, 5 Apr 2003 15:51:42 +0000 (15:51 +0000)]
*** empty log message ***

21 years agoMake `kill -t' output signal descriptions (not `?') on Tru64.
Jim Meyering [Sat, 5 Apr 2003 15:49:46 +0000 (15:49 +0000)]
Make `kill -t' output signal descriptions (not `?') on Tru64.
(sys_siglist): Also check for __sys_siglist.

21 years ago*** empty log message ***
Jim Meyering [Sat, 5 Apr 2003 15:46:01 +0000 (15:46 +0000)]
*** empty log message ***

21 years agoAlso check for declaration of __sys_siglist.
Jim Meyering [Sat, 5 Apr 2003 15:45:55 +0000 (15:45 +0000)]
Also check for declaration of __sys_siglist.
Required for Tru64 4.0D, 4.0F, and 5.1.

21 years agobump to 5.0.1
Jim Meyering [Sat, 5 Apr 2003 15:44:29 +0000 (15:44 +0000)]
bump to 5.0.1

21 years agofixed Ed Avis' mv bug
Jim Meyering [Fri, 4 Apr 2003 21:58:05 +0000 (21:58 +0000)]
fixed Ed Avis' mv bug

21 years ago*** empty log message ***
Jim Meyering [Fri, 4 Apr 2003 21:55:29 +0000 (21:55 +0000)]
*** empty log message ***