Commit Graph
19237 Commits
Author SHA1 Message Date
Paul Eggert d3771df301 (TESTS): Add separator. 2004-08-19 20:04:02 +00:00
Paul Eggert a078203b6d Test "chgrp '' file". 2004-08-19 20:03:48 +00:00
Paul Eggert 958ae74efa (usage): "chown '' file" is now allowed.
(main): Do not set user name to the empty string if the group
name is null.
2004-08-19 20:03:26 +00:00
Paul Eggert 67d2281544 (describe_change): Describe changes to -1:-1
without using "to OWNERSHIP" phrase.
2004-08-19 20:03:11 +00:00
Paul Eggert bbc2ac99c1 (parse_group): Return gid_t rather than storing it
through a pointer.  Treat "chgrp '' file" as a no-op change,
as FreeBSD does.
(main): Set chopt.group_name to NULL if the group is the empty
string.
2004-08-19 20:02:46 +00:00
Paul Eggert c25bd1c9ce "chown : file", "chown '' file", and "chgrp '' file" now
succeed without changing the uid and gid, like FreeBSD.
2004-08-19 20:02:07 +00:00
Paul Eggert 6bf086b820 Add fts.h, search.h. 2004-08-18 20:48:50 +00:00
Paul Eggert c670e3826e Add .kludge-stamp. 2004-08-18 20:48:35 +00:00
Paul Eggert fd7061b1ad * coreutils.texi (printf invocation): Clarify "printf". 2004-08-18 20:22:58 +00:00
Paul Eggert 9e4d09fe33 (printf invocation): Clarify how "printf" is
supposed to work with extra arguments, missing arguments, etc.
2004-08-18 20:22:32 +00:00
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