Bugfixes.

* bootstrap (symlink_to_dir): Fix symlink calculation.
* doc/tar.texi: Minor fixes by Victor Villa and Stepan Kasal.
This commit is contained in:
Sergey Poznyakoff
2009-03-12 16:15:06 +02:00
parent 9077de9fa9
commit 67cad0792b
4 changed files with 22 additions and 23 deletions

View File

@@ -415,6 +415,7 @@ symlink_to_dir()
/*) ;;
*)
case /$dst/ in
/./*) ;;
*//* | */../* | */./* | /*/*/*/*/*/)
echo >&2 "$0: invalid symlink calculation: $src -> $dst"
exit 1;;