OSDN Git Service
arai [Sat, 10 Aug 2002 10:14:38 +0000 (10:14 +0000)]
* src/prototypes.h: updated.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@456
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 10 Aug 2002 10:11:53 +0000 (10:11 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@455
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 10 Aug 2002 10:11:47 +0000 (10:11 +0000)]
* src/prototypes.h: updated.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@454
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 10 Aug 2002 10:11:21 +0000 (10:11 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@453
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 10 Aug 2002 10:08:56 +0000 (10:08 +0000)]
* src/header.c (get_header_level2): check CRC value for reading
level 2 and 3 header.
(get_header_level3): ditto.
(get_extended_header): ditto.
(get_header_level0): set total header size to
`LzHeader.header_size' even if level 0 or 1 header is read.
(get_header_level1): ditto.
* src/append.c (encode_lzhuf): encode(), decode() and copyfile()
were changed.
(put_indicator): moved from crcio.c.
* src/crcio.c (put_indicator): moved to append.c.
(calccrc): generalized.
(fread_crc): changed interface.
(fwrite_crc): changed interface.
(calc_header_crc): removed. use calccrc() instead.
* src/extract.c (decode_lzhuf): copyfile() and decode() were changed.
* src/lha.h: hate global variable. `crc' is removed.
`reading_size' moved to append.c.
* src/lha_macro.h (INITIALIZE_CRC): newly added.
(UPDATE_CRC): no update in macro code.
* src/lhadd.c (temporary_to_new_archive_file): copyfile() was changed.
* src/lharc.c (copy_old_one): header size adjusting is done by
the get_header().
* src/slide.c (update): changed interface.
(get_next): ditto.
(encode): ditto.
(decode): ditto.
* src/util.c (copyfile): changed interface.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@452
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 10 Aug 2002 09:47:50 +0000 (09:47 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@451
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 10 Aug 2002 09:32:58 +0000 (09:32 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@450
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 10 Aug 2002 09:30:04 +0000 (09:30 +0000)]
* tests/lha-test5: added tests using pipe.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@449
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 10 Aug 2002 09:24:30 +0000 (09:24 +0000)]
* src/lhadd.c (cmd_add): applied reverse patch. intermediate file
is the necessary when created archive put in pipe.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@448
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 10 Aug 2002 04:29:31 +0000 (04:29 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@447
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 10 Aug 2002 04:23:40 +0000 (04:23 +0000)]
* src/header.c (skip_bytes): newly added.
(dump_get_byte): newly added for dumpimp the data for debugging.
(dump_skip_bytes): ditto.
(get_word): ditto.
(get_longword): ditto.
(get_bytes): ditto.
(get_extended_header): modified for reading the level 3 header.
(get_header_level3): newly added.
* src/lha.h (struct LzHeader): for level 3 header, added a new
member `size_field_length' and changed type of the `header_size'
from int to long.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@446
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 10 Aug 2002 02:26:13 +0000 (02:26 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@445
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Fri, 9 Aug 2002 23:43:48 +0000 (23:43 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@444
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Fri, 9 Aug 2002 23:42:37 +0000 (23:42 +0000)]
* src/header.c (init_header): the `hdr->method' should be
initialized by the "-lh0-" for empty files.
* tests/lha-test2: ditto.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@443
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Fri, 9 Aug 2002 23:30:32 +0000 (23:30 +0000)]
* src/lhadd.c (add_one): should print indicator for empty files.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@442
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Fri, 9 Aug 2002 06:37:51 +0000 (06:37 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@441
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Fri, 9 Aug 2002 06:37:08 +0000 (06:37 +0000)]
* tests/lha-test.in: adapt to ksh (and posix shell).
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@440
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 4 Aug 2002 20:34:53 +0000 (20:34 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@439
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 4 Aug 2002 20:34:49 +0000 (20:34 +0000)]
* 00readme.autoconf: refined.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@438
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 4 Aug 2002 20:06:07 +0000 (20:06 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@437
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 4 Aug 2002 20:06:01 +0000 (20:06 +0000)]
* config.h.in (BACKUP_OLD_ARCHIVE): added.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@436
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 4 Aug 2002 20:05:24 +0000 (20:05 +0000)]
* configure.ac: added a command line switch `--enable-backup-archive'.
* src/lhadd.c (cmd_add): if `backup_old_archive' is true, no
backup archive.
(cmd_delete): ditto.
* src/lharc.c (init_variable): initialize `backup_old_archive'.
* src/lha.h (backup_old_archive): added for nobackup.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@435
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 3 Aug 2002 19:12:34 +0000 (19:12 +0000)]
use dup2()
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@434
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 3 Aug 2002 19:05:17 +0000 (19:05 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@433
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 3 Aug 2002 19:03:21 +0000 (19:03 +0000)]
use RETSIGTYPE macro.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@432
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 3 Aug 2002 18:27:59 +0000 (18:27 +0000)]
changed comment.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@431
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Thu, 1 Aug 2002 15:09:23 +0000 (15:09 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@430
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Thu, 1 Aug 2002 15:09:14 +0000 (15:09 +0000)]
* src/lha_macro.h, src/lha.h, src/header.c, src/lhadd.c: Fixed
misspelling, not `STRAGE' but `STORAGE'.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@429
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 28 Jul 2002 18:57:56 +0000 (18:57 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@428
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 28 Jul 2002 18:57:43 +0000 (18:57 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@427
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 28 Jul 2002 17:04:07 +0000 (17:04 +0000)]
changed tab to space.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@426
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 28 Jul 2002 16:57:05 +0000 (16:57 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@424
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 28 Jul 2002 16:55:38 +0000 (16:55 +0000)]
* src/header.c (get_header): fixed wrong end mark checking.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@423
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 28 Jul 2002 16:10:50 +0000 (16:10 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@422
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 28 Jul 2002 16:10:28 +0000 (16:10 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@421
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 28 Jul 2002 16:10:22 +0000 (16:10 +0000)]
* src/header.c: should use error() instead of fatal_error().
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@420
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 28 Jul 2002 16:09:52 +0000 (16:09 +0000)]
* src/prototypes.h: updated.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@419
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 28 Jul 2002 15:38:53 +0000 (15:38 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@417
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 28 Jul 2002 15:38:49 +0000 (15:38 +0000)]
* configure.ac: updated version.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@416
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 28 Jul 2002 15:38:04 +0000 (15:38 +0000)]
* 00readme.autoconf: described about header.c bug on original lha.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@415
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 28 Jul 2002 14:38:37 +0000 (14:38 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@414
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 28 Jul 2002 03:43:50 +0000 (03:43 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@413
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 28 Jul 2002 03:43:46 +0000 (03:43 +0000)]
* tests/Makefile.am (Repository): added lha-test11.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@412
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 28 Jul 2002 03:30:36 +0000 (03:30 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@411
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 28 Jul 2002 03:29:33 +0000 (03:29 +0000)]
* src/crcio.c (fread_txt): responded to (gcc -Wall) compiler warnings.
* src/header.c (generic_to_unix_stamp): ditto.
* src/lha_macro.h: ditto.
* src/lhadd.c (delete): ditto.
* src/lharc.c (open_old_archive): ditto.
* src/lhlist.c (list_one): ditto.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@410
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 27 Jul 2002 16:44:44 +0000 (16:44 +0000)]
* src/prototypes.h: updated.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@409
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 27 Jul 2002 16:40:09 +0000 (16:40 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@408
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 27 Jul 2002 16:40:01 +0000 (16:40 +0000)]
* tests/lha-test.in: added lha-test11.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@407
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 27 Jul 2002 16:39:42 +0000 (16:39 +0000)]
* tests/lha-test8: added tests for level 0 and 2 header.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@406
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 27 Jul 2002 16:38:36 +0000 (16:38 +0000)]
* tests/lha-test11: testing for long filename. moved from lha-test10.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@405
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 27 Jul 2002 16:38:30 +0000 (16:38 +0000)]
* tests/lha-test10: added tests for generic header.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@404
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Thu, 25 Jul 2002 18:49:42 +0000 (18:49 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@403
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Thu, 25 Jul 2002 18:49:36 +0000 (18:49 +0000)]
* src/header.c (write_header): rewritten.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@402
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Wed, 24 Jul 2002 21:12:20 +0000 (21:12 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@401
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Wed, 24 Jul 2002 21:12:14 +0000 (21:12 +0000)]
* tests/lha-test4: stderr should be redirected.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@400
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Wed, 24 Jul 2002 18:18:31 +0000 (18:18 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@399
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Wed, 24 Jul 2002 18:17:57 +0000 (18:17 +0000)]
* src/lharc.c (main): exit with status 1 (meaning failure) when the
function error() was called.
(error): ditto.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@398
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Wed, 24 Jul 2002 18:15:54 +0000 (18:15 +0000)]
* src/lha.h (LzHeader.last_modified_stamp;): no longer used.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@397
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Wed, 24 Jul 2002 18:13:41 +0000 (18:13 +0000)]
* src/header.c (get_header): rewritten.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@396
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 21 Jul 2002 11:21:31 +0000 (11:21 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@395
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 21 Jul 2002 06:22:59 +0000 (06:22 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@394
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 21 Jul 2002 06:21:07 +0000 (06:21 +0000)]
* tests/lha-test10: change grep pattern so that pattern matches
a carriage return at the end of line for MinGW.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@393
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 21 Jul 2002 06:14:02 +0000 (06:14 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@392
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 21 Jul 2002 06:12:46 +0000 (06:12 +0000)]
* src/lha.h: define `struct utimbuf' when utime.h is not given
such as MinGW. (Microsoft Visual Studio 6.0 has sys/utime.h).
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@391
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 21 Jul 2002 06:07:58 +0000 (06:07 +0000)]
* src/lhext.c (make_parent_path): missing braces.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@390
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 21 Jul 2002 05:27:06 +0000 (05:27 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@389
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 21 Jul 2002 04:12:15 +0000 (04:12 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@388
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 21 Jul 2002 04:10:53 +0000 (04:10 +0000)]
* tests/lha-test.in (check): print script line number when test failed.
* tests/lha-test2, tests/lha-test3, tests/lha-test4, tests/lha-test5, tests/lha-test6, tests/lha-test7, tests/lha-test8, tests/lha-test9, tests/lha-test10: ditto.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@387
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 21 Jul 2002 03:38:58 +0000 (03:38 +0000)]
* tests/lha-test10: on Cygwin/MinGW, could not make 255 bytes
filename. (the system limit of filename length contains the length
of current directory.)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@386
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 21 Jul 2002 00:41:42 +0000 (00:41 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@385
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sun, 21 Jul 2002 00:41:37 +0000 (00:41 +0000)]
* tests/lha-test10: should use /bin/ls instead of ls, since
/usr/ucb/ls puts size on 4th field (on Solaris).
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@384
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Wed, 17 Jul 2002 16:08:27 +0000 (16:08 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@382
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Wed, 17 Jul 2002 16:08:24 +0000 (16:08 +0000)]
* configure.ac: updated version.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@381
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Wed, 17 Jul 2002 16:01:54 +0000 (16:01 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@380
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Wed, 17 Jul 2002 16:01:45 +0000 (16:01 +0000)]
* src/lhext.c (adjust_info): should use `struct utimbuf' for
`utime(2)' rather than `time_t' array.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@379
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Wed, 17 Jul 2002 15:48:50 +0000 (15:48 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@378
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Wed, 17 Jul 2002 15:47:32 +0000 (15:47 +0000)]
* src/header.c (write_header): [BUG] should not write zero at the
first byte on level 2 header. adjust header size.
* tests/lha-test10: added tests for level 2 header.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@377
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Wed, 17 Jul 2002 15:45:17 +0000 (15:45 +0000)]
* src/header.c (write_header): [BUG] should not write zero at the
first byte on level 2 header. adjust header size.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@376
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Wed, 17 Jul 2002 15:14:18 +0000 (15:14 +0000)]
* src/lha_macro.h, src/header.c (setup_get): moved to header.c.
(get_byte): ditto.
(put_ptr): ditto.
(setup_put): ditto.
(put_byte): ditto.
(get_bytes): newly added.
(put_bytes): newly added.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@375
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Wed, 17 Jul 2002 14:19:04 +0000 (14:19 +0000)]
* src/header.c (get_header): [BUG] Could not read level 2 header
when the header size is grater than 256.
(convert_filename): Should use the `FILENAME_LENGTH' macro rather
than 256.
(write_header): [BUG] Suppress to overflow the header size when
long filename is written in level 0 or 1 header. On level 1
header, always use the extended filename header instead of the
base header.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@374
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Tue, 16 Jul 2002 19:17:16 +0000 (19:17 +0000)]
* src/lha.h (LzHeader): the typoe of `header_size' was changed
from `unsigned char' to `int', for the level 2 header archive.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@373
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Tue, 16 Jul 2002 19:15:59 +0000 (19:15 +0000)]
* src/lhext.c (extract_one): should use the `FILENAME_LENGTH'
macro rather than 256 (provisionally fixed).
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@372
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Tue, 16 Jul 2002 19:14:03 +0000 (19:14 +0000)]
* tests/lha-test.in: notify failed test number.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@371
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Tue, 16 Jul 2002 19:12:36 +0000 (19:12 +0000)]
* tests/lha-test10: added tests for long pathname.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@370
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Mon, 15 Jul 2002 19:03:26 +0000 (19:03 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@369
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 13 Jul 2002 21:27:36 +0000 (21:27 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@367
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 13 Jul 2002 21:21:45 +0000 (21:21 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@366
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 13 Jul 2002 21:21:23 +0000 (21:21 +0000)]
* src/header.c (get_header): archive path separator should be converted always.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@365
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 13 Jul 2002 20:56:23 +0000 (20:56 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@363
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 13 Jul 2002 20:56:17 +0000 (20:56 +0000)]
* src/header.c (write_header): if user/group name is not set,
extended header (0x52 and 0x53) should not be made.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@362
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 13 Jul 2002 20:39:19 +0000 (20:39 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@361
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 13 Jul 2002 20:39:14 +0000 (20:39 +0000)]
* configure.ac: updated version.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@360
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 13 Jul 2002 20:37:47 +0000 (20:37 +0000)]
* tests/lha-test10: added testing handle deep directory.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@359
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 13 Jul 2002 20:36:03 +0000 (20:36 +0000)]
* src/header.c (write_header): fixed typo, not strchr() but
strrchr().
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@358
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 13 Jul 2002 19:36:29 +0000 (19:36 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@357
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 13 Jul 2002 19:35:46 +0000 (19:35 +0000)]
* src/prototypes.h: regenerated.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@356
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 13 Jul 2002 19:30:47 +0000 (19:30 +0000)]
* src/header.c (convert_filename): prefer to use the
`FILENAME_LENGTH' macro rather than 256.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@355
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Sat, 13 Jul 2002 19:25:25 +0000 (19:25 +0000)]
* src/cproto.sh: fixed typo.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@354
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Wed, 10 Jul 2002 17:47:33 +0000 (17:47 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@353
6a8cc165-1e22-0410-a132-
eb4e3f353aba
arai [Wed, 10 Jul 2002 17:47:29 +0000 (17:47 +0000)]
* tests/Makefile.am (EXTRA_DIST): lha-test9 and lha-test10 were missed.
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@352
6a8cc165-1e22-0410-a132-
eb4e3f353aba