platform/upstream/coreutils.git
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 ***

21 years ago(PERL): Remove unnecessary definition.
Jim Meyering [Fri, 4 Apr 2003 21:54:30 +0000 (21:54 +0000)]
(PERL): Remove unnecessary definition.

21 years agoBecause of inappropriate (but POSIX-mandated) behavior of rename,
Jim Meyering [Fri, 4 Apr 2003 21:53:27 +0000 (21:53 +0000)]
Because of inappropriate (but POSIX-mandated) behavior of rename,
`mv a b' would not remove `a' in some unusual cases.  Work around
this by unlinking `a' when necessary.

(same_file_ok): Add an output parameter.
Set it in the offending case.
(copy_internal): When necessary, unlink SRC_PATH and inform caller.

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

21 years ago(TESTS): Add hard-4.
Jim Meyering [Fri, 4 Apr 2003 21:45:20 +0000 (21:45 +0000)]
(TESTS): Add hard-4.

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

21 years ago[TEST_DIRNAME]: Update build instructions for test.
Jim Meyering [Fri, 4 Apr 2003 19:35:54 +0000 (19:35 +0000)]
[TEST_DIRNAME]: Update build instructions for test.
Add test-cases for DOS filenames. Declare program_name.
(main): Set up program_name.

21 years agoClean up rules for automatically generated sources:
Jim Meyering [Fri, 4 Apr 2003 16:03:50 +0000 (16:03 +0000)]
Clean up rules for automatically generated sources:

(dircolors.h, wheel-size.h, wheel.h, false.c):
Make each generated file be read-only.
Add each file name to BUILT_SOURCES separately.
(MAINTAINERCLEANFILES): Set to $(BUILT_SOURCES).

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

21 years agoPut LOCALEDIR macro definition in new file: localedir.h.
Jim Meyering [Fri, 4 Apr 2003 15:50:05 +0000 (15:50 +0000)]
Put LOCALEDIR macro definition in new file: localedir.h.

(DEFS): Remove definition.
(localedir.h): New rule.
(BUILT_SOURCES, DISTCLEANFILES): Add localedir.h.

21 years agoInclude "localedir.h".
Jim Meyering [Fri, 4 Apr 2003 15:49:48 +0000 (15:49 +0000)]
Include "localedir.h".

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

21 years ago(constants.texi): Rename target (thus enabling it),
Jim Meyering [Fri, 4 Apr 2003 15:22:05 +0000 (15:22 +0000)]
(constants.texi): Rename target (thus enabling it),
now that fileutils, textutils, and sh-utils have been merged.
(MAINTAINERCLEANFILES): Define.

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

21 years ago*** empty log message ***
Jim Meyering [Thu, 3 Apr 2003 13:09:50 +0000 (13:09 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Wed, 2 Apr 2003 21:26:58 +0000 (21:26 +0000)]
.

21 years ago*** empty log message *** COREUTILS-5_0 v5.0
Jim Meyering [Wed, 2 Apr 2003 21:10:23 +0000 (21:10 +0000)]
*** empty log message ***

21 years ago.
Jim Meyering [Wed, 2 Apr 2003 21:09:04 +0000 (21:09 +0000)]
.

21 years agore-add it for 5.0
Jim Meyering [Wed, 2 Apr 2003 21:08:54 +0000 (21:08 +0000)]
re-add it for 5.0

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

21 years ago*** empty log message ***
Jim Meyering [Wed, 2 Apr 2003 18:42:12 +0000 (18:42 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 2 Apr 2003 18:22:14 +0000 (18:22 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
Jim Meyering [Wed, 2 Apr 2003 18:19:56 +0000 (18:19 +0000)]
*** empty log message ***

21 years ago(false invocation): Note that false exits
Jim Meyering [Wed, 2 Apr 2003 18:19:53 +0000 (18:19 +0000)]
(false invocation): Note that false exits
unsuccessfully even with --help and --version.

21 years agoadd lost log entry:
Jim Meyering [Wed, 2 Apr 2003 18:14:04 +0000 (18:14 +0000)]
add lost log entry:

  2002-07-20  Jim Meyering  <jim@meyering.net>

  * Makefile.am (false.c): Convert only the final EXIT_SUCCESS
  into EXIT_FAILURE.  Otherwise, false --help and false --version
  would fail.