(rm_option_init): Initialize new member,
authorJim Meyering <jim@meyering.net>
Sat, 29 May 2004 22:07:03 +0000 (22:07 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 29 May 2004 22:07:03 +0000 (22:07 +0000)
src/rm.c

index 0b82f73fe93dc4d1d82e95feb840fb9845fe97ba..e7db1cc2469694010a8d6fdd5c7421420d101269 100644 (file)
--- a/src/rm.c
+++ b/src/rm.c
@@ -152,6 +152,10 @@ rm_option_init (struct rm_options *x)
   x->root_dev_ino = NULL;
   x->stdin_tty = isatty (STDIN_FILENO);
   x->verbose = 0;
+
+  /* Since this program exits immediately after calling `rm', rm need not
+     expend unnecessary effort to preserve the initial working directory.  */
+  x->require_restore_cwd = false;
 }
 
 int