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 { | |||
57 | FORCE_LOCAL_OPTION, | 57 | FORCE_LOCAL_OPTION, |
58 | DEBUG_OPTION, | 58 | DEBUG_OPTION, |
59 | BLOCK_SIZE_OPTION, | 59 | BLOCK_SIZE_OPTION, |
60 | TO_STDOUT_OPTION, | 60 | TO_STDOUT_OPTION |
61 | |||
62 | HANG_OPTION, | ||
63 | USAGE_OPTION, | ||
64 | LICENSE_OPTION, | ||
65 | VERSION_OPTION | ||
66 | }; | 61 | }; |
67 | 62 | ||
68 | const char *program_authors[] = | 63 | const char *program_authors[] = |
@@ -1613,7 +1613,7 @@ cpio_create_dir (struct cpio_file_stat *file_hdr, int existing_dir) | |||
1613 | } | 1613 | } |
1614 | } | 1614 | } |
1615 | 1615 | ||
1616 | if (!setstat_delayed && repair_delayed_set_stat (file_hdr) == 0) | 1616 | if (!setstat_delayed && repair_delayed_set_stat (file_hdr)) |
1617 | set_perms (-1, file_hdr); | 1617 | set_perms (-1, file_hdr); |
1618 | return 0; | 1618 | return 0; |
1619 | } | 1619 | } |