summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2006-02-21(usage): Mention `sort -k 1b,1'.Paul Eggert
2006-02-20.Jim Meyering
2006-02-20(INTERACTIVE_OPTION): New enum value.Jim Meyering
(interactive_type): New enum. (long_opts): Let interactive take an optional argument. (interactive_args, interactive_types): New option arguments. (usage): Document -I, --interactive=WHEN. Use program_name instead of a basename. (main): New -I option, new behavior to --interactive. [From Eric Blake]
2006-02-18(usage): Use two spaces (not one) to separate theJim Meyering
--first-only option string from its description, so help2man formats the derived man page properly.
2006-02-18(usage): Use two spaces (not one) to separate theJim Meyering
--first-only option string from its description, so help2man formats the derived man page properly.
2006-02-18(usage): Use two spaces (not one) to separate theJim Meyering
--first-only option string from its description, so help2man formats the derived man page properly.
2006-02-16.Jim Meyering
2006-02-12fix typo in commentJim Meyering
2006-02-11.Jim Meyering
2006-02-11*** empty log message ***Jim Meyering
2006-02-11.Jim Meyering
2006-02-11(EXTRA_DIST): Add c99-to-c98.diff.Jim Meyering
2006-02-11rm -r must remove an empty directory, even if it is inaccessible.Jim Meyering
(close_preserve_errno): New function. (fd_to_subdirp): Don't print a diagnostic in this function. Do it from the callers instead, unless rmdir succeeds. (remove_cwd_entries, remove_dir): Adjust callers.
2006-02-07(!defined O_DIRECT): If O_DIRECTIO is defined (as it is on Tru64),Jim Meyering
define O_DIRECT to that. Patch From James Lemley.
2006-02-06.Jim Meyering
2006-02-06(usage): Use two spaces (not one) to separate the --no-preserve-root optionJim Meyering
string from its description, so help2man formats the derived man page properly.
2006-02-06(usage): Use two spaces (not one) to separate theJim Meyering
--first-only option string from its description, so help2man formats the derived man page properly.
2006-02-06(usage): Use two spaces (not one) to separate theJim Meyering
option string from its description, so help2man formats the derived man page properly. Patch from Nicolas François in http://bugs.debian.org/351601.
2006-02-04(copy_internal): cp -RL no longer fails when encounteringJim Meyering
the same directory more than once in the hierarchy beneath a single command-line argument. That is legitimate, e.g. when there are two or more symbolic links, each pointing to some directory that would not otherwise be copied. Reported by Christophe LYON.
2006-02-02(usage): Mention that -t a ignores high order bit.Paul Eggert
2006-02-01(find_dir_entry): Remove unused local, `ent_sb_valid'.Jim Meyering
2006-01-31(parse_options): Use a better diagnostic when someone uses a trailingPaul Eggert
numeric option in an invalid way.
2006-01-31(main): Use a better diagnostic when someone uses aPaul Eggert
trailing numeric option in an invalid way.
2006-01-24(show_dev): If the file system claims to have more available than totalPaul Eggert
blocks, report the number of used blocks as being total - available (a negative number) rather than as garbage.
2006-01-24(tail_forever): Don't exit-nonzero when an attemptJim Meyering
to put a regular file in O_NONBLOCK mode fails with EPERM. That happens on Linux when using tail -f on a file with the append-only attribute. Reported by Dean Gaudet. For details, see http://savannah.gnu.org/bugs/?func=detailitem&item_id=15473.
2006-01-22.Jim Meyering
2006-01-17.Jim Meyering
2006-01-17Include "openat.h".Jim Meyering
Don't include "lchown.h". (restricted_chown): Accept a new parameter, CWD_FD, and use it in calling openat, lchownat, chownat, rather than open, lchown, chown. Update caller.
2006-01-17Now that fts no longer changes the current working directory, adjustJim Meyering
its clients accordingly -- note that du.c uses fts but doesn't need any adjustment, since it doesn't operate on the actual files, but rather just uses the stat buffers provided by fts. Include "openat.h". (process_file): Use chmodat (fts->fts_cwd_fd,... in place of chmod (...
2006-01-12.Jim Meyering
2006-01-11(test_syntax_error): Append a newline. All callersPaul Eggert
changed, except for the ones that didn't already append a newline.
2006-01-11(X2NREALLOC): Now that verify_true is no longer void,Jim Meyering
cast its result to void, to avoid gcc's warning that ``left-hand operand of comma expression has no effect''. (DECIMAL_DIGIT_ACCUMULATE, X2REALLOC): Likewise.
2006-01-10Sync from gnulib.Paul Eggert
2006-01-10(gobble_file): Use DTTOIF only if it's defined.Jim Meyering
This is necessary for Dragonfly. Patch by Joerg Sonnenberger.
2006-01-08(usage): Adjust the formatting of the entries forJim Meyering
%::z and %:::z (separate with two spaces, not one) so that help2man formats them properly. Reported by Philip Rowlands.
2006-01-06(rm_1): Remove `static' attribute on local `status'.Jim Meyering
First off, the attribute should have been `volatile' (not static) to avoid longjmp-related risk of clobber. Secondly, now there is no longer any risk of a local variable being clobbered, so there's no need for any attribute at all.
2006-01-05Give a few functions the inline attribute.Jim Meyering
(AD_pop_and_chdir): Use gotos to avoid some duplication. (AD_push): Rewrite an assertion so that the entire computation goes away when assertions are turned off.
2006-01-05(ENOSYS) [!defined ENOSYS]: Don't define here.Jim Meyering
It's already defined in "system.h".
2006-01-04.Jim Meyering
2006-01-03(O_DIRECTORY) [!defined O_DIRECTORY]: Define.Jim Meyering
2006-01-03(RC_do_ordinary_chown): New enum value.Paul Eggert
(restricted_chown): Return it, if the file cannot be accessed due to EPERM, or if no uid or gid are required, or if the file is neither a directory nor a regular file. Rewrite to avoid gotos. (change_file_owner): Handle RC_do_ordinary_chown case. Rewrite to avoid gotos.
2006-01-03(usage): Explain %g, %G, and %V a bit better.Paul Eggert
2006-01-02(set_owner): Correct a comment.Jim Meyering
2006-01-02(parse_options): Change warning to say that --retryJim Meyering
is useful `mainly' (not `only') when following by name. Reported here: http://bugs.debian.org/273781
2006-01-02(usage): Clarify -m's operation.Paul Eggert
(main): If -m is given, don't invoke chmod; use umask 0 instead. Report an error if -m asks for bits outside the 777 range. Undo 2005-12-19 changes.
2006-01-02Update copyright year.Paul Eggert
2006-01-02(usage): Clarify -m's operation.Paul Eggert
(main): If -m is given, don't invoke chmod; use umask 0 instead. Report an error if -m asks for bits outside the 777 range.
2006-01-02Include lchmod.h.Paul Eggert
(usage): Clarify -m's operation. (main): Use lchmod rather than chmod. Don't use lchmod unless the new mode contains bits outside the 777 range.
2006-01-02Include lchmod.h.Paul Eggert
(re_protect, make_dir_parents_private): Use lchmod rather than chmod.
2006-01-02Include lchmod.h.Paul Eggert
(copy_internal): Use lchmod rather than chmod.