OSDN Git Service

lha/lha.git
7 years agoShould not create symlinks in `lha p' command.
Koji Arai [Sat, 7 May 2016 06:00:10 +0000 (15:00 +0900)]
Should not create symlinks in `lha p' command.

7 years agoFix a buffer overflow bug in getbytes()
Koji Arai [Fri, 6 May 2016 23:47:40 +0000 (08:47 +0900)]
Fix a buffer overflow bug in getbytes()

7 years agoThe header length should be check more strictly.
Koji Arai [Mon, 2 May 2016 15:34:04 +0000 (00:34 +0900)]
The header length should be check more strictly.

8 years agoAdd more strict sanity check
Koji Arai [Tue, 2 Feb 2016 18:11:45 +0000 (03:11 +0900)]
Add more strict sanity check

8 years agoFix another BUG about negative length.
Koji Arai [Tue, 2 Feb 2016 17:46:10 +0000 (02:46 +0900)]
Fix another BUG about negative length.

8 years agoFix a BUG skip size become negative in the skip_bytes() function, when the extended...
Koji Arai [Fri, 22 Jan 2016 13:47:49 +0000 (22:47 +0900)]
Fix a BUG skip size become negative in the skip_bytes() function, when the extended header size is too short

8 years agoAvoid the buffer overflow BUG to occur to read the level0 or level1 header
Koji Arai [Sat, 16 Jan 2016 12:28:44 +0000 (21:28 +0900)]
Avoid the buffer overflow BUG to occur to read the level0 or level1 header

8 years agoMerge pull request #6 from yoheie/remove-config-h-in
Koji Arai [Mon, 4 Jan 2016 12:50:27 +0000 (21:50 +0900)]
Merge pull request #6 from yoheie/remove-config-h-in

Remove config.h.in

8 years agoRemove config.h.in
Yohei Endo [Mon, 4 Jan 2016 09:55:21 +0000 (18:55 +0900)]
Remove config.h.in

config.h.in is generated by autoheader.
Fix usage of Autotools commands described in README.jp.md and INSTALL.

8 years agoMerge pull request #5 from yoheie/fix-make_name_with_pathcheck
Koji Arai [Mon, 30 Nov 2015 13:39:13 +0000 (22:39 +0900)]
Merge pull request #5 from yoheie/fix-make_name_with_pathcheck

make_name_with_pathcheck() 修正

8 years agoFix build error when lstat is not supported
Yohei Endo [Mon, 30 Nov 2015 13:24:01 +0000 (22:24 +0900)]
Fix build error when lstat is not supported

8 years agoRemove unused parameter
Yohei Endo [Mon, 30 Nov 2015 13:16:46 +0000 (22:16 +0900)]
Remove unused parameter

8 years agoAdd a compiler clang
Koji Arai [Sun, 29 Nov 2015 13:02:52 +0000 (22:02 +0900)]
Add a compiler clang

8 years agoRemove email address from .travis.yml
Koji Arai [Sun, 29 Nov 2015 13:02:34 +0000 (22:02 +0900)]
Remove email address from .travis.yml

8 years agoAdd .travis.yml
Koji Arai [Sun, 29 Nov 2015 12:46:18 +0000 (21:46 +0900)]
Add .travis.yml

8 years agoShould not use fatal_error() because the errno may not be set
Koji Arai [Sun, 29 Nov 2015 12:10:54 +0000 (21:10 +0900)]
Should not use fatal_error() because the errno may not be set

8 years agoReplace fprintf() with fatal_error()
Koji Arai [Sun, 29 Nov 2015 11:47:51 +0000 (20:47 +0900)]
Replace fprintf() with fatal_error()

8 years agoPrevent from extracting files follow symbolic link
Koji Arai [Sun, 29 Nov 2015 11:25:07 +0000 (20:25 +0900)]
Prevent from extracting files follow symbolic link

Thanks to Yohei Endo.

8 years agoChange the file encoding to UTF-8.
Koji Arai [Sun, 29 Nov 2015 11:09:52 +0000 (20:09 +0900)]
Change the file encoding to UTF-8.

8 years agoMerge pull request #2 from yoheie/fix-case-conversion
Koji Arai [Sun, 18 Oct 2015 12:57:08 +0000 (21:57 +0900)]
Merge pull request #2 from yoheie/fix-case-conversion

Fix filename case conversion on utf8 system

8 years agoFix nesting of MULTIBYTE_FILENAME compiler switch
Yohei Endo [Sat, 17 Oct 2015 23:40:37 +0000 (08:40 +0900)]
Fix nesting of MULTIBYTE_FILENAME compiler switch

8 years agoFix filename case conversion on utf8 system
Yohei Endo [Sat, 17 Oct 2015 16:06:50 +0000 (01:06 +0900)]
Fix filename case conversion on utf8 system

8 years agoMerge pull request #1 from yoheie/fix-makefile-am
Koji Arai [Tue, 13 Oct 2015 12:04:39 +0000 (21:04 +0900)]
Merge pull request #1 from yoheie/fix-makefile-am

Fix filenames in Makefile.am

