diff options
author | Jim Meyering <jim@meyering.net> | 2004-05-29 22:06:25 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-05-29 22:06:25 +0000 |
commit | 56d5c6f7cadcd5f0088d8b563434948d0b2a898c (patch) | |
tree | d615d6ff9c5cee251f728c9b0bc328001a1906ad | |
parent | 8f7ac733b9c295ee38b4935a7cf9730f39af0fc8 (diff) | |
download | coreutils-56d5c6f7cadcd5f0088d8b563434948d0b2a898c.tar.xz |
(rm_option_init): Initialize new member, x->require_restore_cwd.
-rw-r--r-- | src/mv.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -106,6 +106,12 @@ rm_option_init (struct rm_options *x) x->stdin_tty = 0; x->verbose = 0; + + /* Since this program may well have to process additional command + line arguments after any call to `rm', that function must preserve + the initial working directory, in case one of those is a + `.'-relative name. */ + x->require_restore_cwd = true; } static void |