scifio/scifio-imageio — pull request #7 by brianhelba (2013-11-06 19:43:43+00:00)
Title: BUG: Fix bugs with CR removal in SCIFIOImageIO::WaitForNewLines

Most importantly, this fixes an infinite loop, as the variable
"backslashRIndex" is never updated inside the old while loop.

Additionally, the call to std::string::erase must be made with 2
arguments, or the entire remaining length of the string is erased.