8 years agoFix filenames in Makefile.am
Yohei Endo [Tue, 13 Oct 2015 09:24:26 +0000 (18:24 +0900)]
Fix filenames in Makefile.am

9 years agoWe do not have to support non-ANSI C compilers
Koji Arai [Tue, 20 Jan 2015 11:23:31 +0000 (20:23 +0900)]
We do not have to support non-ANSI C compilers

The prototypes.h was made by cproto 4.71

9 years agoAdd some ignore files
Koji Arai [Mon, 19 Jan 2015 14:26:58 +0000 (23:26 +0900)]
Add some ignore files

9 years agoRemove AM_C_PROTOTYPES from configure.ac
Koji Arai [Mon, 19 Jan 2015 14:04:13 +0000 (23:04 +0900)]
Remove AM_C_PROTOTYPES from configure.ac

9 years agoChange documents to UTF-8 encoding
Koji Arai [Mon, 19 Jan 2015 13:08:59 +0000 (22:08 +0900)]
Change documents to UTF-8 encoding

Rewrite 00readme.autoconf to README.jp.md (Markdown)

12 years agoMerge branch 'pmarc'
Koji Arai [Sat, 26 Nov 2011 13:25:59 +0000 (22:25 +0900)]
Merge branch 'pmarc'

15 years agoPMA extracting sources were licensed under the MIT license pmarc
Koji Arai [Wed, 12 Nov 2008 13:15:14 +0000 (22:15 +0900)]
PMA extracting sources were licensed under the MIT license

15 years agoWorkaround for Zsh bug? on Cygwin.
Koji Arai [Thu, 30 Oct 2008 00:35:38 +0000 (09:35 +0900)]
Workaround for Zsh bug? on Cygwin.

15 years agolha-test.in: print All OK if it is so.
Koji Arai [Thu, 30 Oct 2008 13:36:55 +0000 (22:36 +0900)]
lha-test.in: print All OK if it is so.

15 years agoOn HP-UX 11.23, discard warning message for non-eol files output by diff command.
Koji Arai [Thu, 30 Oct 2008 06:17:21 +0000 (15:17 +0900)]
On HP-UX 11.23, discard warning message for non-eol files output by diff command.

15 years agoOn HP-UX 11.23, "chmod -R" cannot change the file permission in non-writable and...
Koji Arai [Thu, 30 Oct 2008 06:11:55 +0000 (15:11 +0900)]
On HP-UX 11.23, "chmod -R" cannot change the file permission in non-writable and non-executable directory

15 years agoshould define MIN() when it was not defined
Koji Arai [Thu, 30 Oct 2008 06:06:52 +0000 (15:06 +0900)]
should define MIN() when it was not defined

15 years agocannot operate ++ for void pointer
Koji Arai [Thu, 30 Oct 2008 06:05:05 +0000 (15:05 +0900)]
cannot operate ++ for void pointer

15 years agoEnclosed the INSTALL file for European.
Koji Arai [Fri, 24 Oct 2008 15:34:45 +0000 (00:34 +0900)]
Enclosed the INSTALL file for European.

It is contributed by Reynir Stefansson. Thanks!

15 years agofixed a bug for timestamp archiving feature
Koji Arai [Thu, 23 Oct 2008 13:57:43 +0000 (22:57 +0900)]
fixed a bug for timestamp archiving feature

* configure.ac: updated version.
* src/lhadd.c(cmd_add): fixed a bug reported by Reynir Stefansson.
  the variable most_recent should be reset at the first.
* tests/lha-test19: added a testcase for above.

15 years agoupdated ChangeLog, configure.ac, man/lha.1 for timestamp archiving feature
Koji Arai [Fri, 3 Oct 2008 16:16:21 +0000 (01:16 +0900)]
updated ChangeLog, configure.ac, man/lha.1 for timestamp archiving feature

15 years agomaketree2() should refer the tree1 info at first.
Koji Arai [Wed, 10 Sep 2008 03:53:45 +0000 (12:53 +0900)]
maketree2() should refer the tree1 info at first.

15 years agoFixed bug: uninitialized variable has been used in maketree2().
Koji Arai [Tue, 9 Sep 2008 15:46:10 +0000 (00:46 +0900)]
Fixed bug: uninitialized variable has been used in maketree2().

Make sure whether the maketree2() need to use the tree1 info.
This is experimental changes.

15 years agorefined. global tree1, tree2 and struct tree are hidden in pm2tree.c
Koji Arai [Sat, 30 Aug 2008 15:32:46 +0000 (00:32 +0900)]
refined. global tree1, tree2 and struct tree are hidden in pm2tree.c

15 years agoshould check the tree1 value
Koji Arai [Sat, 30 Aug 2008 14:29:22 +0000 (23:29 +0900)]
should check the tree1 value

15 years agosymmetry
Koji Arai [Sat, 30 Aug 2008 14:05:41 +0000 (23:05 +0900)]
symmetry

15 years agoshould start with mindepth
Koji Arai [Sat, 30 Aug 2008 13:43:16 +0000 (22:43 +0900)]
should start with mindepth

