OSDN Git Service

* tests/lha-test.in (lha-test14): added to test the symbolic link file.
authorarai <arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Sat, 24 Aug 2002 11:56:15 +0000 (11:56 +0000)
committerarai <arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Sat, 24 Aug 2002 11:56:15 +0000 (11:56 +0000)
commitefd19f3837ba782c602a0b1bc9cdd9ce8b0cda59
tree823c7d59e0c79eab4a295ae335953d25801240b6
parenteb2a00e1c27c5551996bf4971541068bf97e5925
* tests/lha-test.in (lha-test14): added to test the symbolic link file.

* src/lhlist.c (list_one): use LzHeader.realname.

* src/lhext.c (extract_one): use LzHeader.realname.
should call make_parent_path(symlink).

* src/lhadd.c (add_one): use LzHeader.realname.
(delete): ditto.
(append_it): use strcmp() instead of strcmp_filename().
(strcmp_filename): removed.

* src/lha.h (struct LzHeader): added a member `realname' which is
symbolic linked name.

* src/header.c (get_header): split symbolic name in archive.
(write_header): join symbolic link name and linked name to put it
in archive.

git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@522 6a8cc165-1e22-0410-a132-eb4e3f353aba
src/header.c
src/lha.h
src/lhadd.c
src/lhext.c
src/lhlist.c
tests/lha-test.in