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

19 years ago*** empty log message ***
Jim Meyering [Sat, 8 Jan 2005 09:42:39 +0000 (09:42 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Sat, 8 Jan 2005 09:42:06 +0000 (09:42 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Sat, 8 Jan 2005 09:35:17 +0000 (09:35 +0000)]
*** empty log message ***

19 years ago(test_vector): For each -N test, automatically
Jim Meyering [Sat, 8 Jan 2005 09:35:04 +0000 (09:35 +0000)]
(test_vector): For each -N test, automatically
create a new test vector using --columns=N.

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

19 years ago*** empty log message ***
Jim Meyering [Sat, 8 Jan 2005 08:46:10 +0000 (08:46 +0000)]
*** empty log message ***

19 years ago.
Jim Meyering [Fri, 7 Jan 2005 20:11:37 +0000 (20:11 +0000)]
.

19 years agoCorrect last change: s/zero/no/ From Paul Jarc.
Jim Meyering [Fri, 7 Jan 2005 20:10:15 +0000 (20:10 +0000)]
Correct last change: s/zero/no/  From Paul Jarc.

19 years ago*** empty log message ***
Jim Meyering [Fri, 7 Jan 2005 18:25:47 +0000 (18:25 +0000)]
*** empty log message ***

19 years ago(sort invocation): Specify that a string of zero digits is interpreted as 0.
Jim Meyering [Fri, 7 Jan 2005 18:24:23 +0000 (18:24 +0000)]
(sort invocation): Specify that a string of zero digits is interpreted as 0.

19 years ago*** empty log message ***
Jim Meyering [Fri, 7 Jan 2005 18:23:57 +0000 (18:23 +0000)]
*** empty log message ***

19 years ago(init_fps): Use xnmalloc, rather than xmalloc.
Jim Meyering [Fri, 7 Jan 2005 17:16:50 +0000 (17:16 +0000)]
(init_fps): Use xnmalloc, rather than xmalloc.

19 years ago.
Jim Meyering [Fri, 7 Jan 2005 10:15:55 +0000 (10:15 +0000)]
.

19 years agoInclude today's date.
Jim Meyering [Fri, 7 Jan 2005 09:57:45 +0000 (09:57 +0000)]
Include today's date.

19 years agoRemove suppression-related options.
Jim Meyering [Fri, 7 Jan 2005 09:54:52 +0000 (09:54 +0000)]
Remove suppression-related options.
Add --track-fds=yes.

19 years ago*** empty log message ***
Jim Meyering [Thu, 6 Jan 2005 16:44:02 +0000 (16:44 +0000)]
*** empty log message ***

19 years agoList the precise HP-UX version numbers that are affected.
Jim Meyering [Thu, 6 Jan 2005 16:44:00 +0000 (16:44 +0000)]
List the precise HP-UX version numbers that are affected.

19 years ago*** empty log message ***
Jim Meyering [Thu, 6 Jan 2005 08:12:32 +0000 (08:12 +0000)]
*** empty log message ***

19 years ago(sc_changelog): Specify find's `-maxdepth 2'
Jim Meyering [Thu, 6 Jan 2005 08:12:28 +0000 (08:12 +0000)]
(sc_changelog): Specify find's `-maxdepth 2'
predicate before `-name ChangeLog' to avoid a harmless warning
from find-4.2.10.

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

19 years agoPunt on the uptime test, since it fails when
Jim Meyering [Wed, 5 Jan 2005 22:08:48 +0000 (22:08 +0000)]
Punt on the uptime test, since it fails when
it can't get boot time, and I don't want that to stop `make check'.

19 years ago*** empty log message ***
Jim Meyering [Wed, 5 Jan 2005 08:26:58 +0000 (08:26 +0000)]
*** empty log message ***

19 years ago(sc_root_tests): New rule.
Jim Meyering [Wed, 5 Jan 2005 08:25:51 +0000 (08:25 +0000)]
(sc_root_tests): New rule.
(syntax-check-rules): Add it to the list.

19 years ago*** empty log message ***
Jim Meyering [Wed, 5 Jan 2005 08:01:09 +0000 (08:01 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Wed, 5 Jan 2005 07:56:58 +0000 (07:56 +0000)]
*** empty log message ***

19 years ago du --exclude=P now compares pattern P against the entire name
Jim Meyering [Wed, 5 Jan 2005 07:56:45 +0000 (07:56 +0000)]
  du --exclude=P now compares pattern P against the entire name
  of each file, rather than just the final component.

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

19 years agoAdd a test for today's fix:
Jim Meyering [Wed, 5 Jan 2005 07:53:11 +0000 (07:53 +0000)]
Add a test for today's fix:

  (process_file): Evaluate exclusion rules against
  the entire file name, not just the last component.

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

19 years ago(process_file): Evaluate exclusion rules against
Jim Meyering [Wed, 5 Jan 2005 07:47:45 +0000 (07:47 +0000)]
(process_file): Evaluate exclusion rules against
the entire file name, not just the last component.

19 years ago*** empty log message ***
Jim Meyering [Wed, 5 Jan 2005 07:46:58 +0000 (07:46 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
Jim Meyering [Tue, 4 Jan 2005 19:40:14 +0000 (19:40 +0000)]
*** empty log message ***