Commit Graph

20063 Commits

Author SHA1 Message Date
Jim Meyering db0ec0873c *** empty log message *** 2005-01-15 19:51:00 +00:00
Jim Meyering 5737627b41 *** empty log message *** 2005-01-15 17:24:58 +00:00
Jim Meyering 0771bddcb5 *** empty log message *** 2005-01-15 17:24:16 +00:00
Jim Meyering 6d1d7aede0 *** empty log message *** 2005-01-15 17:21:03 +00:00
Jim Meyering 6d003dd014 (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.
2005-01-15 17:19:47 +00:00
Jim Meyering 6d638576d4 (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.
2005-01-15 17:13:03 +00:00
Jim Meyering 244ce2fb1a *** empty log message *** 2005-01-14 16:34:56 +00:00
Jim Meyering 350a0ccc90 *** empty log message *** 2005-01-14 16:30:18 +00:00
Jim Meyering 85d111b3be 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.
2005-01-14 16:30:15 +00:00
Jim Meyering 6e46196ae9 . 2005-01-14 15:15:58 +00:00
Jim Meyering 5443fe149f *** empty log message *** 2005-01-14 14:16:10 +00:00
Jim Meyering ffa7a7db3d *** empty log message *** 2005-01-14 14:15:31 +00:00
Jim Meyering 7eff5901c4 (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
2005-01-14 14:15:25 +00:00
Jim Meyering 9eea266563 *** empty log message *** 2005-01-14 13:39:51 +00:00
Jim Meyering 2e301f00f3 *** empty log message *** 2005-01-14 13:33:32 +00:00
Jim Meyering 14f7a72f5a 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.
2005-01-14 13:33:26 +00:00
Jim Meyering ec597a0f84 *** empty log message *** 2005-01-14 10:39:15 +00:00
Jim Meyering 6ad556a63c (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.
2005-01-14 10:39:05 +00:00
Jim Meyering bf9e735bbd *** empty log message *** 2005-01-13 23:33:22 +00:00
Jim Meyering 24158efbdf (is_int): Don't overflow when evaluating integer constants.
Before, ./test $(echo 2^64|bc) -eq 0 && echo FAIL would print `FAIL'.
2005-01-13 23:27:34 +00:00
Jim Meyering b54fd550bd *** empty log message *** 2005-01-13 22:17:33 +00:00
Jim Meyering d5a5cf8f9d (validate): Add code (if-0'd out) to detect
names of temporary files that would clash on 8.3 file systems.
2005-01-13 22:16:29 +00:00
Jim Meyering c7efc489f3 *** empty log message *** 2005-01-13 22:14:03 +00:00
Jim Meyering fe44a6d988 (run_tests): Add code (if-0'd out) to detect
names of temporary files that would clash on 8.3 file systems.
2005-01-13 22:13:53 +00:00
Jim Meyering 865844251f *** empty log message *** 2005-01-12 15:27:40 +00:00
Jim Meyering 10d9154380 (repeat-000): Rename to `repeat-zeros' for the same reason. 2005-01-12 15:27:28 +00:00
Jim Meyering fc539da2b0 Shorten test names to accommodate 8.3 systems. 2005-01-12 15:18:54 +00:00
Jim Meyering 6d843c3bd5 Shorten test names to accommodate 8.3 systems. 2005-01-12 15:18:12 +00:00
Jim Meyering e803f7bedb regenerate 2005-01-12 15:01:10 +00:00
Jim Meyering dc339f4f80 (repeat-bigC): Change test name from
`repeat-Compl', to avoid 8.3 conflict with `repeat-compl'.
2005-01-12 15:00:51 +00:00
Jim Meyering 8cebee0f7e *** empty log message *** 2005-01-12 15:00:40 +00:00
Jim Meyering fec07f5aef *** empty log message *** 2005-01-12 14:59:48 +00:00
Jim Meyering 6c639064c0 . 2005-01-11 21:40:36 +00:00
Jim Meyering bec6c6cbd7 *** empty log message *** 2005-01-11 17:23:24 +00:00
Jim Meyering 1b1775b518 Update version to 5.3.1. 2005-01-11 17:22:42 +00:00
Jim Meyering ee0c8162ab *** empty log message *** 2005-01-11 17:03:30 +00:00
Jim Meyering 2c2ab4fe77 *** empty log message *** 2005-01-11 17:02:57 +00:00
Jim Meyering 9be231e152 (obs-ovflo): New test for overflow. 2005-01-11 17:01:35 +00:00
Jim Meyering c8756077c3 (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'.
2005-01-11 16:54:02 +00:00
Jim Meyering c2fed1cc19 (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'.
2005-01-11 16:53:24 +00:00
Jim Meyering 1377220ccf (add_tab_stop): Properly diagnose a tabstop list with decreasing values. 2005-01-11 16:52:47 +00:00
Jim Meyering 0814364bbe *** empty log message *** 2005-01-11 16:51:08 +00:00
Jim Meyering 7b6aa4dea7 (all_programs): Account for $(EXEEXT). 2005-01-11 16:51:03 +00:00
Jim Meyering d2360a394b (check-README, check-AUTHORS): Account for $(EXEEXT). 2005-01-11 16:50:27 +00:00
Paul Eggert ff67f295e4 Update copyright date. 2005-01-10 18:12:35 +00:00
Paul Eggert f0f5a2708a Update copyright date. 2005-01-10 18:11:57 +00:00
Paul Eggert 97409a37e8 Respond to POSIX interpretations about pathchk -p dated 2005-01-06. 2005-01-10 18:09:43 +00:00
Paul Eggert c1b404410d Add tests for empty file names and pathchk -P. 2005-01-10 18:09:22 +00:00
Paul Eggert b4e248dea9 (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.
2005-01-10 18:09:02 +00:00
Paul Eggert 23c6e3110e Document changes responding to POSIX interpretations about pathchk -p
dated 2005-01-06.
2005-01-10 18:08:12 +00:00