summaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-23 01:17:38 +0200
committerDan McGee <dan@archlinux.org>2011-06-24 21:03:51 +0200
commit719e0d3ddb300a8f0f8367b516c0e3c9579c4448 (patch)
treee415dccd96bb55269d102b84f6d8403f37c86811 /INSTALL
parent1187edb38c5ba42d27fd1de8e97aab658049367f (diff)
downloadpacman-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 'INSTALL')
0 files changed, 0 insertions, 0 deletions