Commit Graph
22135 Commits
Author SHA1 Message Date
Jim Meyering a49c7ccfe1 (sk-seek4): New test, to exercise the bug
fixed on 2005-10-31.  This test uses the new, IN_PIPE specifier.
2005-11-02 20:36:36 +00:00
Jim Meyering 83743fc715 Accept a new type of input specifier: IN_PIPE,
to indicate that the input file should be piped into the command
under test (via `cat FILE | $prog ...').
2005-11-02 20:35:52 +00:00
Jim Meyering e0b652c488 . 2005-11-02 10:04:14 +00:00
Jim Meyering f626cd65cc *** empty log message *** 2005-11-02 09:58:43 +00:00
Jim Meyering 588df316d9 (remove_entry): Emit a better diagnostic when rm
(without -r) fails to remove a directory on a non-Linux system.
This change affects only newer Solaris systems (with priv_*
functions like priv_allocset).  Reported by Keith Thompson.
2005-11-02 09:47:39 +00:00
Jim Meyering 4db5b5cf11 test for today's fix 2005-11-02 09:38:38 +00:00
Jim Meyering 4df4047d35 (TESTS): Add dir-nonrecur. 2005-11-02 09:38:16 +00:00
Paul Eggert 4b15886f93 "touch 0101000000" now operates as POSIX 1002.1-2001 requires. 2005-11-01 23:43:38 +00:00
Paul Eggert 473a0d6209 Add y2000 test. 2005-11-01 23:42:57 +00:00
Paul Eggert a2bacbdc9c (main): Pass PDS_PRE_2000 to posixtime. 2005-11-01 23:42:36 +00:00
Paul Eggert 71fa8dc28e (PDS_PRE_2000): New macro. 2005-11-01 23:42:16 +00:00
Paul Eggert 1a0a832ac8 (year): Arg is now syntax_bits rather than allow_century.
All usages changed.  Reject dates outside the range 1969-1999 if
PDS_PRE_2000 is used.
2005-11-01 23:41:56 +00:00
Paul Eggert d6fa12c0f9 (touch invocation): The old usage works only for 1969-1999 now. 2005-11-01 23:41:33 +00:00
Paul Eggert fd449d30a8 "touch 0101000000" now operates as POSIX 1003.1-2001 requires. 2005-11-01 23:41:13 +00:00
Paul Eggert 0287c32733 "tail -c 2 FILE" now operates as POSIX 1003.1-2001 requires. 2005-11-01 23:06:32 +00:00
Paul Eggert 407fb46c87 (c-2, c-2-minus, c2, c2-minus): New tests.
(test_vector): Add special cases for _POSIX2_VERSION, and
regularize the old ones a bit.
2005-11-01 23:05:52 +00:00
Paul Eggert 99f09784cc (parse_obsolete_option): Implement fix for "tail -c 2 FILE". 2005-11-01 23:05:29 +00:00
Paul Eggert 4fb9c70faf (tail invocation): Describe obsolete usages
like "tail -2" more precisely.
2005-11-01 23:05:00 +00:00
Paul Eggert 18eb295ec4 tail -c 2 FILE now operates as POSIX 1002.1-2001 requires. 2005-11-01 23:04:37 +00:00
Paul Eggert a53513f142 * src/dd.c (skip): Fix off-by-one error. 2005-10-31 08:39:36 +00:00
Paul Eggert 91f8e15bff (skip): Fix off-by-one error reported by Theodoros V. Kalamatianos. 2005-10-31 08:39:14 +00:00
Paul Eggert 15d4c70e08 Trivial changes to support SCO systems. 2005-10-30 23:05:16 +00:00
Paul Eggert a504db1780 (gl_FUNC_CHDIR_LONG): Check for MAXPATHLEN as well as PATH_MAX.
Revamp wording and local variables to suggest the intended function of
the PATH_MAX check.
2005-10-30 23:04:55 +00:00
Paul Eggert 3103c9009b (gl_FUNC_FPENDING): Correct check for SCO systems,
where __ptr is null when no I/O is pending.
2005-10-30 23:04:17 +00:00
Paul Eggert a54170c2a0 Fix porting problems reported by Theodoros V. Kalamatianos. 2005-10-30 21:46:00 +00:00
Paul Eggert 9b700d84f7 * tests/mkdir/p-3: Require that the test be run as non-root. 2005-10-30 21:45:45 +00:00
Paul Eggert d9b19cac60 Require that the test be run as non-root. 2005-10-30 21:44:53 +00:00
Paul Eggert 9c9083d9a7 [defined HAVE_CONFIG_H]: Include <config.h>, so that large files can be opened. 2005-10-30 21:44:31 +00:00
Paul Eggert 9fb982e150 (futimens) [HAVE_WORKING_UTIMES && HAVE_FUTIMES]:
Don't assume that futimes failing means we must fail.
2005-10-30 21:32:02 +00:00
Paul Eggert b90c07efd8 (__getcwd): Don't assume that system calls after readdir
leave errno alone.  Problem reported by Dmitry V. Levin.
2005-10-30 01:31:32 +00:00
Paul Eggert 5648577df0 (savedir): Don't assume that xrealloc etc. leave errno alone. 2005-10-28 23:06:42 +00:00
Paul Eggert cada888edd src/ln.c (FILE_BASENAME_CONCAT): Omit unnecessary slashes in the
boundary between DEST and SOURCE in the result.
2005-10-28 22:17:27 +00:00
Paul Eggert 50a6da201b (FILE_BASENAME_CONCAT): Omit unnecessary slashes in the
boundary between DEST and SOURCE in the result.
2005-10-28 22:17:00 +00:00
Jim Meyering f6d480b0a7 *** empty log message *** 2005-10-27 19:44:45 +00:00
Jim Meyering cc7c372176 *** empty log message *** 2005-10-27 16:27:15 +00:00
Jim Meyering 84131ca42b (main) [!O_BINARY]: Changed default read mode
back to text, to sync with documentation and for backwards compatibility.
2005-10-27 16:27:04 +00:00
Jim Meyering 9793cca908 Add these: sha224sum sha256sum sha384sum sha512sum 2005-10-26 21:46:24 +00:00
Jim Meyering 1828ebcc26 *** empty log message *** 2005-10-25 13:50:30 +00:00
Jim Meyering c30dcb08eb . 2005-10-25 13:47:38 +00:00
Jim Meyering 55b84cf932 *** empty log message *** 2005-10-25 12:03:56 +00:00
Jim Meyering 47af602add *** empty log message *** 2005-10-25 12:00:55 +00:00
Jim Meyering 7a3af1eb39 (other-wr): Add an explicit test for
the dircolors bug (NULL-dereference) fixed yesterday.
2005-10-25 12:00:51 +00:00
Jim Meyering 91795f6fa2 (tac_file): When determining whether a file is seekable,
also test whether it is a tty.  Using only the lseek-based test would
give a false positive on Solaris.  Reported by Peter Fales.
2005-10-24 16:07:36 +00:00
Jim Meyering b9165cb373 *** empty log message *** 2005-10-24 16:07:28 +00:00
Jim Meyering 8578313a4a . 2005-10-24 13:44:58 +00:00
Jim Meyering 0938dcec7b *** empty log message *** 2005-10-24 13:42:28 +00:00
Jim Meyering 075b283689 (TESTS): Add p-slashdot. 2005-10-24 13:42:21 +00:00
Jim Meyering e082e26ce0 New test, for "mkdir -p" failure. 2005-10-24 13:42:02 +00:00
Jim Meyering f169968735 (TESTS): Add d-slashdot. 2005-10-24 13:41:41 +00:00
Jim Meyering 465b852e3b New test, for "install -d" failure. 2005-10-24 13:41:17 +00:00