When table[] is assigned with a value which is smaller than mindepth,
it is not used in tree_rebuild().

15 years agoshould use header->method instead of permission for timestamp archiving
Koji Arai [Fri, 29 Aug 2008 16:14:58 +0000 (01:14 +0900)]
should use header->method instead of permission for timestamp archiving

15 years agolha-test19 is added for timestamping archive feature
Koji Arai [Fri, 29 Aug 2008 15:42:56 +0000 (00:42 +0900)]
lha-test19 is added for timestamping archive feature

15 years agoremade the timestamping archive patch
Koji Arai [Wed, 27 Aug 2008 15:51:32 +0000 (00:51 +0900)]
remade the timestamping archive patch

15 years agoMerge commit 'origin' into timestamping
Koji Arai [Wed, 27 Aug 2008 14:07:39 +0000 (23:07 +0900)]
Merge commit 'origin' into timestamping

15 years agoshould check the Kraft's inequality for tree
Koji Arai [Wed, 27 Aug 2008 12:54:01 +0000 (21:54 +0900)]
should check the Kraft's inequality for tree

15 years agorefined
Koji Arai [Sat, 23 Aug 2008 19:26:55 +0000 (04:26 +0900)]
refined

15 years agore-indent for pm2 source by GNU indent.
Koji Arai [Sat, 23 Aug 2008 19:14:06 +0000 (04:14 +0900)]
re-indent for pm2 source by GNU indent.

15 years agoapplied timestamping archive patch
Koji Arai [Thu, 21 Aug 2008 03:23:58 +0000 (12:23 +0900)]
applied timestamping archive patch

15 years agoseek_lha_header() should search the PMA archive
Koji Arai [Fri, 22 Aug 2008 16:33:48 +0000 (01:33 +0900)]
seek_lha_header() should search the PMA archive

15 years agoconfig.h (or lha.h) should be included at the top of source.
Koji Arai [Fri, 22 Aug 2008 16:17:45 +0000 (01:17 +0900)]
config.h (or lha.h) should be included at the top of source.

15 years agoMerge commit 'origin/master' into pmarc
Koji Arai [Fri, 22 Aug 2008 16:10:19 +0000 (01:10 +0900)]
Merge commit 'origin/master' into pmarc

15 years ago* src/lhext.c (cmd_extract): stream position was adjusted by wrong value.
Koji Arai [Fri, 22 Aug 2008 16:02:44 +0000 (01:02 +0900)]
* src/lhext.c (cmd_extract): stream position was adjusted by wrong value.

* src/lhext.c (extract_one): fixed misspelling.

15 years agoupdated cproto.sh for PMA
Koji Arai [Wed, 20 Aug 2008 16:25:46 +0000 (01:25 +0900)]
updated cproto.sh for PMA

15 years agosupport PMA file decoding
Koji Arai [Wed, 20 Aug 2008 15:54:10 +0000 (00:54 +0900)]
support PMA file decoding

15 years agoupdate Hacking_of_LHa
Koji Arai [Tue, 19 Aug 2008 15:03:56 +0000 (00:03 +0900)]
update Hacking_of_LHa

15 years ago* src/larc.c (decode_start_lz5): should use the dtext[] instead of the text[].
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.

15 years agoMerge branch 'master' of ssh://kuro-box/home/arai/public_html/lha
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

15 years agoMerge branch 'master' of /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

15 years ago* src/header.c (convert_filename): Fixed a bug:
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).

15 years agoupdate Hacking_of_LHa
Koji Arai [Wed, 16 Jul 2008 14:44:24 +0000 (23:44 +0900)]
update Hacking_of_LHa

15 years agoupdate Hacking_of_LHa
Koji Arai [Tue, 15 Jul 2008 13:13:12 +0000 (22:13 +0900)]
update Hacking_of_LHa

15 years agoupdate Hacking_of_LHa
Koji Arai [Wed, 25 Jun 2008 13:22:01 +0000 (22:22 +0900)]
update Hacking_of_LHa

15 years agoupdate Hacking_of_LHa
Koji Arai [Tue, 24 Jun 2008 14:03:31 +0000 (23:03 +0900)]
update Hacking_of_LHa

15 years agoThe -t command should not affect extracting file attributes.
Koji Arai [Wed, 14 May 2008 15:05:49 +0000 (00:05 +0900)]
The -t command should not affect extracting file attributes.

15 years agoadded a long option --debug=dumplzss which display debugging information for the...
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.

16 years agoadd_dirinfo() no longer suppose that contents of the LZH archive is sorted by pathname.
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

16 years agoman/lha.1: correct the description about the -m command.
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

16 years agoman/lha.1 was changed a little and the BUGS section was removed.
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

16 years agoman/lha.1 was corrected by Stanislav Brabec.
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

16 years agoshould treat "-ab" as "-a -b" for shortopts="-a[0123]b".
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

16 years agoman/lha.1 is refined
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

16 years agoshould remove duplicated slash
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

16 years agoadded new manual page in English.
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

16 years agocorrect English
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

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