[PATCH] tar: regression with hardlinked symlinks

Harald van Dijk harald at gigawatt.nl
Sat Mar 31 21:34:29 UTC 2018


On 3/31/18 9:09 PM, Harald van Dijk wrote:
> Test case:
> 
>    >a
>    ln -s a b
>    ln b c
>    mkdir new
>    tar cf - a b c | tar -C new -xf -

Apologies...

This is a botched test case. Because this doesn't actually delay the 
symlink creation, I didn't notice the delayed symlink handling creating 
the links in reverse order, causing my patch to not work correctly.

Will re-work the patch and double-check my test case against official 
busybox to verify that my next attempt actually fixes the problem.


More information about the busybox mailing list