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 /src/mv.c | |
| parent | (struct rm_options) [require_restore_cwd]: New member. (diff) | |
| download | coreutils-56d5c6f7cadcd5f0088d8b563434948d0b2a898c.tar.gz coreutils-56d5c6f7cadcd5f0088d8b563434948d0b2a898c.zip | |
(rm_option_init): Initialize new member, x->require_restore_cwd.
Diffstat (limited to 'src/mv.c')
| -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 |
