[pacman-dev] [PATCHv3] alpm_handle: store lock file descriptor
Allan McRae
allan at archlinux.org
Fri Nov 1 01:03:23 EDT 2013
On 29/10/13 15:53, Allan McRae wrote:
> On 27/10/13 01:32, Andrew Gregory wrote:
>> There was a brief window between opening the file descriptor and
>> creating a stream to it. If the process was interrupted during that
>> window the lock file would not be removed correctly.
>>
>> The pid is no longer printed to the lock file as this was virtually
>> meaningless for lock files on NFS.
>>
>> Fixes FS#35603
>>
>> Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
>> ---
>
> Can someone else also look at commit acd92694 and ensure we are not
> regressing here. I think this is fine...
>
Updating the test case that was posted with commit acd92694 [1] shows
this is not regressing.
[1]
https://mailman.archlinux.org/pipermail/pacman-dev/2011-February/012552.html
Pulled to my working branch.
A
More information about the pacman-dev
mailing list