]> git.tdb.fi Git - libs/datafile.git/commit
Detect eof from the parser, not input file
authorMikko Rasa <tdb@tdb.fi>
Tue, 17 Dec 2013 01:01:06 +0000 (03:01 +0200)
committerMikko Rasa <tdb@tdb.fi>
Tue, 17 Dec 2013 01:01:06 +0000 (03:01 +0200)
commit7abc9c3ed271ed787d57c2f074c9a696fb7b2572
tree40ec70afa4838194c3319f8d738737b8114f38ad
parent7feeeacf8fa3eae889cb256c42ada615c4761eec
Detect eof from the parser, not input file

Some files have an embedded logical eof, so waiting for the end of the
physical file would (and did) cause an infinite loop.
tool/packer.cpp