eudaq/eudaq — pull request #21 by msmk0 (2014-02-10 10:02:54+00:00)
Title: BUGFIX: read rempty files

When opening an empty file the FileReader will hang while trying to read the
first event. Steps to reproduce:

touch empty.raw
./TestReader.exe empty.raw

This patch adds additional checks when opening a file and will throw an
exception if an empty file is detected.