Commit Graph

22114 Commits

Author SHA1 Message Date
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
Jim Meyering
e928445598 *** empty log message *** 2005-10-24 13:36:03 +00:00
Jim Meyering
e8871a9516 (make_dir_parents): Like the code above it, don't rely
on mkdir failing with a particular errno value (EEXIST).
Based on a patch by Dmitry V. Levin.
2005-10-24 13:35:59 +00:00
Jim Meyering
30bf08a3da rename array_cardinality to array_len 2005-10-24 10:39:46 +00:00
Jim Meyering
d038ef379e *** empty log message *** 2005-10-24 10:22:19 +00:00
Jim Meyering
b8cedd257a (make_dir_parents): Make the preceding fix a little
more robust, e.g., when the final component is created as a non-
directory by another process just before `mkdir -p's final mkdir.
2005-10-24 10:22:10 +00:00
Jim Meyering
946e7dc930 *** empty log message *** 2005-10-24 10:03:51 +00:00
Jim Meyering
5b427ce7c3 A command like `mkdir -p nonexistent/.' would create the
directory but exit nonzero with a diagnostic.  This could also be
triggered with a non-`.' component, e.g., in a race with another
process running the same `mkdir -p nonexistent/sub' command.

(make_dir_parents): Handle the case of an existing final component.
Reported by Matthias Andree here:
http://savannah.gnu.org/bugs/?func=detailitem&item_id=14848
2005-10-24 10:03:47 +00:00
Jim Meyering
ce44b29901 *** empty log message *** 2005-10-24 09:55:13 +00:00
Jim Meyering
295bdba02c (ls_codes): Add missing comma.
Anonymous report and patch from
http://savannah.gnu.org/bugs/?func=detailitem&item_id=14849
2005-10-24 09:55:00 +00:00
Jim Meyering
b648b4af3d Add a compile-time assertion that the slack_codes
and ls_codes arrays have the same number of elements.  This would
have prevented the above-fixed bug.
2005-10-24 09:43:01 +00:00
Jim Meyering
4005639856 *** empty log message *** 2005-10-24 09:01:15 +00:00
Jim Meyering
91c0fe6767 (Makefile): Remove stray po-directories argument. 2005-10-24 09:01:02 +00:00
Jim Meyering
bc8ada5325 *** empty log message *** 2005-10-24 08:17:00 +00:00
Jim Meyering
5c0879b3ca Update from gettext cvs (0.15). 2005-10-24 08:13:39 +00:00
Jim Meyering
84aca29abf *** empty log message *** 2005-10-24 07:28:57 +00:00
Jim Meyering
57d5938b17 * src/expand.c (parse_tab_stops): Add comment to make this function
identical to the one in unexpand.c.

* src/unexpand.c (parse_tab_stops): Adjust syntax to make this function
identical to the one in expand.c.
2005-10-24 07:28:39 +00:00
Jim Meyering
48e6b74278 *** empty log message *** 2005-10-24 07:18:25 +00:00
Jim Meyering
315b42ce8e (next_file): Don't assume fopen cannot return stdin. 2005-10-24 07:18:18 +00:00
Jim Meyering
d0889c6d10 . 2005-10-23 20:48:56 +00:00
Jim Meyering
d3a1d47934 *** empty log message *** 2005-10-23 16:05:32 +00:00
Jim Meyering
aa2165429c Document SHA-1 and SHA-2 utlities. 2005-10-23 16:05:26 +00:00