platform/upstream/coreutils.git
19 years ago(usage): Add comma after "-P" to fix typo in previous patch.
Paul Eggert [Tue, 25 Jan 2005 00:41:36 +0000 (00:41 +0000)]
(usage): Add comma after "-P" to fix typo in previous patch.

19 years ago*** empty log message ***
Jim Meyering [Mon, 24 Jan 2005 08:27:37 +0000 (08:27 +0000)]
*** empty log message ***

19 years agoUse S_BLKSIZE value for ST_NBLOCKSIZE where available.
Jim Meyering [Mon, 24 Jan 2005 08:27:15 +0000 (08:27 +0000)]
Use S_BLKSIZE value for ST_NBLOCKSIZE where available.

19 years ago(all_programs.list): Strip $(EXEEXT) and remove duplicates.
Jim Meyering [Mon, 24 Jan 2005 08:22:06 +0000 (08:22 +0000)]
(all_programs.list): Strip $(EXEEXT) and remove duplicates.

19 years ago(all_programs): Revert previous patch; updated all_programs.list fixes this.
Jim Meyering [Mon, 24 Jan 2005 08:21:39 +0000 (08:21 +0000)]
(all_programs): Revert previous patch; updated all_programs.list fixes this.
(.x.1): No need to add $(EXEEXT).

19 years ago*** empty log message ***
Jim Meyering [Mon, 24 Jan 2005 08:10:59 +0000 (08:10 +0000)]
*** empty log message ***

19 years ago(usage): Merge the descriptions of --no-dereference and -P.
Jim Meyering [Mon, 24 Jan 2005 08:10:53 +0000 (08:10 +0000)]
(usage): Merge the descriptions of --no-dereference and -P.

