diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-03-10 12:33:17 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-03-10 12:40:47 +0200 |
commit | c9c332a2079892e60e292e8accb921f1d2603090 (patch) | |
tree | 804c66526e8cc790e4abd6b7d1faac280c0f5b07 | |
parent | 5864f3267f4c1c002a5f405477c113a093f3b5bd (diff) | |
download | cpio-c9c332a2079892e60e292e8accb921f1d2603090.tar.gz cpio-c9c332a2079892e60e292e8accb921f1d2603090.tar.bz2 |
Bugfixes.
* src/main.c (cpio_options): Remove unused options.
* src/util.c (cpio_create_dir): Fix conditional.
* NEWS: Update.
-rw-r--r-- | src/main.c | 7 | ||||
-rw-r--r-- | src/util.c | 2 |
2 files changed, 2 insertions, 7 deletions
@@ -57,12 +57,7 @@ enum cpio_options { FORCE_LOCAL_OPTION, DEBUG_OPTION, BLOCK_SIZE_OPTION, - TO_STDOUT_OPTION, - - HANG_OPTION, - USAGE_OPTION, - LICENSE_OPTION, - VERSION_OPTION + TO_STDOUT_OPTION }; const char *program_authors[] = @@ -1613,7 +1613,7 @@ cpio_create_dir (struct cpio_file_stat *file_hdr, int existing_dir) } } - if (!setstat_delayed && repair_delayed_set_stat (file_hdr) == 0) + if (!setstat_delayed && repair_delayed_set_stat (file_hdr)) set_perms (-1, file_hdr); return 0; } |