OSDN Git Service

* src/header.c (copy_path_element, remove_dots, init_header):
authorarai <arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Sat, 24 Feb 2007 10:13:22 +0000 (10:13 +0000)
committerarai <arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Sat, 24 Feb 2007 10:13:22 +0000 (10:13 +0000)
commitf3d342c9f8b860b6a4db4ef7e535f4ac50f5a5ac
tree1101fae71a11a8f1562927d4177d1f7b0f1ab14f
parent84d9f899f0aaa0dbef318d000781db5d3a0594ef
* 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
ChangeLog
src/header.c
tests/Makefile.am
tests/lha-test.in
tests/lha-test17 [new file with mode: 0755]