diff options
Diffstat (limited to 'src/inputs/InputFile.cpp')
-rw-r--r-- | src/inputs/InputFile.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/inputs/InputFile.cpp b/src/inputs/InputFile.cpp index da45456..6b56cc5 100644 --- a/src/inputs/InputFile.cpp +++ b/src/inputs/InputFile.cpp @@ -42,6 +42,7 @@ int InputFile::Open() { + fprintf(stderr, "Opening %s\n", m_filename.c_str()); this->file = open(this->m_filename.c_str(), O_RDONLY | O_BINARY); if (this->file == -1) { perror(m_filename.c_str()); @@ -50,7 +51,6 @@ int InputFile::Open() return 0; } -#if 0 /** * This function replace the read function by trying many times a reading. * It tries to read until all bytes are read. Very useful when reading from a @@ -86,7 +86,6 @@ long InputFile::ReadData(void* data, size_t size, unsigned int tries) offset += result; return offset; } -#endif int InputFile::Rewind() |