19 years ago*** empty log message ***
Jim Meyering [Mon, 24 Jan 2005 08:10:36 +0000 (08:10 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Sun, 23 Jan 2005 20:38:11 +0000 (20:38 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Sun, 23 Jan 2005 14:35:09 +0000 (14:35 +0000)]
*** empty log message ***

19 years agoUse an all-permissive copyright notice, recommended by RMS.
Paul Eggert [Sun, 23 Jan 2005 09:07:57 +0000 (09:07 +0000)]
Use an all-permissive copyright notice, recommended by RMS.

19 years ago(v_etc_file): The version string has moved to
Jim Meyering [Sat, 22 Jan 2005 09:05:09 +0000 (09:05 +0000)]
(v_etc_file): The version string has moved to
version-etc-fsf.c, search that new file, not version-etc.c.

19 years agoRegenerate.
Paul Eggert [Sat, 22 Jan 2005 06:30:33 +0000 (06:30 +0000)]
Regenerate.

19 years agoRemove "m4/" from listed file names.
Paul Eggert [Sat, 22 Jan 2005 06:28:21 +0000 (06:28 +0000)]
Remove "m4/" from listed file names.

19 years agoSync from gnulib.
Paul Eggert [Sat, 22 Jan 2005 06:25:53 +0000 (06:25 +0000)]
Sync from gnulib.

19 years ago*** empty log message ***
Jim Meyering [Fri, 21 Jan 2005 12:46:36 +0000 (12:46 +0000)]
*** empty log message ***

19 years agoAdd version-etc-fsf.
Paul Eggert [Fri, 21 Jan 2005 00:21:37 +0000 (00:21 +0000)]
Add version-etc-fsf.

19 years ago(libfetish_a_SOURCES): Add version-etc-fsf.c.
Paul Eggert [Fri, 21 Jan 2005 00:21:01 +0000 (00:21 +0000)]
(libfetish_a_SOURCES): Add version-etc-fsf.c.

19 years agoInitial version.
Paul Eggert [Fri, 21 Jan 2005 00:20:20 +0000 (00:20 +0000)]
Initial version.

19 years ago(version_etc_copyright): Use [] instead of * in prototype.
Paul Eggert [Fri, 21 Jan 2005 00:20:05 +0000 (00:20 +0000)]
(version_etc_copyright): Use [] instead of * in prototype.

19 years agoRemove version_etc_copyright.
Paul Eggert [Fri, 21 Jan 2005 00:19:49 +0000 (00:19 +0000)]
Remove version_etc_copyright.

19 years ago.
Jim Meyering [Thu, 20 Jan 2005 22:57:36 +0000 (22:57 +0000)]
.

19 years ago* save-cwd.c (save_cwd): Remove code to support non-fchdir case.
Paul Eggert [Thu, 20 Jan 2005 22:17:47 +0000 (22:17 +0000)]
* save-cwd.c (save_cwd): Remove code to support non-fchdir case.

19 years ago(save_cwd): Remove code to support the case
Paul Eggert [Thu, 20 Jan 2005 22:17:26 +0000 (22:17 +0000)]
(save_cwd): Remove code to support the case
where fchdir is missing or flaky.

19 years ago* save-cwd.m4 (gl_SAVE_CWD): Remove check for fcntl; we now assume it.
Paul Eggert [Thu, 20 Jan 2005 22:17:00 +0000 (22:17 +0000)]
* save-cwd.m4 (gl_SAVE_CWD): Remove check for fcntl; we now assume it.

19 years ago(gl_SAVE_CWD): Remove check for fcntl; we now assume it.
Paul Eggert [Thu, 20 Jan 2005 22:16:44 +0000 (22:16 +0000)]
(gl_SAVE_CWD): Remove check for fcntl; we now assume it.

19 years ago*** empty log message ***
Jim Meyering [Wed, 19 Jan 2005 13:45:22 +0000 (13:45 +0000)]
*** empty log message ***

19 years ago(AT_SYMLINK_NOFOLLOW): Define to 4096, so it's the same value as for Solaris 9.
Jim Meyering [Wed, 19 Jan 2005 13:44:54 +0000 (13:44 +0000)]
(AT_SYMLINK_NOFOLLOW): Define to 4096, so it's the same value as for Solaris 9.

19 years ago*** empty log message ***
Jim Meyering [Wed, 19 Jan 2005 12:52:15 +0000 (12:52 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Wed, 19 Jan 2005 12:51:06 +0000 (12:51 +0000)]
*** empty log message ***

19 years agoremove diff, in, out
Jim Meyering [Wed, 19 Jan 2005 12:50:12 +0000 (12:50 +0000)]
remove diff, in, out

19 years ago*** empty log message ***
Jim Meyering [Wed, 19 Jan 2005 12:48:19 +0000 (12:48 +0000)]
*** empty log message ***

19 years agoA test harness to exercize chdir-long.c's sample main program.
Jim Meyering [Wed, 19 Jan 2005 12:48:15 +0000 (12:48 +0000)]
A test harness to exercize chdir-long.c's sample main program.

19 years ago(chdir_long): Update prototype.
Jim Meyering [Wed, 19 Jan 2005 10:22:02 +0000 (10:22 +0000)]
(chdir_long): Update prototype.

19 years ago*** empty log message ***
Jim Meyering [Wed, 19 Jan 2005 10:21:49 +0000 (10:21 +0000)]
*** empty log message ***

19 years ago(chdir_long): Rewrite to remove limitation on
Jim Meyering [Wed, 19 Jan 2005 10:21:43 +0000 (10:21 +0000)]
(chdir_long): Rewrite to remove limitation on
component length.  This included changing the parameter to be
of type `char *' rather than `char const *'.

19 years ago.
Jim Meyering [Wed, 19 Jan 2005 09:59:08 +0000 (09:59 +0000)]
.

19 years ago(fdopendir, fstatat): New functions.
Jim Meyering [Wed, 19 Jan 2005 09:58:01 +0000 (09:58 +0000)]
(fdopendir, fstatat): New functions.

19 years agoInclude headers required for use of DIR and struct stat.
Jim Meyering [Wed, 19 Jan 2005 09:57:49 +0000 (09:57 +0000)]
Include headers required for use of DIR and struct stat.
[AT_SYMLINK_NOFOLLOW]: Define.
(fdopendir, fstatat): Add prototypes.

19 years agoUse numeric group ids, not symbolic group names, to avoid shell quoting issues.
Paul Eggert [Mon, 17 Jan 2005 22:40:57 +0000 (22:40 +0000)]
Use numeric group ids, not symbolic group names, to avoid shell quoting issues.

19 years ago.
Jim Meyering [Sat, 15 Jan 2005 21:34:18 +0000 (21:34 +0000)]
.

19 years ago*** empty log message ***
Jim Meyering [Sat, 15 Jan 2005 19:56:32 +0000 (19:56 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Sat, 15 Jan 2005 19:51:00 +0000 (19:51 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Sat, 15 Jan 2005 17:24:58 +0000 (17:24 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Sat, 15 Jan 2005 17:24:16 +0000 (17:24 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Sat, 15 Jan 2005 17:21:03 +0000 (17:21 +0000)]
*** empty log message ***

19 years ago(isaac_seed) [HAVE_GETHRTIME]: #if-0 this block,
Jim Meyering [Sat, 15 Jan 2005 17:19:47 +0000 (17:19 +0000)]
(isaac_seed) [HAVE_GETHRTIME]: #if-0 this block,
because just calling gethrtime evokes an `illegal instruction'
failure when compiled with Sun's c89 on Solaris 8 and 9.

19 years ago(isaac_seed) [HAVE_GETHRTIME]: Don't call ISAAC_SEED
Jim Meyering [Sat, 15 Jan 2005 17:13:03 +0000 (17:13 +0000)]
(isaac_seed) [HAVE_GETHRTIME]: Don't call ISAAC_SEED
twice with the same value of `t'.
Replace nested #if-#else blocks with #if-#elif-#elif chain.

19 years ago*** empty log message ***
Jim Meyering [Fri, 14 Jan 2005 16:34:56 +0000 (16:34 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Fri, 14 Jan 2005 16:30:18 +0000 (16:30 +0000)]
*** empty log message ***

19 years agoThe test, tests/tail/f-1, failed on powerpc-apple-darwin7.7.0.
Jim Meyering [Fri, 14 Jan 2005 16:30:15 +0000 (16:30 +0000)]
The test, tests/tail/f-1, failed on powerpc-apple-darwin7.7.0.

(IS_TAILABLE_FILE_TYPE): Adjust definition also to include
sockets, since that's what you get when reading from a command-line-
supplied pipe on Darwin 7.7.
(IS_PIPE_LIKE_FILE_TYPE): Define.
(main): Use new IS_PIPE_LIKE_FILE_TYPE rather than simply S_ISFIFO.
This same change is also required on NetBSD/sparc-1.5.
Reported by Adrian Bunk.

19 years ago.
Jim Meyering [Fri, 14 Jan 2005 15:15:58 +0000 (15:15 +0000)]
.

19 years ago*** empty log message ***
Jim Meyering [Fri, 14 Jan 2005 14:16:10 +0000 (14:16 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Fri, 14 Jan 2005 14:15:31 +0000 (14:15 +0000)]
*** empty log message ***

19 years ago(toarith): Rewrite to detect/diagnose integer overflow,
Jim Meyering [Fri, 14 Jan 2005 14:15:25 +0000 (14:15 +0000)]
(toarith): Rewrite to detect/diagnose integer overflow,
rather than suffering silently.
Before, expr would silently overflow and wrap around:
  $ expr 9223372036854775808 = 0   # $(echo 2^63|bc)
  1
Now it detects the problem and exits nonzero:
  $ ./expr $(echo 2^63|bc) = 0
  ./expr: 9223372036854775808: integer is too large

19 years ago*** empty log message ***
Jim Meyering [Fri, 14 Jan 2005 13:39:51 +0000 (13:39 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Fri, 14 Jan 2005 13:33:32 +0000 (13:33 +0000)]
*** empty log message ***

19 years agoWork around tests/touch/empty-file failure on a system
Jim Meyering [Fri, 14 Jan 2005 13:33:26 +0000 (13:33 +0000)]
Work around tests/touch/empty-file failure on a system
(sparc64, Linux-2.4.28, glibc-2.3.3) that didn't honor utimes'
NULL-means-set-to-current-time semantics.
Remove temporary file immediately, rather than waiting
for configure's at-exit trap code to do it.

19 years ago*** empty log message ***
Jim Meyering [Fri, 14 Jan 2005 10:39:15 +0000 (10:39 +0000)]
*** empty log message ***

19 years ago(id_gn): Exit 77, not 1, for a test-framework
Jim Meyering [Fri, 14 Jan 2005 10:39:05 +0000 (10:39 +0000)]
(id_gn): Exit 77, not 1, for a test-framework
failure, so that doesn't cause `make check' to stop.  Nelson Beebe
reported that this test would fail with this diagnostic
`cannot find name for group ID 10' on one of his systems.

19 years ago*** empty log message ***
Jim Meyering [Thu, 13 Jan 2005 23:33:22 +0000 (23:33 +0000)]
*** empty log message ***

19 years ago(is_int): Don't overflow when evaluating integer constants.
Jim Meyering [Thu, 13 Jan 2005 23:27:34 +0000 (23:27 +0000)]
(is_int): Don't overflow when evaluating integer constants.
Before, ./test $(echo 2^64|bc) -eq 0 && echo FAIL would print `FAIL'.

19 years ago*** empty log message ***
Jim Meyering [Thu, 13 Jan 2005 22:17:33 +0000 (22:17 +0000)]
*** empty log message ***

19 years ago(validate): Add code (if-0'd out) to detect
Jim Meyering [Thu, 13 Jan 2005 22:16:29 +0000 (22:16 +0000)]
(validate): Add code (if-0'd out) to detect
names of temporary files that would clash on 8.3 file systems.

19 years ago*** empty log message ***
Jim Meyering [Thu, 13 Jan 2005 22:14:03 +0000 (22:14 +0000)]
*** empty log message ***

19 years ago(run_tests): Add code (if-0'd out) to detect
Jim Meyering [Thu, 13 Jan 2005 22:13:53 +0000 (22:13 +0000)]
(run_tests): Add code (if-0'd out) to detect
names of temporary files that would clash on 8.3 file systems.

19 years ago*** empty log message ***
Jim Meyering [Wed, 12 Jan 2005 15:27:40 +0000 (15:27 +0000)]
*** empty log message ***

19 years ago(repeat-000): Rename to `repeat-zeros' for the same reason.
Jim Meyering [Wed, 12 Jan 2005 15:27:28 +0000 (15:27 +0000)]
(repeat-000): Rename to `repeat-zeros' for the same reason.

19 years agoShorten test names to accommodate 8.3 systems.
Jim Meyering [Wed, 12 Jan 2005 15:18:54 +0000 (15:18 +0000)]
Shorten test names to accommodate 8.3 systems.

19 years agoShorten test names to accommodate 8.3 systems.
Jim Meyering [Wed, 12 Jan 2005 15:18:12 +0000 (15:18 +0000)]
Shorten test names to accommodate 8.3 systems.

19 years agoregenerate
Jim Meyering [Wed, 12 Jan 2005 15:01:10 +0000 (15:01 +0000)]
regenerate

19 years ago(repeat-bigC): Change test name from
Jim Meyering [Wed, 12 Jan 2005 15:00:51 +0000 (15:00 +0000)]
(repeat-bigC): Change test name from
`repeat-Compl', to avoid 8.3 conflict with `repeat-compl'.

19 years ago*** empty log message ***
Jim Meyering [Wed, 12 Jan 2005 15:00:40 +0000 (15:00 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Wed, 12 Jan 2005 14:59:48 +0000 (14:59 +0000)]
*** empty log message ***

19 years ago.
Jim Meyering [Tue, 11 Jan 2005 21:40:36 +0000 (21:40 +0000)]
.

19 years ago*** empty log message ***
Jim Meyering [Tue, 11 Jan 2005 17:23:24 +0000 (17:23 +0000)]
*** empty log message ***

19 years agoUpdate version to 5.3.1.
Jim Meyering [Tue, 11 Jan 2005 17:22:42 +0000 (17:22 +0000)]
Update version to 5.3.1.

19 years ago*** empty log message ***
Jim Meyering [Tue, 11 Jan 2005 17:03:30 +0000 (17:03 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Tue, 11 Jan 2005 17:02:57 +0000 (17:02 +0000)]
*** empty log message ***

19 years ago(obs-ovflo): New test for overflow.
Jim Meyering [Tue, 11 Jan 2005 17:01:35 +0000 (17:01 +0000)]
(obs-ovflo): New test for overflow.

19 years ago(main): Check for overflow in tabstop values
Jim Meyering [Tue, 11 Jan 2005 16:54:02 +0000 (16:54 +0000)]
(main): Check for overflow in tabstop values
specified via the obsolete form.  E.g., now this command fails:
_POSIX2_VERSION=1 ./expand -$(echo '2^64+1'|bc)
Before it would act like `_POSIX2_VERSION=1 ./expand -1'.

19 years ago(main): Check for overflow in tabstop values
Jim Meyering [Tue, 11 Jan 2005 16:53:24 +0000 (16:53 +0000)]
(main): Check for overflow in tabstop values
specified via the obsolete form.  E.g., now this command fails:
_POSIX2_VERSION=1 ./unexpand -$(echo '2^64+1'|bc)
Before it would act like `_POSIX2_VERSION=1 ./unexpand -1'.

19 years ago(add_tab_stop): Properly diagnose a tabstop list with decreasing values.
Jim Meyering [Tue, 11 Jan 2005 16:52:47 +0000 (16:52 +0000)]
(add_tab_stop): Properly diagnose a tabstop list with decreasing values.

19 years ago*** empty log message ***
Jim Meyering [Tue, 11 Jan 2005 16:51:08 +0000 (16:51 +0000)]
*** empty log message ***

19 years ago(all_programs): Account for $(EXEEXT).
Jim Meyering [Tue, 11 Jan 2005 16:51:03 +0000 (16:51 +0000)]
(all_programs): Account for $(EXEEXT).

19 years ago(check-README, check-AUTHORS): Account for $(EXEEXT).
Jim Meyering [Tue, 11 Jan 2005 16:50:27 +0000 (16:50 +0000)]
(check-README, check-AUTHORS): Account for $(EXEEXT).

19 years agoUpdate copyright date.
Paul Eggert [Mon, 10 Jan 2005 18:12:35 +0000 (18:12 +0000)]
Update copyright date.

19 years agoUpdate copyright date.
Paul Eggert [Mon, 10 Jan 2005 18:11:57 +0000 (18:11 +0000)]
Update copyright date.

19 years agoRespond to POSIX interpretations about pathchk -p dated 2005-01-06.
Paul Eggert [Mon, 10 Jan 2005 18:09:43 +0000 (18:09 +0000)]
Respond to POSIX interpretations about pathchk -p dated 2005-01-06.

19 years agoAdd tests for empty file names and pathchk -P.
Paul Eggert [Mon, 10 Jan 2005 18:09:22 +0000 (18:09 +0000)]
Add tests for empty file names and pathchk -P.

19 years ago(PORTABILITY_OPTION): New constant.
Paul Eggert [Mon, 10 Jan 2005 18:09:02 +0000 (18:09 +0000)]
(PORTABILITY_OPTION): New constant.
(longopts, usage, main, validate_file_name):
Add support for new -P option.
Reject empty file names (unless -p is not specified and the
current system allows empty file names).
Change --portability so that is now equivalent to -p -P.
Don't test whether file name is too long, if it is known to exist.
(no_leading_hyphen): New function.

19 years agoDocument changes responding to POSIX interpretations about pathchk -p
Paul Eggert [Mon, 10 Jan 2005 18:08:12 +0000 (18:08 +0000)]
Document changes responding to POSIX interpretations about pathchk -p
dated 2005-01-06.

19 years agoDocument changes responding to POSIX interpretations about pathchk -p
Paul Eggert [Mon, 10 Jan 2005 18:07:42 +0000 (18:07 +0000)]
Document changes responding to POSIX interpretations about pathchk -p
dated 2005-01-06.

19 years ago*** empty log message ***
Jim Meyering [Sun, 9 Jan 2005 19:45:00 +0000 (19:45 +0000)]
*** empty log message ***

19 years ago.
Jim Meyering [Sat, 8 Jan 2005 20:45:23 +0000 (20:45 +0000)]
.

19 years ago*** empty log message *** COREUTILS-5_3_0 v5.3.0
Jim Meyering [Sat, 8 Jan 2005 20:28:51 +0000 (20:28 +0000)]
*** empty log message ***

19 years ago.
Jim Meyering [Sat, 8 Jan 2005 20:28:32 +0000 (20:28 +0000)]
.

19 years agoregenerate
Jim Meyering [Sat, 8 Jan 2005 20:27:43 +0000 (20:27 +0000)]
regenerate

19 years ago`pr --columns=N' was not equivalent to `pr -N' when also using
Jim Meyering [Sat, 8 Jan 2005 12:01:40 +0000 (12:01 +0000)]
`pr --columns=N' was not equivalent to `pr -N' when also using
either -s or -w.

(main): Set `explicit_columns' for --columns=N,
not just for -N.  This bug has existed since the introduction
of the --columns=N option on 1998-08-15.

19 years ago(main): Check for column count overflow with usages like "pr -2147483648".
Jim Meyering [Sat, 8 Jan 2005 12:00:54 +0000 (12:00 +0000)]
(main): Check for column count overflow with usages like "pr -2147483648".