diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2013-10-26 11:32:15 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-11-08 09:28:05 +1000 |
commit | 57090d8cba65988b822a215947a5fb44d55790d0 (patch) | |
tree | ebad03ec7c10cef372b4fe548c67a9dfc7f0f904 /lib/libalpm/be_sync.c | |
parent | af284d5fdb0ef15dbb7a2082380e2ec586599774 (diff) | |
download | pacman-57090d8cba65988b822a215947a5fb44d55790d0.tar.xz |
alpm_handle: store lock file descriptor
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@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/be_sync.c')
0 files changed, 0 insertions, 0 deletions