summaryrefslogtreecommitdiffstats
path: root/doc/PKGBUILD-example.txt
diff options
context:
space:
mode:
authorJonathan Conder <jonno.conder@gmail.com>2011-02-05 01:39:37 +0100
committerDan McGee <dan@archlinux.org>2011-02-27 20:32:41 +0100
commitacd9269478dbc40f1dac64d8f6ddfbb5f562ad09 (patch)
treeda62cb17e4cc96ebb4d313c9f8d514b8e9d67e49 /doc/PKGBUILD-example.txt
parente8f799ba83904db2a347e7d37fe217216a0faf90 (diff)
downloadpacman-acd9269478dbc40f1dac64d8f6ddfbb5f562ad09.tar.gz
pacman-acd9269478dbc40f1dac64d8f6ddfbb5f562ad09.tar.xz
Fix double close of the lock file
According to FOPEN(3), using fclose on an fdopen'd file stream also closes the underlying file descriptor. This happened in _alpm_lckmk (util.c), which meant that when alpm_trans_release closed it again, the log file (which reused the original file descriptor) was closed instead. Signed-off-by: Jonathan Conder <jonno.conder@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'doc/PKGBUILD-example.txt')
0 files changed, 0 insertions, 0 deletions