| 213 | } |
| 214 | |
| 215 | static void |
| 216 | rm_option_init (struct rm_options *x) |
| 217 | { |
| 218 | x->ignore_missing_files = false; |
| 219 | x->interactive = RMI_SOMETIMES; |
| 220 | x->one_file_system = false; |
| 221 | x->remove_empty_directories = false; |
| 222 | x->recursive = false; |
| 223 | x->root_dev_ino = NULL; |
| 224 | x->preserve_all_root = false; |
| 225 | x->stdin_tty = isatty (STDIN_FILENO); |
| 226 | x->verbose = false; |
| 227 | |
| 228 | /* Since this program exits immediately after calling 'rm', rm need not |
| 229 | expend unnecessary effort to preserve the initial working directory. */ |
| 230 | x->require_restore_cwd = false; |
| 231 | } |
| 232 | |
| 233 | int |
| 234 | main (int argc, char **argv) |