mirror of
https://github.com/moparisthebest/pacman
synced 2025-03-03 02:41:53 -05:00

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>