diff options
| author | Jim Meyering <jim@meyering.net> | 2004-05-29 22:05:26 +0000 |
|---|---|---|
| committer | Jim Meyering <jim@meyering.net> | 2004-05-29 22:05:26 +0000 |
| commit | 8f7ac733b9c295ee38b4935a7cf9730f39af0fc8 (patch) | |
| tree | 13e097fb06141fbe6a6ea9113662e539b283d474 /src/remove.h | |
| parent | *** empty log message *** (diff) | |
| download | coreutils-8f7ac733b9c295ee38b4935a7cf9730f39af0fc8.tar.gz coreutils-8f7ac733b9c295ee38b4935a7cf9730f39af0fc8.zip | |
(struct rm_options) [require_restore_cwd]: New member.
Diffstat (limited to 'src/remove.h')
| -rw-r--r-- | src/remove.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/remove.h b/src/remove.h index e4b7aad7e..f067fd9d3 100644 --- a/src/remove.h +++ b/src/remove.h @@ -28,6 +28,14 @@ struct rm_options /* If nonzero, display the name of each file removed. */ int verbose; + + /* If true, treat the failure by the rm function to restore the + current working directory as a fatal error. I.e., if this field + is true and the rm function cannot restore cwd, it must exit with + a nonzero status. Some applications require that the rm function + restore cwd (e.g., mv) and some others do not (e.g., rm, + in many cases). */ + bool require_restore_cwd; }; enum RM_status |
