libalpm: add PID to db.lck
commitb55f478042053dfb749da7ce0a48fc0e49112093
authorAllan McRae <allan@archlinux.org>
Sun, 2 Nov 2008 03:47:04 +0000 (2 13:47 +1000)
committerDan McGee <dan@archlinux.org>
Sat, 3 Jan 2009 06:00:19 +0000 (3 00:00 -0600)
tree984eb7e783645b9414ce5d5acda7657ab7f45581
parente49adbea4c67b2fd49910697229682e0a85fe9b2
libalpm: add PID to db.lck

This is the first step in being able to automatically remove phantom
lock files.

Signed-off-by: Allan McRae <allan@archlinux.org>
[Dan: fix compilation warnings]
Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/util.c