From 5cbcd245435c3ca78cd114312df1be6ec2a845f8 Mon Sep 17 00:00:00 2001 From: Koji Arai Date: Thu, 15 May 2008 00:05:49 +0900 Subject: [PATCH] The -t command should not affect extracting file attributes. --- ChangeLog | 4 ++++ configure.ac | 2 +- src/lhext.c | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index c0a6c8f..c6e5f6d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-05-14 Koji Arai + + * src/lhext.c (extract_one): The -t command should not affect extracting file attributes. + 2008-05-02 Koji Arai * added a long option --debug=dumplzss which display debugging information for the LZSS. diff --git a/configure.ac b/configure.ac index 810bf2a..319c7a5 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ # Process this file with autoconf to produce a configure script. -AC_INIT([LHa for UNIX], 1.14i-ac20080221, arai@users.sourceforge.jp, lha) +AC_INIT([LHa for UNIX], 1.14i-ac20080515, arai@users.sourceforge.jp, lha) AC_DEFINE_UNQUOTED(LHA_CONFIGURE_OPTIONS, "$ac_configure_args", [specified options for the configure script.]) AC_CANONICAL_HOST diff --git a/src/lhext.c b/src/lhext.c index bbfd958..c4a275c 100644 --- a/src/lhext.c +++ b/src/lhext.c @@ -497,7 +497,7 @@ extract_one(afp, hdr) error("Unknown file type: \"%s\". use `f' option to force extract.", name); } - if (!output_to_stdout) { + if (!output_to_stdout && !verify_mode) { if ((hdr->unix_mode & UNIX_FILE_TYPEMASK) != UNIX_FILE_DIRECTORY) adjust_info(name, hdr); } -- 2.11.0