[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-cpio] [PATCH] Fix creation of newc/crc archives with files cont
From: |
Dmitry V. Levin |
Subject: |
Re: [Bug-cpio] [PATCH] Fix creation of newc/crc archives with files containing multiple hard links |
Date: |
Mon, 1 Mar 2010 04:52:01 +0300 |
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
pgph14YJHZccN.pgp
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Bug-cpio] [PATCH] Fix creation of newc/crc archives with files containing multiple hard links,
Dmitry V. Levin <=