OSDN Git Service

Fix warning message on extracting symlink.
authorYohei Endo <yoheie@gmail.com>
Wed, 5 Oct 2016 03:33:42 +0000 (12:33 +0900)
committerYohei Endo <yoheie@gmail.com>
Wed, 5 Oct 2016 03:33:42 +0000 (12:33 +0900)
commitcac04476fbf56b8b99ea857ffde147e682f06ab8
treed1be6dce906651608e6867230dd4c05d507dfe97
parentafa85b9bce7f989ec3d70434f7e63ebd8f965c33
Fix warning message on extracting symlink.

When a symbolic link which is in the top directory in archive is
extracted, warning message "LHa: invalid path name" is printed.

Add symlink_with_make_path(), fix to call make_parent_path() only
when the first symlink() is failed.
src/lhext.c