summaryrefslogtreecommitdiff
path: root/test/pacman/util.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-22 18:17:38 -0500
committerDan McGee <dan@archlinux.org>2011-06-24 14:03:51 -0500
commit719e0d3ddb300a8f0f8367b516c0e3c9579c4448 (patch)
treee415dccd96bb55269d102b84f6d8403f37c86811 /test/pacman/util.py
parent1187edb38c5ba42d27fd1de8e97aab658049367f (diff)
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>
Diffstat (limited to 'test/pacman/util.py')
0 files changed, 0 insertions, 0 deletions