cpio applet, and changes to associated code

This commit is contained in:
Glenn L McGrath
2001-06-22 09:22:06 +00:00
parent 52a97ca00c
commit 8f5b63edea
13 changed files with 304 additions and 18 deletions

View File

@@ -26,7 +26,7 @@ extern int dpkg_deb_main(int argc, char **argv)
char *output_buffer = NULL;
int opt = 0;
int arg_type = 0;
int deb_extract_funct = extract_create_dirs;
int deb_extract_funct = extract_create_dirs | extract_unconditional;
const int arg_type_prefix = 1;
const int arg_type_field = 2;
@@ -92,6 +92,7 @@ extern int dpkg_deb_main(int argc, char **argv)
strcat(prefix, "/");
}
}
mkdir(prefix, 0777);
}
if (arg_type == arg_type_filename) {