OSDN Git Service

lha/lha.git
16 years agofixed.
arai [Sat, 16 Feb 2008 19:29:22 +0000 (19:29 +0000)]
fixed.

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

16 years agocould not extract files under readonly directories.
arai [Sat, 16 Feb 2008 19:12:23 +0000 (19:12 +0000)]
could not extract files under readonly directories.

    % chmod 555 foo
    % ls -ld foo foo/bar
    dr-xr-xr-x 2 arai arai 4096 Jan  5 03:30 foo/
    -rw-r--r-- 1 arai arai    0 Jan  5 03:30 foo/bar
    % lha c foo.lzh foo
    % lha x foo.lzh -w baz
    LHa: Error: Cannot extract a file "baz/foo/bar"

Please enter the commit message for your changes.

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

16 years agomake it possible to add archive suffixes.
arai [Tue, 5 Feb 2008 21:30:09 +0000 (21:30 +0000)]
make it possible to add archive suffixes.

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

16 years agothe function `put_longword()' should be used the ANSI-C declaration for 64-bits off_t...
arai [Sun, 9 Sep 2007 14:48:39 +0000 (14:48 +0000)]
the function `put_longword()' should be used the ANSI-C declaration for 64-bits off_t type.

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

16 years agoAdded tests for extract large files.
arai [Sat, 8 Sep 2007 20:20:29 +0000 (20:20 +0000)]
Added tests for extract large files.

Added two tests for extract 2G and 4G over files.
These are not performed in default, because it will be take a long time.

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

16 years agoFix a bug: Could not extract 2G over files.
arai [Sat, 8 Sep 2007 20:20:29 +0000 (20:20 +0000)]
Fix a bug: Could not extract 2G over files.

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

16 years ago00readme.autoconf: Added description for the -b switch which extract MacBinaries.
arai [Wed, 5 Sep 2007 14:54:37 +0000 (14:54 +0000)]
00readme.autoconf: Added description for the -b switch which extract MacBinaries.

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

16 years agouse the length modifier `ll' (%llu) for printing 64bit value.
arai [Tue, 4 Sep 2007 15:06:18 +0000 (15:06 +0000)]
use the length modifier `ll' (%llu) for printing 64bit value.

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

16 years agoupdate prototypes.h using cproto
arai [Tue, 4 Sep 2007 11:08:21 +0000 (11:08 +0000)]
update prototypes.h using cproto

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

16 years agopossible to extract 4G over files
arai [Tue, 4 Sep 2007 10:58:15 +0000 (10:58 +0000)]
possible to extract 4G over files

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

16 years agotest script was improved.
arai [Wed, 23 May 2007 15:04:10 +0000 (15:04 +0000)]
test script was improved.

* tests/lha-test.in: added an optional numeric command-line argument, and a command-line switch -n.
when the numeric argument is specified, only the testsuite is performed.
and the -n switch is specified, it is not made cleanup trash files which is result of the test.

* tests/lha-test11: On MS-Windows, should consider the length of current path.

* tests/lha-test11: On MS-Windows, if current directory is too deep, skip this test.

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

16 years agoAdded an option ignoring Mac specific files
arai [Wed, 23 May 2007 15:04:10 +0000 (15:04 +0000)]
Added an option ignoring Mac specific files

The option -X was deprecated.
In place of it, added a long option --ignore-mac-files which ignore
Mac specific files ._*, .DS_Store and Icon\r when the archive is
created. Thanks to Hiroto Sakai.

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

16 years ago.gitignore added for the Git.
arai [Wed, 23 May 2007 15:04:09 +0000 (15:04 +0000)]
.gitignore added for the Git.

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

16 years agoFixed file permission
arai [Sun, 20 May 2007 14:38:32 +0000 (14:38 +0000)]
Fixed file permission

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

16 years ago* tests/lha-test12: should not use the raw CR code.
arai [Sun, 20 May 2007 14:17:59 +0000 (14:17 +0000)]
* tests/lha-test12: should not use the raw CR code.
  (when checkout from SVN repos, raw CR code is removed.)

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

