+2008-08-23 Koji Arai <arai@users.sourceforge.jp>
+
+ * src/lhext.c (cmd_extract): stream position was adjusted by wrong value.
+
+ * src/lhext.c (extract_one): fixed misspelling.
+
2008-08-04 Koji Arai <arai@users.sourceforge.jp>
* src/larc.c (decode_start_lz5): should use the dtext[] instead of the text[].
/* 1999.4.30 t.okamoto */
for (method = 0;; method++) {
if (methods[method] == NULL) {
- error("Unknown method \"%.*s\"; \"%s\" will be skiped ...",
+ error("Unknown method \"%.*s\"; \"%s\" will be skipped ...",
5, hdr->method, name);
return read_size;
}
#if 0
for (method = 0;; method++) {
if (methods[method] == NULL) {
- error("Unknown method \"%.*s\"; \"%s\" will be skiped ...",
+ error("Unknown method \"%.*s\"; \"%s\" will be skipped ...",
5, hdr->method, name);
return read_size;
}
/* when error occurred in extract_one(), should adjust
point of file stream */
if (pos != -1 && afp != stdin)
- fseeko(afp, pos + hdr.packed_size - read_size, SEEK_SET);
+ fseeko(afp, pos + hdr.packed_size, SEEK_SET);
else {
off_t i = hdr.packed_size - read_size;
while (i--) fgetc(afp);