OSDN Git Service

lha/lha.git
14 years ago* Hacking_of_LHa: updated. (2003-02-23 edition)
arai [Sat, 24 Sep 2005 13:01:59 +0000 (13:01 +0000)]
* Hacking_of_LHa: updated. (2003-02-23 edition)

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@829 6a8cc165-1e22-0410-a132-eb4e3f353aba

14 years ago* 00readme.autoconf: updated.
arai [Sat, 24 Sep 2005 12:48:27 +0000 (12:48 +0000)]
* 00readme.autoconf: updated.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@828 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago*** empty log message ***
arai [Tue, 7 Jun 2005 19:02:55 +0000 (19:02 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@827 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago* configure.ac: updated version.
arai [Tue, 7 Jun 2005 19:01:24 +0000 (19:01 +0000)]
* configure.ac: updated version.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@826 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago* src/lharc.c (parse_suboption): fixed a bug, when the
arai [Tue, 7 Jun 2005 19:01:04 +0000 (19:01 +0000)]
* src/lharc.c (parse_suboption): fixed a bug, when the
--system-kanji-code option specified, the --archive-kanji-code
option was infected.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@825 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago*** empty log message ***
arai [Sat, 7 May 2005 21:28:24 +0000 (21:28 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@824 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago* src/lhadd.c (add_one): symbolic link indication was contrary.
arai [Sat, 7 May 2005 21:28:16 +0000 (21:28 +0000)]
* src/lhadd.c (add_one): symbolic link indication was contrary.
( not "realname -> linkname" but "linkname -> realname" )
(delete): ditto.

* src/lhext.c (extract_one): ditto.

* src/lhlist.c (list_one): ditto.

* tests/lha-test14: ditto.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@823 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago*** empty log message ***
arai [Sat, 7 May 2005 21:17:16 +0000 (21:17 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@822 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago* configure.ac: updated version.
arai [Sat, 7 May 2005 21:17:10 +0000 (21:17 +0000)]
* configure.ac: updated version.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@821 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago* src/lharc.c (print_usage): updated.
arai [Sat, 7 May 2005 21:16:49 +0000 (21:16 +0000)]
* src/lharc.c (print_usage): updated.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@820 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago* src/lhadd.c, src/header.c (remove_leading_dots): move to
arai [Sat, 7 May 2005 21:16:05 +0000 (21:16 +0000)]
* src/lhadd.c, src/header.c (remove_leading_dots): move to
header.c for readlink().

* src/lhadd.c (add_one): symbolic link indication was contrary.
( not "realname -> linkname" but "linkname -> realname" )
(delete): ditto.

* src/lhext.c (extract_one): ditto.

* src/lhlist.c (list_one): ditto.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@819 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago*** empty log message ***
arai [Sat, 7 May 2005 20:31:40 +0000 (20:31 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@818 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago* src/lhadd.c (remove_leading_dots): newly added.
arai [Sat, 7 May 2005 20:31:33 +0000 (20:31 +0000)]
* src/lhadd.c (remove_leading_dots): newly added.

* src/lhadd.c (append_it): remove leading relative path from
archive.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@817 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago*** empty log message ***
arai [Sat, 7 May 2005 18:47:14 +0000 (18:47 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@816 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago* src/lhext.c (is_directory_traversal): should return true when
arai [Sat, 7 May 2005 18:47:06 +0000 (18:47 +0000)]
* src/lhext.c (is_directory_traversal): should return true when
just ".." was found.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@815 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago*** empty log message ***
arai [Sat, 7 May 2005 18:39:11 +0000 (18:39 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@814 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago*** empty log message ***
arai [Sat, 2 Oct 2004 09:54:53 +0000 (09:54 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@813 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago* src/lharc.c (print_tiny_usage): added long option helps.
arai [Sat, 2 Oct 2004 09:54:40 +0000 (09:54 +0000)]
* src/lharc.c (print_tiny_usage): added long option helps.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@812 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago*** empty log message ***
arai [Sat, 2 Oct 2004 00:05:14 +0000 (00:05 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@811 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago* src/prototypes.h: updated.
arai [Sat, 2 Oct 2004 00:04:58 +0000 (00:04 +0000)]
* src/prototypes.h: updated.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@810 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago* src/lharc.c: should accept a single option --help and --version.
arai [Sat, 2 Oct 2004 00:03:06 +0000 (00:03 +0000)]
* src/lharc.c: should accept a single option --help and --version.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@809 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago*** empty log message ***
arai [Tue, 28 Sep 2004 17:07:28 +0000 (17:07 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@808 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago* src/lharc.c (parse_option, parse_suboption): use getopt_long().
arai [Tue, 28 Sep 2004 17:06:39 +0000 (17:06 +0000)]
* src/lharc.c (parse_option, parse_suboption): use getopt_long().

* src/Makefile.am: added getopt_long.c and getopt_long.h.

* src/getopt_long.c, src/getopt_long.h: newly added.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@807 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago*** empty log message ***
arai [Tue, 28 Sep 2004 16:13:49 +0000 (16:13 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@805 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago* 00readme.autoconf: note for builds on MS-Windows.
arai [Tue, 28 Sep 2004 16:13:43 +0000 (16:13 +0000)]
* 00readme.autoconf: note for builds on MS-Windows.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@804 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago*** empty log message ***
arai [Tue, 28 Sep 2004 16:04:33 +0000 (16:04 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@803 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago* configure.ac: updated version.
arai [Tue, 28 Sep 2004 16:04:27 +0000 (16:04 +0000)]
* configure.ac: updated version.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@802 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago* Makefile.am: added Hacking_of_LHa in EXTRA_DIST.
arai [Tue, 28 Sep 2004 16:04:14 +0000 (16:04 +0000)]
* Makefile.am: added Hacking_of_LHa in EXTRA_DIST.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@801 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago* Hacking_of_LHa: renamed (typo).
arai [Tue, 28 Sep 2004 15:56:18 +0000 (15:56 +0000)]
* Hacking_of_LHa: renamed (typo).

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@800 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago*** empty log message ***
arai [Sun, 26 Sep 2004 16:12:19 +0000 (16:12 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@798 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago*** empty log message ***
arai [Sun, 26 Sep 2004 15:42:49 +0000 (15:42 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@797 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago* configure.ac: updated version.
arai [Sun, 26 Sep 2004 15:42:33 +0000 (15:42 +0000)]
* configure.ac: updated version.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@796 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago* src/prototypes.h (str_safe_copy): newly added.
arai [Sun, 26 Sep 2004 15:41:41 +0000 (15:41 +0000)]
* src/prototypes.h (str_safe_copy): newly added.
(build_backup_file, cmd_add, cmd_delete):
added argument the size for build_standard_archive_name() and
build_backup_file().

* src/header.c (init_header): use str_safe_copy() instead of strcpy().

* src/lhadd.c (build_backup_file, cmd_add, cmd_delete):
added argument the size for build_standard_archive_name() and
build_backup_file().

* src/lhext.c (make_parent_path): use str_safe_copy() instead of strcpy().
(extract_one): ditto.

* src/lharc.c (find_files): use str_safe_copy() instead of strcpy().
(build_temporary_name): ditto.
(modify_filename_extention): ditto.
(build_backup_name): ditto.
(build_standard_archive_name): ditto.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@795 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago* src/util.c (str_safe_copy): newly added.
arai [Sun, 26 Sep 2004 15:30:24 +0000 (15:30 +0000)]
* src/util.c (str_safe_copy): newly added.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@794 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago*** empty log message ***
arai [Sun, 26 Sep 2004 08:36:53 +0000 (08:36 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@793 6a8cc165-1e22-0410-a132-eb4e3f353aba

15 years ago* src/header.c: fixed typo.
arai [Sun, 26 Sep 2004 08:31:19 +0000 (08:31 +0000)]
* src/header.c: fixed typo.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@792 6a8cc165-1e22-0410-a132-eb4e3f353aba

16 years ago*** empty log message ***
arai [Fri, 17 Sep 2004 19:25:19 +0000 (19:25 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@791 6a8cc165-1e22-0410-a132-eb4e3f353aba

16 years ago* configure.ac: updated version.
arai [Fri, 17 Sep 2004 19:25:06 +0000 (19:25 +0000)]
* configure.ac: updated version.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@790 6a8cc165-1e22-0410-a132-eb4e3f353aba

16 years ago* 00readme.autoconf: added a description about
arai [Fri, 17 Sep 2004 19:20:57 +0000 (19:20 +0000)]
* 00readme.autoconf: added a description about
`--extract-broken-archive' option.

* src/lharc.c (init_variable, parse_option): added an option
`--extract-broken-archive' to extract broken archive.

* src/lha.h (extract_broken_archive): ditto.

* src/slide.c (encode, decode): fixed a *FATAL* bug which make a
broken archive.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@789 6a8cc165-1e22-0410-a132-eb4e3f353aba

16 years ago*** empty log message ***
arai [Fri, 7 May 2004 22:17:19 +0000 (22:17 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@787 6a8cc165-1e22-0410-a132-eb4e3f353aba

16 years ago* configure.ac: updated version.
arai [Fri, 7 May 2004 22:17:11 +0000 (22:17 +0000)]
* configure.ac: updated version.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@786 6a8cc165-1e22-0410-a132-eb4e3f353aba

16 years ago* src/prototypes.h: updated.
arai [Fri, 7 May 2004 22:16:50 +0000 (22:16 +0000)]
* src/prototypes.h: updated.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@785 6a8cc165-1e22-0410-a132-eb4e3f353aba

16 years ago* src/lharc.c (print_usage): updated.
arai [Fri, 7 May 2004 22:16:37 +0000 (22:16 +0000)]
* src/lharc.c (print_usage): updated.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@784 6a8cc165-1e22-0410-a132-eb4e3f353aba

16 years ago* src/lhext.c (extract_one, is_directory_traversal): applied a
arai [Fri, 7 May 2004 22:16:10 +0000 (22:16 +0000)]
* src/lhext.c (extract_one, is_directory_traversal): applied a
security patch (CAN-2004-0235: directory traversal problems)

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@783 6a8cc165-1e22-0410-a132-eb4e3f353aba

16 years ago*** empty log message ***
arai [Wed, 17 Dec 2003 18:32:41 +0000 (18:32 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@782 6a8cc165-1e22-0410-a132-eb4e3f353aba

16 years ago* src/header.c (wintime_to_unix_stamp): no use 64bit constant to
arai [Wed, 17 Dec 2003 18:30:42 +0000 (18:30 +0000)]
* src/header.c (wintime_to_unix_stamp): no use 64bit constant to
avoid the warning `integer constant is too large for "long" type'
on GCC. however, for portability, no use the unsigned long long
suffix "ULL".

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@781 6a8cc165-1e22-0410-a132-eb4e3f353aba

16 years ago*** empty log message ***
arai [Sat, 13 Dec 2003 00:08:34 +0000 (00:08 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@780 6a8cc165-1e22-0410-a132-eb4e3f353aba

16 years ago* configure.ac: updated version.
arai [Sat, 13 Dec 2003 00:08:21 +0000 (00:08 +0000)]
* configure.ac: updated version.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@779 6a8cc165-1e22-0410-a132-eb4e3f353aba

16 years ago*** empty log message ***
arai [Fri, 12 Dec 2003 23:25:47 +0000 (23:25 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@778 6a8cc165-1e22-0410-a132-eb4e3f353aba

16 years ago* src/lhext.c (extract_one, cmd_extract): preserve directory
arai [Fri, 12 Dec 2003 23:25:25 +0000 (23:25 +0000)]
* src/lhext.c (extract_one, cmd_extract): preserve directory
timestamp. Thanks Akihiro Iriyama.

* src/lhext.c (add_dirinfo, adjust_dirinfo): newly added

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@777 6a8cc165-1e22-0410-a132-eb4e3f353aba

16 years ago*** empty log message ***
arai [Sat, 27 Sep 2003 23:25:16 +0000 (23:25 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@776 6a8cc165-1e22-0410-a132-eb4e3f353aba

16 years ago* Makefile.am (SUBDIRS): reordered to avoid useless re-compilation.
arai [Sat, 27 Sep 2003 23:25:03 +0000 (23:25 +0000)]
* Makefile.am (SUBDIRS): reordered to avoid useless re-compilation.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@775 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago*** empty log message ***
arai [Sun, 21 Sep 2003 14:15:55 +0000 (14:15 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@773 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago* configure.ac: updated version.
arai [Sun, 21 Sep 2003 14:15:43 +0000 (14:15 +0000)]
* configure.ac: updated version.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@772 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago*** empty log message ***
arai [Sun, 17 Aug 2003 15:15:46 +0000 (15:15 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@771 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago* 00readme.autoconf: fixed.
arai [Sun, 17 Aug 2003 15:15:12 +0000 (15:15 +0000)]
* 00readme.autoconf: fixed.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@770 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago* configure.ac: use AC_SYS_LARGEFILE for largefile support.
arai [Sun, 17 Aug 2003 15:10:19 +0000 (15:10 +0000)]
* configure.ac: use AC_SYS_LARGEFILE for largefile support.

* config.h.in: ditto.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@769 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago* src/prototypes.h: updated.
arai [Sun, 17 Aug 2003 15:08:43 +0000 (15:08 +0000)]
* src/prototypes.h: updated.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@768 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago*** empty log message ***
arai [Tue, 29 Jul 2003 21:01:21 +0000 (21:01 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@767 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago*** empty log message ***
arai [Tue, 29 Jul 2003 12:16:23 +0000 (12:16 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@766 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago* tests/Makefile.am (EXTRA_DIST): lha-test1 was missed.
arai [Tue, 29 Jul 2003 12:16:14 +0000 (12:16 +0000)]
* tests/Makefile.am (EXTRA_DIST): lha-test1 was missed.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@765 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago* tests/lha-test13: should set LANG=C for `tr'.
arai [Tue, 29 Jul 2003 12:15:43 +0000 (12:15 +0000)]
* tests/lha-test13: should set LANG=C for `tr'.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@764 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago*** empty log message ***
arai [Sun, 27 Jul 2003 17:38:11 +0000 (17:38 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@763 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago* tests/lha-test.in: filename should be contained in last error
arai [Sun, 27 Jul 2003 17:37:51 +0000 (17:37 +0000)]
* tests/lha-test.in: filename should be contained in last error
information.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@762 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago*** empty log message ***
arai [Sun, 27 Jul 2003 09:36:47 +0000 (09:36 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@761 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago* tests/lha-test2: no need to set $FILENAME.
arai [Sun, 27 Jul 2003 09:35:47 +0000 (09:35 +0000)]
* tests/lha-test2: no need to set $FILENAME.
* tests/lha-test3: ditto.
* tests/lha-test4: ditto.
* tests/lha-test5: ditto.
* tests/lha-test6: ditto.
* tests/lha-test7: ditto.
* tests/lha-test8: ditto.
* tests/lha-test9: ditto.
* tests/lha-test10: ditto.
* tests/lha-test11: ditto.
* tests/lha-test12: ditto.
* tests/lha-test13: ditto.
* tests/lha-test14: ditto.
* tests/lha-test15: ditto.

* tests/lha-test1: newly added.

* tests/lha-test.in: improved.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@760 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago*** empty log message ***
arai [Sun, 27 Jul 2003 08:37:50 +0000 (08:37 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@759 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago* src/prototypes.h: updated.
arai [Sun, 27 Jul 2003 08:37:33 +0000 (08:37 +0000)]
* src/prototypes.h: updated.

* src/lha.h (exit): defined as lha_exit().

* src/lharc.c (init_variable): discard a variable
`remove_temporary_at_error'.
(fatal_error): ditto.
(cleanup): newly added.
(interrupt): call cleanup().
(lha_exit): newly added; cleanup temporary files always.

* src/lhadd.c (add_one): discard a variable
`remove_temporary_at_error'.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@758 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago* src/indicator.c (start_indicator): refined.
arai [Sun, 27 Jul 2003 08:31:28 +0000 (08:31 +0000)]
* src/indicator.c (start_indicator): refined.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@757 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago*** empty log message ***
arai [Sun, 27 Jul 2003 06:43:02 +0000 (06:43 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@756 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago* src/lharc.c (parse_option): fixed typo.
arai [Sun, 27 Jul 2003 06:42:53 +0000 (06:42 +0000)]
* src/lharc.c (parse_option): fixed typo.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@755 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago*** empty log message ***
arai [Sun, 27 Jul 2003 06:30:54 +0000 (06:30 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@754 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago* src/indicator.c (carriage_return): newly added; print CR on tty only.
arai [Sun, 27 Jul 2003 06:30:21 +0000 (06:30 +0000)]
* src/indicator.c (carriage_return): newly added; print CR on tty only.
(start_indicator): call above.
(finish_indicator): ditto.
(finish_indicator2): ditto.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@753 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago* src/lharc.c (print_usage): newly added.
arai [Sun, 27 Jul 2003 06:26:36 +0000 (06:26 +0000)]
* src/lharc.c (print_usage): newly added.
(parse_option): strictly checking command line arguments.
(main): ditto.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@752 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago*** empty log message ***
arai [Sat, 26 Jul 2003 05:32:28 +0000 (05:32 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@751 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago* tests/lha-test13: use `tr' instead of `printf` for printing 8 bit
arai [Sat, 26 Jul 2003 05:32:18 +0000 (05:32 +0000)]
* tests/lha-test13: use `tr' instead of `printf` for printing 8 bit
characters.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@750 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago*** empty log message ***
arai [Fri, 25 Jul 2003 13:03:21 +0000 (13:03 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@749 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago* tests/lha-test14: `test -e' is unavailable on some systems.
arai [Fri, 25 Jul 2003 13:02:54 +0000 (13:02 +0000)]
* tests/lha-test14: `test -e' is unavailable on some systems.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@748 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago*** empty log message ***
arai [Mon, 21 Jul 2003 23:06:35 +0000 (23:06 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@747 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago* tests/lha-test.in: should exit with status in trap.
arai [Mon, 21 Jul 2003 23:06:23 +0000 (23:06 +0000)]
* tests/lha-test.in: should exit with status in trap.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@746 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago*** empty log message ***
arai [Mon, 21 Jul 2003 20:56:17 +0000 (20:56 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@745 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago* src/shuf.c (decode_start_st0): wrong value was assigned.
arai [Mon, 21 Jul 2003 20:56:03 +0000 (20:56 +0000)]
* src/shuf.c (decode_start_st0): wrong value was assigned.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@744 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago*** empty log message ***
arai [Mon, 21 Jul 2003 19:53:38 +0000 (19:53 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@743 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago* src/lharc.c (init_variable): discard `prof' variable.
arai [Mon, 21 Jul 2003 19:53:17 +0000 (19:53 +0000)]
* src/lharc.c (init_variable): discard `prof' variable.
(parse_option): discard undocumented `p' option.
(main): ditto.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@742 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago* src/lha.h: discard `prof' variable.
arai [Mon, 21 Jul 2003 19:53:09 +0000 (19:53 +0000)]
* src/lha.h: discard `prof' variable.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@741 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago*** empty log message ***
arai [Mon, 21 Jul 2003 19:47:40 +0000 (19:47 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@740 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago* src/append.c (encode_lzhuf): hate global variable.
arai [Mon, 21 Jul 2003 19:47:28 +0000 (19:47 +0000)]
* src/append.c (encode_lzhuf): hate global variable.

* src/extract.c (decode_lzhuf): ditto.

* src/lha.h: ditto.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@739 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago*** empty log message ***
arai [Mon, 21 Jul 2003 10:42:56 +0000 (10:42 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@738 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago*** empty log message ***
arai [Mon, 21 Jul 2003 10:34:01 +0000 (10:34 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@736 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago* configure.ac: updated version.
arai [Mon, 21 Jul 2003 10:33:51 +0000 (10:33 +0000)]
* configure.ac: updated version.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@735 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago* 00readme.autoconf: described largefiles.
arai [Mon, 21 Jul 2003 10:32:34 +0000 (10:32 +0000)]
* 00readme.autoconf: described largefiles.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@734 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago*** empty log message ***
arai [Mon, 21 Jul 2003 09:10:03 +0000 (09:10 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@733 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago*** empty log message ***
arai [Mon, 21 Jul 2003 08:30:14 +0000 (08:30 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@732 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago* src/header.c (get_header): avoid valgrind warning, `Source and
arai [Mon, 21 Jul 2003 08:30:00 +0000 (08:30 +0000)]
* src/header.c (get_header): avoid valgrind warning, `Source and
destination overlap in strncpy()'.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@731 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago*** empty log message ***
arai [Mon, 21 Jul 2003 08:02:51 +0000 (08:02 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@730 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago* src/lharc.c (find_files): refined.
arai [Mon, 21 Jul 2003 08:01:58 +0000 (08:01 +0000)]
* src/lharc.c (find_files): refined.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@729 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago* tests/lha-test.in: should exit in trap. exit status will be
arai [Mon, 21 Jul 2003 07:46:24 +0000 (07:46 +0000)]
* tests/lha-test.in: should exit in trap. exit status will be
inherited on bash, ash and pdksh (but not zsh, Hmm..)

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@728 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago* src/lharc.c (find_files): uninitialized variable was caught by
arai [Mon, 21 Jul 2003 07:35:40 +0000 (07:35 +0000)]
* src/lharc.c (find_files): uninitialized variable was caught by
Valgrind.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@727 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago*** empty log message ***
arai [Sun, 20 Jul 2003 20:48:42 +0000 (20:48 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@726 6a8cc165-1e22-0410-a132-eb4e3f353aba

17 years ago* src/prototypes.h: updated.
arai [Sun, 20 Jul 2003 20:48:31 +0000 (20:48 +0000)]
* src/prototypes.h: updated.

* src/append.c (encode_lzhuf): set actual copied size.

* src/util.c (encode_stored_crc): use size_t instead of long.

* src/lhadd.c (temporary_to_new_archive_file): ditto.
(cmd_add): ditto.
(cmd_delete): ditto.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@725 6a8cc165-1e22-0410-a132-eb4e3f353aba