17 years ago* src/lharc.c (print_tiny_usage, parse_suboption): added a long
arai [Sat, 24 Feb 2007 15:04:03 +0000 (15:04 +0000)]
* src/lharc.c (print_tiny_usage, parse_suboption): added a long
option "--traditional". it is just the same
"--convert-filename-case" for the present.

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

17 years ago* src/header.c (get_header): the variable "noconvertcase" changed
arai [Sat, 24 Feb 2007 14:35:57 +0000 (14:35 +0000)]
* src/header.c (get_header): the variable "noconvertcase" changed
to "convertcase".
it means that this LHa does not convert filename case automatically.

* src/lha.h: ditto.

* src/lharc.c (init_variable): ditto.

* src/lharc.c (print_tiny_usage, parse_suboption): added a long
option "--convert-filename-case" that change to the old behavior.

* src/lharc.c (print_usage, parse_suboption): the "g" option has
no meaning when extracting.

* src/header.c (write_header): no upcase filename when the generic
archive creating.

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

17 years ago* configure.ac: updated version.
arai [Sat, 24 Feb 2007 11:13:58 +0000 (11:13 +0000)]
* configure.ac: updated version.

* src/lharc.c (print_usage): updated.

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

17 years ago* src/header.c (copy_path_element, remove_dots, init_header):
arai [Sat, 24 Feb 2007 10:13:22 +0000 (10:13 +0000)]
* src/header.c (copy_path_element, remove_dots, init_header):
should treat "foo" and "./foo" as same file, so remove "./" from
archived path name.

* tests/Makefile.am, tests/lha-test.in, tests/lha-test17:
added tests for the removing relative path.

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

17 years ago*** empty log message ***
arai [Sat, 24 Feb 2007 10:05:10 +0000 (10:05 +0000)]
*** empty log message ***

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

17 years ago* src/lha_macro.h (MIN): newly added a macro for below.
arai [Tue, 17 Oct 2006 16:16:48 +0000 (16:16 +0000)]
* src/lha_macro.h (MIN): newly added a macro for below.

* maketbl.c (make_table): applied the security patch for the
CVE-2006-4335 and CVE-2006-4337.

* huf.c (read_pt_len, read_c_len, decode_c_st1, decode_p_st1):
applied the security patch for the CVE-2006-4338.

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

17 years ago*** empty log message ***
arai [Sun, 8 Oct 2006 18:00:56 +0000 (18:00 +0000)]
*** empty log message ***

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

17 years ago*** empty log message ***
arai [Sun, 8 Oct 2006 17:45:45 +0000 (17:45 +0000)]
*** empty log message ***

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

17 years ago* lha-test.in: the function local variable `$status' is treated as
arai [Sun, 8 Oct 2006 17:44:55 +0000 (17:44 +0000)]
* lha-test.in: the function local variable `$status' is treated as
the builtin variable on the Zsh version 4.3.2, so it was renamed to
$exit_status.

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

17 years agoadded tests for the header CRC
arai [Sun, 8 Oct 2006 17:36:42 +0000 (17:36 +0000)]
added tests for the header CRC

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

17 years ago*** empty log message ***
arai [Sun, 8 Oct 2006 15:05:54 +0000 (15:05 +0000)]
*** empty log message ***

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

17 years ago*** empty log message ***
arai [Sun, 8 Oct 2006 14:43:18 +0000 (14:43 +0000)]
*** empty log message ***

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

17 years agoupdated.
arai [Sun, 8 Oct 2006 14:43:07 +0000 (14:43 +0000)]
updated.

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

17 years agochanged mail address.
arai [Sun, 8 Oct 2006 14:42:55 +0000 (14:42 +0000)]
changed mail address.

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

17 years agore-applied the correct DJGPP patch. Thanks to Doug Kaufman.
arai [Sun, 8 Oct 2006 14:20:14 +0000 (14:20 +0000)]
re-applied the correct DJGPP patch. Thanks to Doug Kaufman.

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

