aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2010-03-10 12:33:17 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2010-03-10 12:40:47 +0200
commitc9c332a2079892e60e292e8accb921f1d2603090 (patch)
tree804c66526e8cc790e4abd6b7d1faac280c0f5b07
parent5864f3267f4c1c002a5f405477c113a093f3b5bd (diff)
downloadcpio-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.c7
-rw-r--r--src/util.c2
2 files changed, 2 insertions, 7 deletions
diff --git a/src/main.c b/src/main.c
index a805a5b..ba1b969 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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
68const char *program_authors[] = 63const char *program_authors[] =
diff --git a/src/util.c b/src/util.c
index ae6a3de..00953d5 100644
--- a/src/util.c
+++ b/src/util.c
@@ -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}

Return to:

Send suggestions and report system problems to the System administrator.