* src/remove.c (remove_dir): If we can't save the state of the
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 28 Jul 2004 14:50:25 +0000 (14:50 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 28 Jul 2004 14:50:25 +0000 (14:50 +0000)
working directory, pretend we started from "/", not ".".

ChangeLog

index ed459604d8d94f007a5ce98813b53f9eb2097698..94fe8c5dfa25ab4b9ba8598d8a875632c137dd92 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2004-07-28  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * src/remove.c (remove_dir): If we can't save the state of the
+       working directory, pretend we started from "/", not ".".
+       This avoids a bug on hosts like Solaris that don't let you
+       remove the working directory.
+
 2004-07-27  Paul Eggert  <eggert@cs.ucla.edu>
 
        * src/printf.c (strtiomax, strtoumax): Declare if not already