.
authorJim Meyering <jim@meyering.net>
Mon, 3 Nov 1997 04:52:50 +0000 (04:52 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 3 Nov 1997 04:52:50 +0000 (04:52 +0000)
old/fileutils/ChangeLog

index 1514dd7c5d5161ab6224fb33448b665c01ad58e9..720f0356c03d32cf93916c678809c40652539b61 100644 (file)
@@ -1,3 +1,20 @@
+1997-11-02  Jim Meyering  <meyering@na-net.ornl.gov>
+
+       * src/rm.c: Put cycle-detecting code inside an
+       #ifdef ENABLE_CYCLE_CHECK, for systems lacking d_ino.
+       [D_INO_IN_DIRENT]: Define ENABLE_CYCLE_CHECK.
+
+       * src/rm.c: (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-25  Jim Meyering  <meyering@na-net.ornl.gov>
 
        * configure.in (jm_FUNC_MALLOC): Use it.