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. Signed-off-by: Dan McGee<dan@archlinux.org> Signed-off-by: Allan |
| All times are GMT. The time now is 04:52 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.