specified. this is for OS-9 archives, [provisional].
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@520
6a8cc165-1e22-0410-a132-
eb4e3f353aba
if ((hdr->unix_mode & UNIX_FILE_TYPEMASK) == UNIX_FILE_REGULAR
&& method != LZHDIRS_METHOD_NUM) {
+ extract_regular:
#if 0
for (method = 0;; method++) {
if (methods[method] == NULL) {
}
}
else {
- error("Unknown information: \"%s\"", name);
+ if (force) /* force extract */
+ goto extract_regular;
+ else
+ error("Unknown file type: \"%s\". use `f' option to force extract.", name);
}
if (!output_to_stdout)