[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] [patch] tar 1.23 hangs in tight loop when extracting alrea
Re: [Bug-tar] [patch] tar 1.23 hangs in tight loop when extracting already existing symlinks when using -k option
Thu, 25 Mar 2010 19:16:06 +0200
Ico Doornekamp <address@hidden> ha escrit:
> Tar 1.23 hangs when trying to extract an already exisiting symlink when
> using the -k (--keep-old-files) option.
> The open() call in create_placeholder_file() fails because of the O_EXCL
> bit, so create_placeholder_file() starts retrying the operation in a
> tight loop because it does not seem to handle to return value
> RECOVER_SKIP from maybe_recoverable().
Thanks for reporting. This calls for a deeper code review, indeed.