1
0
mirror of https://github.com/moparisthebest/pacman synced 2025-03-02 10:21:49 -05:00
Dan McGee 719e0d3ddb archive_fgets(): ensure we return any trailing text with no newline
Discovered this when doing some pactest rewrite work to generate
archives in memory only. If a sync database file or PKGINFO file is
missing a newline on the final line, the text from that line gets tossed
aside and never read into the package struct. This is pretty critical
when that last line is a depend or something.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-06-24 14:03:51 -05:00
..
2011-06-01 12:13:49 -05:00
2011-06-16 11:57:30 -05:00
2011-06-16 11:57:30 -05:00
2011-06-24 03:46:12 -05:00
2011-06-24 03:46:12 -05:00
2011-06-20 00:10:11 -05:00
2011-06-20 00:10:11 -05:00
2011-06-20 00:18:03 -05:00
2011-06-13 19:38:38 -05:00
2011-06-13 19:38:38 -05:00
2011-06-16 11:58:04 -05:00
2011-06-16 11:58:04 -05:00
2011-06-24 04:02:58 -05:00
2011-06-24 04:02:58 -05:00
2011-06-20 00:03:53 -05:00
2008-06-03 21:31:31 -05:00
2011-06-03 12:53:53 -05:00
2011-06-16 11:58:04 -05:00
2011-06-24 04:02:58 -05:00
2011-06-13 19:38:38 -05:00
2011-03-20 19:49:45 -05:00