← Commit list

e837a0dbb

Ron Yorston
Ron Yorston
2017-08-22
SUCCESS Duration: 147s

Subject

libarchive: fix build failure on NOMMU systems

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

archival/libarchive/open_transformer.c+1 -1
@@ -234,7 +234,7 @@ static void fork_transformer_and_free(transformer_state_t *xstate)
* an external unzipper that wants
* file position at the start of the file.
*/
- xlseek(fd, - xstate->signature_skipped, SEEK_CUR);
+ xlseek(xstate->src_fd, - xstate->signature_skipped, SEEK_CUR);
xstate->signature_skipped = 0;
fork_transformer_with_sig(xstate->src_fd, xstate->xformer, xstate->xformer_prog);
# endif