archive_fgets(): ensure we return any trailing text with no newline
On 24/06/11 15:18, Dan McGee wrote:
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.