summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/trans.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-09-19 00:32:15 +0200
committerDan McGee <dan@archlinux.org>2011-09-19 00:32:15 +0200
commit41d8deff88ed7bdaf1820882687fb99107f60d2a (patch)
tree234b7d150bfb45e847eef8299e523e13e685d467 /lib/libalpm/trans.c
parent86d9fcbfff6d806bcb6d0a19d73d09e1af4e1733 (diff)
downloadpacman-41d8deff88ed7bdaf1820882687fb99107f60d2a.tar.gz
pacman-41d8deff88ed7bdaf1820882687fb99107f60d2a.tar.xz
be_local: cope with a desc file without trailing newline
We checked the (fgets == NULL and !feof) case, but never actually bailed out of the loop if we were at the end of the file, causing infinite looping. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/trans.c')
0 files changed, 0 insertions, 0 deletions