On Fri, Nov 20, 2009 at 03:05:32AM +0300, Dmitry V. Levin wrote: > * src/copyout.c (count_defered_links_to_dev_ino): Make return type > unsigned. Fix local variable types to match cpio_file_stat members > types. > (last_link): Make link count type unsigned. > (writeout_other_defers): Fix local variable types to match > cpio_file_stat members types. > (writeout_final_defers): Make link count type unsigned. > --- > If a hardlink that was going to be archived had an inode number greater > than MAX_INT, it was archived as an empty file.
Commit 7c5fda3fbada772e53e0c347621921a8111738c0 (Fix inode number typing) fixes types of inode variables, so it should fix the whole problem. Other changes of variable types I proposed are less important but still worth applying. -- ldv
pgp75D9evnFJI.pgp
Description: PGP signature
