summaryrefslogtreecommitdiff
path: root/src/rm.c
AgeCommit message (Collapse)Author
1997-11-12[!HAVE_MEMPCPY] (mempcpy): Define here instead.Jim Meyering
1997-11-08use 2 mempcpy instead of two memcpy callsJim Meyering
1997-11-03Put cycle-detecting code inside anJim Meyering
#ifdef ENABLE_CYCLE_CHECK, for systems lacking d_ino. [D_INO_IN_DIRENT]: Define ENABLE_CYCLE_CHECK. (ASSIGN_STRDUPA): Clean up. (right_justify): Use memcpy return value directly. Suggestions from Ulrich Drepper. (remove_cwd_entries) [! defined HAVE_WORKING_READDIR]: Impose overhead of working around non-POSIX readdir implementation only on systems that need it. (remove_cwd_entries): Temporarily save a copy of each entry name in an obstack rather than on the stack via alloca, then free it in the likely event that we don't save the entry in the hash table.
1997-10-28Guard cycle-detecting code inside #ifdef ENABLE_CYCLE_CHECK.Jim Meyering
[D_INO_IN_DIRENT]: Define ENABLE_CYCLE_CHECK.
1997-10-27fix typo in commentJim Meyering
1997-10-25Remove old-style xmalloc and xrealloc decls.Jim Meyering
1997-10-23Remove stpcpy decl.Jim Meyering
Remove free, malloc, and realloc decls.
1997-10-19(remove_cwd_entries): Entries in table of processed dirJim Meyering
entries are not malloc'd, so don't have hash cleanup free them. Rewind dirp upon NULL readdir, required for at least SunOS.
1997-10-17(remove_cwd_entries): Change the while(dp...) to a while(1) loop,Jim Meyering
and move dcl and assignment of dp into the loop.
1997-10-07update bug-reporting addressJim Meyering
1997-10-03(fspec_init_dp): Use DTTOIF. Fix syntax error in codeJim Meyering
that gets compiled on BSDI3.0 systems.
1997-09-28(remove_dir): Update old comment.Jim Meyering
1997-09-28[enum RM_status]: Remove `= 2'. Add comment.Jim Meyering
(dir_stack): Describe. (remove_file): Revert s/fprintf/error/ change. We don't want newlines at end of prompt strings. (remove_dir): Likewise.
1997-09-27tweak commentJim Meyering
1997-09-21Use hash.c (chaining) functions, not those of oa-hash.cJim Meyering
(open addressing). The latter implementation is wonderful when deletions are rare, but doen't support the frequent deletions required to implement the active directory set.
1997-09-15(remove_cwd_entries): Don't free entries -- they're alloca'd, now.Jim Meyering
1997-09-15Use memcpy, not stpncpy. This fixes a UMR.Jim Meyering
1997-09-15Write implementation overview.Jim Meyering
1997-09-15remove obsolete commentJim Meyering
1997-09-15tweak commentJim Meyering
1997-09-15(full_filename): Use realloc, not xrealloc.Jim Meyering
1997-09-14s/__inline/inline/.Jim Meyering
1997-09-14(PARAMS): Define.Jim Meyering
(rm): Guard prototype in forward dcl with PARAMS.
1997-09-14merge from rm-fix branchJim Meyering
1997-05-27Use base_name, not basename.Jim Meyering
1997-02-09update copyrights for 1997Jim Meyering
1997-02-01bracket bug address with <> and append a periodJim Meyering
1997-02-01Compare getopt_long return value against -1, not EOF. Use NULL, not '(int ↵Jim Meyering
*) 0' as last parameter in getopt_long call.
1996-11-23(usage): Alphabetize option descriptions the way sort -f would.Jim Meyering
1996-11-03change bug-reporting addressJim Meyering
1996-11-02change bug-reporting addressJim Meyering
1996-10-05(main): update --version output to conform to coding standardJim Meyering
1996-10-04(main): update --version output to conform to coding standardJim Meyering
1996-08-31(usage): remove spurious trailing \n in puts.Jim Meyering
1996-08-29(usage): Tell where to report bugs.Jim Meyering
1996-04-24update Copyright years for 1996Jim Meyering
1996-03-24Update FSF's address.Jim Meyering
1996-03-21(main): Declare to be of type int, not void.Jim Meyering
1996-03-16Don't include version.h.Jim Meyering
(main): Use PACKAGE_VERSION instead of version_string.
1996-03-12(main): Initialize for internationalized message support: call setlocale,Jim Meyering
bindtextdomain, and textdomain.
1995-12-05(rm): Work around SunOS 4 bug whereby lstat doesn't failJim Meyering
when given a zero-length file name argument. Reported by Mark Calabretta <mcalabre@atnf.csiro.au>.
1995-11-29Mark all translatable strings using po-mode.el.Jim Meyering
1995-11-27s/non-zero/nonzero/gJim Meyering
1995-11-10Protect prototyped forward dcls with __P.Jim Meyering
1995-11-10Don't protoize dcl of basename.Jim Meyering
1995-11-09(struct pathstack): Move dcl to precede prototypes.Jim Meyering
1995-11-09Protoize.Jim Meyering
1995-11-03(remove_file, remove_dir): Use euidaccess instead of euidaccess_stat.Likewise.Jim Meyering
1995-10-18(duplicate_entry): Always return 0 if !D_INO_IN_DIRENT, rather thanJim Meyering
if _POSIX_SOURCE
1995-06-22(main): Include program name in --version output.Jim Meyering