diff options
author | Dan McGee <dan@archlinux.org> | 2011-06-23 01:17:38 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-24 21:03:51 +0200 |
commit | 719e0d3ddb300a8f0f8367b516c0e3c9579c4448 (patch) | |
tree | e415dccd96bb55269d102b84f6d8403f37c86811 /scripts/po/cs.po | |
parent | 1187edb38c5ba42d27fd1de8e97aab658049367f (diff) | |
download | pacman-719e0d3ddb300a8f0f8367b516c0e3c9579c4448.tar.gz pacman-719e0d3ddb300a8f0f8367b516c0e3c9579c4448.tar.xz |
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 'scripts/po/cs.po')
0 files changed, 0 insertions, 0 deletions