]> code.delx.au - pulseaudio/commit
Revert "conf-parser: Remove redundant feof() call"
authorTanu Kaskinen <tanuk@iki.fi>
Sat, 23 Mar 2013 06:38:43 +0000 (08:38 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Sat, 23 Mar 2013 06:38:43 +0000 (08:38 +0200)
commit34fa29bd0628bd85b6ab9b0720e21fa7d162cb68
treed92d9c37c0b8f4c685c763b24d7f35ca8699420f
parent6733caf114d0d759590459745c864aa9518d133d
Revert "conf-parser: Remove redundant feof() call"

This reverts commit 6733caf114d0d759590459745c864aa9518d133d.

Apparently, the EOF bit gets set only after there has been an attempt
to read more data than the file contains, so just reading the last
byte isn't sufficient.
src/pulsecore/conf-parser.c