Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-08-31 | * src/remove.c: Move true/false definitions and include from here... | Jim Meyering | |
* src/system.h: ...to here. | |||
2001-05-13 | (dir_name, dir_len): Define to different names | Jim Meyering | |
to avoid shadowing warnings due to new declarations from dirname.h. | |||
2001-05-12 | Include dirname.h, to get base_name | Jim Meyering | |
2001-02-18 | `chmod 0 file; rm file' would no longer prompt before removal. | Jim Meyering | |
(remove_file): Revert last change. | |||
2001-01-22 | (remove_file): Correct an expression to avoid making | Jim Meyering | |
an unnecessary call to euidaccess for each file. | |||
2000-12-25 | (hash_compare_active_dir_ents): Return explicit `true' | Jim Meyering | |
or `false', rather than relying on implicit int-to-enum cast. | |||
2000-08-08 | (remove_cwd_entries, rm): Invoke xalloc_die instead of printing our own message. | Jim Meyering | |
2000-07-30 | (remove_file): Quote the file names that are displayed with --verbose. | Jim Meyering | |
2000-07-30 | (remove_cwd_entries): Quote one more file name. | Jim Meyering | |
2000-07-23 | (ASSIGN_STRDUPA): Remove macro definition. | Jim Meyering | |
2000-07-15 | Convert "`%s'" in format strings to "%s", and wrap each | Jim Meyering | |
corresponding argument in a `quote (...)' call -- if there's only one. If there are more than one, then use `quote_n (0, ...), quote_n (1, ...), ...'. | |||
2000-05-20 | add format args to match new %lu directives | Jim Meyering | |
2000-05-20 | tweak warning diagnostic | Jim Meyering | |
2000-05-20 | Save device number as well as inode number for each directory. | Jim Meyering | |
(struct active_dir_ent) [st_dev]: New member. [st_ino]: Rename from `inum'. (make_active_dir_ent) [device]: New parameter. (hash_compare_active_dir_ents): Compare using SAME_INODE macro. (fspec_init_common): New function, factored out. (fspec_init_file): Initialize have_device member. (fspec_get_full_mode): Remove parameter. Update caller. Set have_device and st_dev members. | |||
2000-05-18 | (rm): Combine adjacent fputc and fprintf. | Jim Meyering | |
2000-05-18 | remove some parens from some cpp lines | Jim Meyering | |
2000-05-18 | (remove_dir): Detect (and fail upon) attempt to subvert a running `rm -r'. | Jim Meyering | |
Reported by Morten Welinder. | |||
1999-11-12 | (print_nth_dir): Write one fewer byte so we don't print a trailing slash. | Jim Meyering | |
(rm): Fix bugs in (and test, this time) the very-rarely-used code to warn about directory cycles. | |||
1999-05-13 | (pop_dir): Cast length to `int' to avoid a warning on | Jim Meyering | |
64-bit systems. From Ulrich Drepper. | |||
1999-03-31 | Don't include closeout.h or version-etc.h explicitly. Now, they're included ↵ | Jim Meyering | |
via sys2.h. | |||
1999-03-18 | (remove_cwd_entries): Reflect changes in hash_insert. | Jim Meyering | |
(remove_init): Call hash_initialize with one more argument. | |||
1999-02-16 | update copyright dates | Jim Meyering | |
1999-01-16 | Don't declare base_name. | Jim Meyering | |
1998-11-30 | (DOT_OR_DOTDOT): Move definition from this file... | Jim Meyering | |
1998-11-08 | [HAVE_LSTAT_EMPTY_STRING_BUG]: Define lstat to rpl_lstat and declare the latter. | Jim Meyering | |
1998-10-25 | (remove_cwd_entries): Don't apply CLOSEDIR to a NULL | Jim Meyering | |
pointer. (provoke with `mkdir -m 0100 x; rm -rf x') Upon CLOSEDIR failure, set `status' to RM_ERROR, not RM_OK. (remove_dir): Return `status', rather than always RM_OK. | |||
1998-09-12 | (remove_cwd_entries): Declare to be static. | Jim Meyering | |
1998-07-25 | (same_file): New function | Jim Meyering | |
(remove_dir): Use it to give a better diagnostic when rmdir fails because it can't remove the current directory. | |||
1998-07-04 | (remove_dir): Use fprintf, not error to avoid newline in prompt. | Jim Meyering | |
1998-06-29 | revert back to using lower case _unlocked wrapper names | Jim Meyering | |
1998-06-29 | Change all uses of unlocked-wrapped functions to their upper case wrapper names. | Jim Meyering | |
1998-06-27 | (remove_file): Remove `non-directory' part of | Jim Meyering | |
`removing non-directory FILE' verbose message. | |||
1998-05-16 | (hash_compare_strings): Return true or false, not 1/0. | Jim Meyering | |
(remove_cwd_entries): Use RM_OK, not equivalent literal `1'. | |||
1998-04-26 | (print_nth_dir): Remove first (and always-true) part of conjunct in assertion. | Jim Meyering | |
1998-04-14 | Use STREQ in string equality tests, not strcmp. | Jim Meyering | |
1998-04-06 | Change names/usage of hash-related functions to work with the above. | Jim Meyering | |
1998-03-28 | Add copyright. | Jim Meyering | |
[_AIX]: Add #pragma alloca. | |||
1998-03-13 | Use `virtual memory exhausted' message, not | Jim Meyering | |
`Memory exhausted' to be consistent with the majority of other such messages. Say `removing all...', not `removing any...'. | |||
1998-01-22 | New file. Contains guts of old rm.c. | Jim Meyering | |
(remove_init): New function. (remove_fini): New function. |