do {
done = !pufile->ReadString(line, eol);
+
+ if (pufile->GetTxtStats().nzeros)
+ {
+ nRetVal = FRESULT_BINARY;
+ goto LoadFromFileExit;
+ }
+
// if last line had no eol, we can quit
if (done && preveol.IsEmpty())
break;
readOnly = TRUE;
}
+LoadFromFileExit:
// delete the file that unpacking may have created
if (_tcscmp(pszFileNameInit, pszFileName) != 0)
+2003-11-16 Perry
+ PATCH: [ 841897 ] Bail out of LoadFromFile if see embedded zeros
+ WinMerge: MergeDoc.cpp
+
2003-11-16 Kimmo
BUG: [ 818416 ] is stat population missing from RunFileDiff ?
WinMerge: DiffWrapper.cpp