[patch] TODO for 4.6.1: ./file in tar archive

Roland Illig roland.illig at gmx.de
Thu Sep 30 17:52:50 UTC 2004


Hi,

this patch fixes the second TODO item for 4.6.1. It is not perfect, but 
it works. We should do much more error checking at this point, for 
example for "../file" or similar things. Therefore we should use a 
function like canonicalize_pathname from src/utilunix.c. We cannot use 
that function because of license issues (utilunix.c is GPL, vfs is LGPL) 
and dependency conflicts (src uses vfs, so vfs cannot use src; see ld(1) 
for further information).

Roland
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mc_vfs_tar_c-dotdir.patch
Type: text/x-patch
Size: 509 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20040930/d628282e/attachment.bin>


More information about the mc-devel mailing list