17 years agoapplied the patch for the DJGPP.
arai [Mon, 2 Oct 2006 12:27:47 +0000 (12:27 +0000)]
applied the patch for the DJGPP.

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

17 years agochanged mail address
arai [Mon, 2 Oct 2006 11:59:31 +0000 (11:59 +0000)]
changed mail address

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

17 years ago* configure.ac: updated version.
arai [Mon, 11 Sep 2006 13:38:19 +0000 (13:38 +0000)]
* configure.ac: updated version.

* src/lharc.c (print_usage): updated.

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

17 years ago* config.h.in (HAVE_LIBAPPLEFILE): added `b' option which extract the MacBinary....
arai [Mon, 11 Sep 2006 13:31:49 +0000 (13:31 +0000)]
* config.h.in (HAVE_LIBAPPLEFILE): added `b' option which extract the MacBinary. Thanks to Hiroto Sakai.

* configure.ac: ditto.

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

* src/lhadd.c (build_temporary_file): ditto.

* src/lharc.c (decode_macbinary_contents, print_tiny_usage, parse_suboption): ditto.

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

* src/prototypes.h (build_temporary_file): ditto.

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

17 years ago*** empty log message ***
arai [Mon, 11 Sep 2006 12:41:18 +0000 (12:41 +0000)]
*** empty log message ***

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

17 years ago* src/lharc.c (parse_suboption): `-X' option has been ineffective.
arai [Mon, 11 Sep 2006 12:39:54 +0000 (12:39 +0000)]
* src/lharc.c (parse_suboption): `-X' option has been ineffective.
Thanks to Hiroto Sakai.

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

18 years ago*** empty log message ***
arai [Fri, 14 Oct 2005 15:21:25 +0000 (15:21 +0000)]
*** empty log message ***

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

18 years ago* src/lha_macro.h (UPDATE_CRC): To casting with (unsigned char)
arai [Fri, 14 Oct 2005 15:20:21 +0000 (15:20 +0000)]
* src/lha_macro.h (UPDATE_CRC): To casting with (unsigned char)
should not be for the variable (c) but for the (crc).

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

18 years ago*** empty log message ***
arai [Thu, 13 Oct 2005 14:52:34 +0000 (14:52 +0000)]
*** empty log message ***

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

18 years ago* tests/lha-test.in: emulate POSIX shell when it is executed by
arai [Thu, 13 Oct 2005 14:52:22 +0000 (14:52 +0000)]
* tests/lha-test.in: emulate POSIX shell when it is executed by
zsh or bash. (this part is derived from GNU Autoconf 2.59)

* tests/Makefile.am: replaced `bash' with `@sh_for_lha_test@'

* configure.ac: search shell programs to execute the lha-test.

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

18 years ago*** empty log message ***
arai [Thu, 13 Oct 2005 14:15:39 +0000 (14:15 +0000)]
*** empty log message ***

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

18 years ago*** empty log message ***
arai [Sun, 25 Sep 2005 14:46:55 +0000 (14:46 +0000)]
*** empty log message ***

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

18 years ago* src/prototypes.h: updated.
arai [Sun, 25 Sep 2005 14:46:45 +0000 (14:46 +0000)]
* src/prototypes.h: updated.

* src/crcio.c (calccrc, fread_crc, fwrite_crc, fread_txt, fwrite_txt): suppress compiler warnings on gcc-4.0.

* src/header.c (calc_sum): ditto.

* src/lha_macro.h (UPDATE_CRC): ditto.

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

18 years ago*** empty log message ***
arai [Sat, 24 Sep 2005 13:04:37 +0000 (13:04 +0000)]
*** empty log message ***

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

18 years ago* configure.ac: updated version and my mail address.
arai [Sat, 24 Sep 2005 13:02:45 +0000 (13:02 +0000)]
* configure.ac: updated version and my mail address.

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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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