Commit Graph

19227 Commits

Author SHA1 Message Date
Paul Eggert
8c3f76651a Regenerate. 2004-08-11 23:47:29 +00:00
Paul Eggert
f469551274 Further fix for -d regression. 2004-08-11 23:41:44 +00:00
Paul Eggert
312acd2aad Fix typo: missing ). 2004-08-11 22:30:23 +00:00
Paul Eggert
590ffb802b obstack fixes 2004-08-11 22:26:23 +00:00
Paul Eggert
22a64d7a4b minor porting fixes (e.g., obstack) 2004-08-11 22:26:17 +00:00
Paul Eggert
9ad72cac9d (gl_PREREQ_OBSTACK): Require
gl_AC_HEADER_INTTYPES_H, gl_AC_HEADER_STDINT_H, gl_AC_TYPE_UINTMAX_T.
2004-08-11 22:24:57 +00:00
Paul Eggert
9af4ab33f0 Do not include error.h. (merge from gnulib). 2004-08-11 22:24:25 +00:00
Paul Eggert
fdb9542df7 Include <inttypes.h> and <stdint.h> if available.
(union fooround): Use uintmax_t, not long int.
The rest is a merge from libc:
[defined _LIBC]: Include <shlib-compat.h>.
(_obstack) [defined _LIBC]: Remove after 2.3.4.
2004-08-11 22:24:14 +00:00
Paul Eggert
254e577b86 (settime): Recode to avoid warning with Sun Forte C 6U2. 2004-08-11 22:24:04 +00:00
Paul Eggert
c1dac962eb (O_DIRECTORY): Define to 0 if the system doesn't define. 2004-08-11 22:23:54 +00:00
Paul Eggert
16b995fdd8 Test for the -d regression. 2004-08-11 21:52:17 +00:00
Paul Eggert
f6559775e6 Test for the -d regression. 2004-08-11 21:51:57 +00:00
Paul Eggert
ed5f2129c1 * src/install.c (main): Fix -d regression 2004-08-11 21:44:49 +00:00
Paul Eggert
b2c632e20c (main): Fix -d regression introduced with
--target-directory support at 2004-06-25.
2004-08-11 21:44:36 +00:00
Paul Eggert
0518fd8571 Fix porting problem to Reliant Unix. 2004-08-11 17:53:50 +00:00
Paul Eggert
f4364ab87c (WIDE_CHAR_SUPPORT): Don't set to 1 if missing
wmemchr or wmemcpy.  Problem reported by Robert Dahlem
for Reliant Unix 5.43.
2004-08-11 17:53:34 +00:00
Paul Eggert
9bcc09b5b7 (_AC_LIBOBJ_FNMATCH): Check for wmemchr and wmemcpy. 2004-08-11 17:53:16 +00:00
Paul Eggert
367719ba5f (copy_internal): When preserving links, unlink
a destination with link count greater than one.  This is so
that commands like "cp -a" don't get confused when copying into
a destination that already contains many hard links.
2004-08-11 17:19:25 +00:00
Paul Eggert
eb1d2a52dd Fix cp -a confusion bug. 2004-08-11 17:19:07 +00:00
Paul Eggert
34e29318a5 Convert to UTF-8. 2004-08-10 22:50:58 +00:00
Paul Eggert
faca6bfc15 Convert to UTF-8. 2004-08-10 22:47:08 +00:00
Paul Eggert
c5ff0b216e Fix typo in previous log entry. 2004-08-10 22:09:11 +00:00
Paul Eggert
8dafbe5806 (usage, tee): "tee -" writes to standard output, not
to a file named "-".
2004-08-10 22:08:58 +00:00
Paul Eggert
7b99d60f08 (die, xfopen, mergefps, first_same_file, merge):
A null file arg means standard output.
(main): "-o -" means to write to a file named "-",
not to standard output.
2004-08-10 22:08:09 +00:00
Paul Eggert
3847c07f66 (usage): "-" is an operand, not an option. 2004-08-10 22:07:52 +00:00
Paul Eggert
4eafd1b11f (Common options): Clarify that "-" means
stdin/stdout only when it is an operand, not when it is an
option-argument.
(shred invocation): "shred -- -" is equivalent to "shred -",
not to "shred ./-".
(tee invocation): "tee -" means to copy (again) to stdout.
2004-08-10 22:07:31 +00:00
Paul Eggert
6e48f7ed86 POSIX-conformance fixes for "-" used as an operand. 2004-08-10 22:06:52 +00:00
Paul Eggert
1ccc1a1b4b "sort -o -", "shred -", "tee -" POSIX-conformance fixes. 2004-08-10 22:06:28 +00:00
Paul Eggert
754ebf7885 Document "sort -o -" and "tee -" POSIX-conformance fixes. 2004-08-10 22:05:47 +00:00
Paul Eggert
ac4b4fe418 Fix install.c int->bool conversion bug. 2004-08-10 20:32:32 +00:00
Paul Eggert
811c61b049 (change_timestamps): Fix int->bool conversion
bugs introduced on 2004-07-29.
2004-08-10 20:32:19 +00:00
Paul Eggert
145d804068 Regenerate. 2004-08-10 06:54:15 +00:00
Paul Eggert
1b26801391 Sync with gnulib. 2004-08-10 05:43:11 +00:00
Paul Eggert
557ed575e8 readlink.c cleanup 2004-08-09 23:40:58 +00:00
Paul Eggert
290ba4ab1d (canonicalize_fname): Remove unneeded proxy function.
(can_mode): Make variable local.
2004-08-09 23:40:49 +00:00
Paul Eggert
f305d3a224 Improve code to work in some cases when files are writeable but not readable. 2004-08-09 23:35:15 +00:00
Paul Eggert
1def589bea (wipename): Work even if the directory is writeable
and not readable.  Prefer write access, since this should work
better with fdatasync.
2004-08-09 23:34:49 +00:00
Paul Eggert
e077b28593 (diropen): New function.
(fts_open, fts_read, fts_children, fts_safe_changedir):
Use it, so that the code works even if the directory
is writeable but not readable.
2004-08-09 23:34:15 +00:00
Paul Eggert
1ff6d6ea07 (rpl_chown): Work even if the file is writeable but not readable. 2004-08-09 23:33:53 +00:00
Paul Eggert
3038f02225 Switch to UTF-8. 2004-08-09 23:27:55 +00:00
Paul Eggert
6d8737eba8 Change to UTF-8. 2004-08-09 23:26:57 +00:00
Paul Eggert
b05866ea03 Import from gnulib. 2004-08-09 23:26:08 +00:00
Paul Eggert
5d204d4e2f Regenerate. 2004-08-09 18:51:05 +00:00
Paul Eggert
884a7c36eb (xalloc_die): New function.
(main): Remove now-obsolete initialization of xalloc_fail_func.
2004-08-09 18:45:10 +00:00
Paul Eggert
8ad3011df3 Remove dependency of xalloc on error, etc. 2004-08-09 18:44:46 +00:00
Paul Eggert
e5f309aaf3 Adjust to sha->sha1 renaming. 2004-08-09 18:18:41 +00:00
Paul Eggert
4573c9e81c Finish renaming sha -> sha1. 2004-08-09 18:16:21 +00:00
Paul Eggert
81b4c13eb5 (O_BINARY) [!O_BINARY && defined O_BINARY]:
Do not define, to avoid annoying compiler messages on QNX 6.3.
2004-08-08 03:04:21 +00:00
Paul Eggert
a5b9e9d440 (O_BINARY) [!O_BINARY && defined O_BINARY]:
Do not define, to avoid annoying compiler messages on QNX 6.3.
2004-08-08 03:04:00 +00:00
Paul Eggert
a86c457f64 Merge from gnulib. 2004-08-07 07:16:54 +00:00