index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2014-08-06 16:36:00 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-09-23 21:43:16 +1000 |
commit | c792262b137a5f2daddac22f82e7d8d98d0d7d31 (patch) | |
tree | d3177e6c722a96da72503a912d4c5fded0ef78e8 /lib/libalpm/trans.c | |
parent | 9c066dff439ba453f4c362e1875b794cf3f362ed (diff) |
-rw-r--r-- | lib/libalpm/trans.c | 2 |
diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c index 4a176086..aebd8dd2 100644 --- a/lib/libalpm/trans.c +++ b/lib/libalpm/trans.c @@ -280,7 +280,7 @@ static int grep(const char *fn, const char *needle) } while(!feof(fp)) { char line[1024]; - if(fgets(line, sizeof(line), fp) == NULL) { + if(safe_fgets(line, sizeof(line), fp) == NULL) { continue; } /* TODO: this will not work if the search string |