summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-01-04Update copyright date.Jim Meyering
2003-01-04(TESTS): Add no-deref.Jim Meyering
2003-01-04.Jim Meyering
2003-01-04*** empty log message ***Jim Meyering
2003-01-04*** empty log message ***Jim Meyering
2003-01-04Remove use of PARAMS.Jim Meyering
2003-01-04Remove use of PARAMS.Jim Meyering
2003-01-04Remove use of PARAMS.Jim Meyering
2003-01-04*** empty log message ***Jim Meyering
2003-01-04rm could be tricked into mistakenly reporting a cycle.Jim Meyering
* src/remove.c: [cycle_check_state]: New global. (remove_cwd_entries): Adapt to new semantics of cycle_check. (rm): Call cycle_check_init and cycle_check_free for each file. When rm detects a cycle, don't abort the entire command, but rather just the affected command line argument. * src/remove.c: Include <setjmp.h> (struct dirstack_state) [current_arg_jumpbuf]: New member. (remove_cwd_entries): Call longjmp if we detect a cycle. (rm): Call setjmp here. * src/remove.c (cycle_check, is_power_of_two): Remove functions. Instead, include cycle-check.h and use it.
2003-01-04(struct dev_ino): Remove declaration.Jim Meyering
2003-01-04Don't include trailing /. in diagnostics about directories.Jim Meyering
(full_filename_): When FILENAME is just `.' and there is a nonempty directory-name part, don't append `/.'.
2003-01-04(remove_cwd_entries): Fix typos in comment.Jim Meyering
2003-01-04*** empty log message ***Jim Meyering
2003-01-04(struct dirstack_state): Define.Jim Meyering
To be used in place of these file-scoped globals ... (dir_stack, len_stack, Active_dir): Remove globals. (ds_init, ds_free): New functions. (full_filename): Define. (full_filename_): Rename from full_filename. Begin to make AD_* functions more generic. (AD_push_initial): Don't set status to RM_OK here. (AD_push): Likewise. (AD_INIT_OTHER_MEMBERS): Define. (remove_dir): Define the `status' member manually after each call to AD_push or AD_push_initial.
2003-01-04(TESTS): Add cycle.Jim Meyering
2003-01-04Remove trailing /. from diagnostic.Jim Meyering
2003-01-04Enable this test -- now that we have the --presume-input-tty option.Jim Meyering
2003-01-04rm could be tricked into mistakenly reporting a cycleJim Meyering
2003-01-04*** empty log message ***Jim Meyering
2003-01-04(check-misc): New rule, to ensure that no moreJim Meyering
S_IS* macro definitions sneak into the code. (check): Depend on check-misc.
2003-01-04[S_ISLNK, S_ISFIFO, S_ISSOCK]: Don't define.Jim Meyering
They're already defined in sys2.h.
2003-01-04remove blank lineJim Meyering
2003-01-04(count_entry) [S_ISLNK]: Don't define.Jim Meyering
It's already defined in sys2.h.
2003-01-04[S_ISLNK]: Don't define. It's already defined in sys2.h.Jim Meyering
2003-01-04.Jim Meyering
2003-01-03*** empty log message ***Jim Meyering
2003-01-03Add copyright.Jim Meyering
(AUTHORS): I suppose I've written it.
2003-01-03*** empty log message ***Jim Meyering
2003-01-03(false.c): Make the generated file be read-only.Jim Meyering
2003-01-03.Jim Meyering
2003-01-03(do_copy): Tweak diagnostic to be consistent with the oneJim Meyering
from mv: s/missing file arguments/missing file argument/. With --target-directory=DIR, cp and mv work with a single file argument. Reported by Karl Berry.
2003-01-03*** empty log message ***Jim Meyering
2003-01-03Include "dev-ino.h".Jim Meyering
[struct dev_ino]: Remove declaration.
2003-01-03*** empty log message ***Jim Meyering
2003-01-03(libfetish_a_SOURCES): Add cycle-check.c, cycle-check.h, and dev-ino.h.Jim Meyering
2003-01-03.Jim Meyering
2002-12-21*** empty log message ***Jim Meyering
2002-12-21Generate MML-formatted announcement.Jim Meyering
This makes it a *lot* harder to send stale MD5/SHA1 signatures.
2002-12-21.Jim Meyering
2002-12-21*** empty log message ***Jim Meyering
2002-12-21.Jim Meyering
2002-12-20*** empty log message ***Jim Meyering
2002-12-20(touch): Change the wording of a diagnostic soJim Meyering
that it makes sense both when the file exists and when it doesn't.
2002-12-19.Jim Meyering
2002-12-18(valid_options): Declare to be static.Jim Meyering
2002-12-16.Jim Meyering
2002-12-16.Jim Meyering
2002-12-15*** empty log message ***Jim Meyering
2002-12-15.Jim Meyering