diff options
author | Dave Reisner <d@falconindy.com> | 2011-05-14 18:54:03 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-05-16 17:16:13 +0200 |
commit | b9a2318becfc9d6ffb92e602adf433faa8cec383 (patch) | |
tree | 6913704f8476aa8a235aa4f951ad95f74a2a76ed /lib/libalpm/add.c | |
parent | b14c5477e5e4483352d304a1e97de5922948b934 (diff) | |
download | pacman-b9a2318becfc9d6ffb92e602adf433faa8cec383.tar.gz pacman-b9a2318becfc9d6ffb92e602adf433faa8cec383.tar.xz |
trans.c: create transaction prior to checking DB version
The addition of the DB version check introduces a lag time between the
lockfile creation and the transaction initialization. In cases where the
local DB is large enough and/or the user's disk is slow enough, this
time is significant enough that its possible for a user to send a SIGINT
and leave behind a db.lck file.
Signed-off-by: Dave Reisner <d@falconindy.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/add.c')
0 files changed, 0 insertions, 0 deletions