libunarchive: fix ancient bug (?) checking for newer file

Denys Vlasenko vda.linux at googlemail.com
Tue Nov 24 00:17:35 UTC 2009


On Monday 23 November 2009 23:02, Alejandro Mery wrote:
> Hi,
> 
> playing with `cpio` I noticed the conditional in data_extract_all() 
> <http://git.busybox.net/busybox/tree/archival/libunarchive/data_extract_all.c#n39> 
> if the new file is older than the current is reversed. current code only 
> allows overwritting with old files... which doesn't make much sense... 
> to me.

Applied, thanks!
--
vda


More information about the busybox mailing list