summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-08-24POSIX-conformance fixes for "expand" and "unexpand".Paul Eggert
2004-08-20Sync from gnulib.Paul Eggert
2004-08-20Regenerate.Paul Eggert
2004-08-20Sync getopt from gnulib.Paul Eggert
2004-08-20Add getopt_.h, getopt_int.h.Paul Eggert
2004-08-19Add support for "chown : file" and the like.Paul Eggert
Also, fix a regression and some memory leaks.
2004-08-19Regenerate.Paul Eggert
2004-08-19(chown invocation): Fix synopsis:Paul Eggert
group must always be preceded by separator. "chown : file" and "chown '' file" don't change the owner or group. Update the explanation of what happens to the set-user-ID or set-group-ID bits, e.g., they sometimes are not cleared if they denote mandatory locking. Change "find"-oriented examples to use chown -h.
2004-08-19Don't use <alloca.h>, so that we don't use alloca onPaul Eggert
strings on unbounded length. alloca's performance benefits aren't that important here. (V_STRDUP): Remove. (parse_with_separator): New function, with most of the internals of the old parse_user_spec. Allow user to omit both user and group, for compatibility with FreeBSD. Clone only the user name, not the entire spec. Do not set *uid, *gid unless entirely successful. Avoid memory leak in some failing cases. Fix regression for USER.GROUP reported by Dmitry V. Levin in <http://lists.gnu.org/archive/html/bug-coreutils/2004-08/msg00102.html> (parse_user_spec): Rewrite to use parse_with_separator.
2004-08-19New file, partly taken fromPaul Eggert
Dmitry V. Levin's suggestion in <http://lists.gnu.org/archive/html/bug-coreutils/2004-08/msg00102.html>
2004-08-19(TESTS): Add separator.Paul Eggert
2004-08-19Test "chgrp '' file".Paul Eggert
2004-08-19(usage): "chown '' file" is now allowed.Paul Eggert
(main): Do not set user name to the empty string if the group name is null.
2004-08-19(describe_change): Describe changes to -1:-1Paul Eggert
without using "to OWNERSHIP" phrase.
2004-08-19(parse_group): Return gid_t rather than storing itPaul Eggert
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"chown : file", "chown '' file", and "chgrp '' file" nowPaul Eggert
succeed without changing the uid and gid, like FreeBSD.
2004-08-18Add fts.h, search.h.Paul Eggert
2004-08-18Add .kludge-stamp.Paul Eggert
2004-08-18* coreutils.texi (printf invocation): Clarify "printf".Paul Eggert
2004-08-18(printf invocation): Clarify how "printf" isPaul Eggert
supposed to work with extra arguments, missing arguments, etc.
2004-08-11Regenerate.Paul Eggert
2004-08-11Further fix for -d regression.Paul Eggert
2004-08-11Fix typo: missing ).Paul Eggert
2004-08-11obstack fixesPaul Eggert
2004-08-11minor porting fixes (e.g., obstack)Paul Eggert
2004-08-11(gl_PREREQ_OBSTACK): RequirePaul Eggert
gl_AC_HEADER_INTTYPES_H, gl_AC_HEADER_STDINT_H, gl_AC_TYPE_UINTMAX_T.
2004-08-11Do not include error.h. (merge from gnulib).Paul Eggert
2004-08-11Include <inttypes.h> and <stdint.h> if available.Paul Eggert
(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(settime): Recode to avoid warning with Sun Forte C 6U2.Paul Eggert
2004-08-11(O_DIRECTORY): Define to 0 if the system doesn't define.Paul Eggert
2004-08-11Test for the -d regression.Paul Eggert
2004-08-11Test for the -d regression.Paul Eggert
2004-08-11* src/install.c (main): Fix -d regressionPaul Eggert
2004-08-11(main): Fix -d regression introduced withPaul Eggert
--target-directory support at 2004-06-25.
2004-08-11Fix porting problem to Reliant Unix.Paul Eggert
2004-08-11(WIDE_CHAR_SUPPORT): Don't set to 1 if missingPaul Eggert
wmemchr or wmemcpy. Problem reported by Robert Dahlem for Reliant Unix 5.43.
2004-08-11(_AC_LIBOBJ_FNMATCH): Check for wmemchr and wmemcpy.Paul Eggert
2004-08-11(copy_internal): When preserving links, unlinkPaul Eggert
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-11Fix cp -a confusion bug.Paul Eggert
2004-08-10Convert to UTF-8.Paul Eggert
2004-08-10Convert to UTF-8.Paul Eggert
2004-08-10Fix typo in previous log entry.Paul Eggert
2004-08-10(usage, tee): "tee -" writes to standard output, notPaul Eggert
to a file named "-".
2004-08-10(die, xfopen, mergefps, first_same_file, merge):Paul Eggert
A null file arg means standard output. (main): "-o -" means to write to a file named "-", not to standard output.
2004-08-10(usage): "-" is an operand, not an option.Paul Eggert
2004-08-10(Common options): Clarify that "-" meansPaul Eggert
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-10POSIX-conformance fixes for "-" used as an operand.Paul Eggert
2004-08-10"sort -o -", "shred -", "tee -" POSIX-conformance fixes.Paul Eggert
2004-08-10Document "sort -o -" and "tee -" POSIX-conformance fixes.Paul Eggert
2004-08-10Fix install.c int->bool conversion bug.Paul Eggert