diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2005-10-05 21:50:58 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-10-05 21:50:58 +0000 |
commit | af15744967957d4c14be9a0024475e335a2c4470 (patch) | |
tree | 833fc4c77b65d0cedf06fb9d0063aab9fd18a34d /lib/libalpm/handle.h | |
parent | d7e781a54bc8aad793abd51fdb5f8f1c7cdae7ad (diff) | |
download | pacman-af15744967957d4c14be9a0024475e335a2c4470.tar.xz |
Applied reworked patch from VMiklos (vmiklos@frugalware.org)
Close the lock file descriptor upon handle release
Diffstat (limited to 'lib/libalpm/handle.h')
-rw-r--r-- | lib/libalpm/handle.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/handle.h b/lib/libalpm/handle.h index 55894d80..5f3e8e8e 100644 --- a/lib/libalpm/handle.h +++ b/lib/libalpm/handle.h @@ -37,6 +37,7 @@ typedef struct __pmhandle_t { pmdb_t *db_local; PMList *dbs_sync; /* List of (pmdb_t *) */ FILE *logfd; + int lckfd; pmtrans_t *trans; /* parameters */ char *root; |