OSDN Git Service
Koji Arai [Wed, 20 Aug 2008 16:25:46 +0000 (01:25 +0900)]
updated cproto.sh for PMA
Koji Arai [Wed, 20 Aug 2008 15:54:10 +0000 (00:54 +0900)]
support PMA file decoding
Koji Arai [Tue, 19 Aug 2008 15:03:56 +0000 (00:03 +0900)]
update Hacking_of_LHa
Koji Arai [Mon, 4 Aug 2008 14:41:41 +0000 (23:41 +0900)]
* src/larc.c (decode_start_lz5): should use the dtext[] instead of the text[].
* src/lha.h (dtext): defined as global variable.
* src/slide.c (decode): ditto.
Koji Arai [Sun, 3 Aug 2008 12:48:49 +0000 (21:48 +0900)]
Merge branch 'master' of ssh://kuro-box/home/arai/public_html/lha
Koji Arai [Sun, 3 Aug 2008 12:45:08 +0000 (21:45 +0900)]
Merge branch 'master' of /home/arai/public_html/lha
Koji Arai [Sun, 3 Aug 2008 01:58:56 +0000 (10:58 +0900)]
* src/header.c (convert_filename): Fixed a bug:
If the utf8 is specified for the --system-kanji-code and the path
separator is used with the backslash (0x5c) in archive (level 0
header is used 0x5c as path separator), when extracting, it has been
converted to the U+00A5 (yen sign) instead of the slash (0x2f).
Koji Arai [Wed, 16 Jul 2008 14:44:24 +0000 (23:44 +0900)]
update Hacking_of_LHa
Koji Arai [Tue, 15 Jul 2008 13:13:12 +0000 (22:13 +0900)]
update Hacking_of_LHa
Koji Arai [Wed, 25 Jun 2008 13:22:01 +0000 (22:22 +0900)]
update Hacking_of_LHa
Koji Arai [Tue, 24 Jun 2008 14:03:31 +0000 (23:03 +0900)]
update Hacking_of_LHa
Koji Arai [Wed, 14 May 2008 15:05:49 +0000 (00:05 +0900)]
The -t command should not affect extracting file attributes.
Koji Arai [Fri, 2 May 2008 15:02:02 +0000 (00:02 +0900)]
added a long option --debug=dumplzss which display debugging information for the LZSS.
arai [Mon, 10 Mar 2008 14:58:32 +0000 (14:58 +0000)]
add_dirinfo() no longer suppose that contents of the LZH archive is sorted by pathname.
* src/lhext.c (add_dirinfo): no longer suppose that contents of the LZH archive is sorted by pathname.
* tests/lha-test18: added tests for above.
* src/lharc.c (parse_suboption): added debugging option `--debug=nosort' and `--debug=norecursion'
for above tests.
* src/lha.h: added two global variables for above options: sort_contents, recursive_archiving;
* src/lharc.c (init_variable): ditto.
(sort_files): no sort arguments with --debug=nosort.
(find_files): no sort directory entries with --debug=nosort.
* src/lhadd.c (append_it): non-sorted and non-recursive archiving with --debug=nosort and --debug=norecursion.
* src/lhadd.c (remove_one): should use the message() instead of printf().
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@890
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 8 Mar 2008 17:15:12 +0000 (17:15 +0000)]
man/lha.1: correct the description about the -m command.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@889
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Wed, 5 Mar 2008 22:23:46 +0000 (22:23 +0000)]
man/lha.1 was changed a little and the BUGS section was removed.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@888
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Wed, 5 Mar 2008 22:23:40 +0000 (22:23 +0000)]
man/lha.1 was corrected by Stanislav Brabec.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@887
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Wed, 5 Mar 2008 22:23:34 +0000 (22:23 +0000)]
should treat "-ab" as "-a -b" for shortopts="-a[0123]b".
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@886
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 2 Mar 2008 10:21:47 +0000 (10:21 +0000)]
man/lha.1 is refined
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@885
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 2 Mar 2008 10:21:41 +0000 (10:21 +0000)]
should remove duplicated slash
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@884
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 2 Mar 2008 10:21:36 +0000 (10:21 +0000)]
added new manual page in English.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@883
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 2 Mar 2008 10:21:31 +0000 (10:21 +0000)]
correct English
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@882
6a8cc165-1e22-0410-a132-
eb4e3f353aba
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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