OSDN Git Service

updated ChangeLog, configure.ac, man/lha.1 for timestamp archiving feature
authorKoji Arai <jca02266@gmail.com>
Fri, 3 Oct 2008 16:16:21 +0000 (01:16 +0900)
committerKoji Arai <jca02266@gmail.com>
Fri, 3 Oct 2008 16:16:21 +0000 (01:16 +0900)
ChangeLog
configure.ac
man/lha.1

index 94d55bb..c180e7b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,35 @@
+2008-10-04  Koji Arai  <arai@users.sourceforge.jp>
+
+       Timestamp archiving feature is added. Thanks to Reynir Stefansson.
+
+       * configure.ac: updated version.
+
+       * src/lha.h: added a variable, timestamp_archive.
+
+       * src/lhadd.c (copy_old_one): moved from src/lharc.c, and reset
+       most_recent to most recent timestamp.
+
+       * src/prototypes.h: copy_old_one() is changed to static function.
+
+       * src/lhadd.c (add_one): reset most_recent to most recent timestamp.
+
+       * src/lhadd.c (set_archive_file_mode): When --timestamp-archive is
+       specified, archive timestamp adjust to most recent file in the
+       archive.
+
+       * src/lhadd.c (cmd_add, cmd_delete): should call set_archive_file_mode() without noexec.
+
+       * src/lharc.c (init_variable, parse_suboption): added an option --timestamp-archive.
+
+       * tests/Makefile.am: added lha-test19.
+
+       * tests/lha-test19: newly added for checking the timestamp
+       archiving.
+
+       * tests/lha-test.in (identical_timestamp) added an utility function.
+
+       * man/lha.1: describe about --timestamp-archive.
+
 2008-08-23  Koji Arai  <arai@users.sourceforge.jp>
 
        * src/lhext.c (cmd_extract): stream position was adjusted by wrong value.
index 5612809..977b344 100644 (file)
@@ -1,5 +1,5 @@
 # Process this file with autoconf to produce a configure script.
-AC_INIT([LHa for UNIX], 1.14i-ac20080804, arai@users.sourceforge.jp, lha)
+AC_INIT([LHa for UNIX], 1.14i-ac20081004, arai@users.sourceforge.jp, lha)
 AC_DEFINE_UNQUOTED(LHA_CONFIGURE_OPTIONS, "$ac_configure_args",
            [specified options for the configure script.])
 AC_CANONICAL_HOST
index c6067b4..3b6deec 100644 (file)
--- a/man/lha.1
+++ b/man/lha.1
@@ -317,6 +317,10 @@ However, many software create the LZH archive with case-sensitive filename even
 Therefore, its behavior was deprecated as default.
 
 .TP
+\fB\-\-timestamp\-archive\fR
+When archiving or deleting, the archive timestamp reset most recent timestamp in the archive contents.
+
+.TP
 \fB\-\-ignore\-mac\-files\fR
 When archiving, the Mac specific files are ignored.