commit | 8083e03291b6d21c0f538163e187b4e8cd5594e4 | [log] [tgz] |
---|---|---|
author | Lasse Collin <lasse.collin@tukaani.org> | Tue Sep 17 11:55:38 2013 +0300 |
committer | Lasse Collin <lasse.collin@tukaani.org> | Tue Sep 17 11:55:38 2013 +0300 |
tree | 3fcf715739d33d71e58374b742e89b311362f01a | |
parent | 6b44b4a775fe29ecc7bcb7996e086e3bc09e5fd0 [diff] |
xz: Add a missing test for TUKLIB_DOSLIKE.
diff --git a/src/xz/file_io.c b/src/xz/file_io.c index fb8d64b..f135cf7 100644 --- a/src/xz/file_io.c +++ b/src/xz/file_io.c
@@ -658,6 +658,7 @@ static void io_close_src(file_pair *pair, bool success) { +#ifndef TUKLIB_DOSLIKE if (restore_stdin_flags) { assert(pair->src_fd == STDIN_FILENO); @@ -668,6 +669,7 @@ "to standard input: %s"), strerror(errno)); } +#endif if (pair->src_fd != STDIN_FILENO && pair->src_fd != -1) { #ifdef TUKLIB_DOSLIKE