2006-01-25 Perry
BUG: [ 1412237 ] InitOption return value wrong if RegCreateKey fails
Fix unused wrong return value of InitOption & improve one comment
- Src/Common: OptionsMgr.cpp
+ Src/Common: OptionsMgr.cpp
+ BUG: [ 1414868 ] Bug in byte_compare (early finish)
+ (Also added some comments.)
+ Src: DiffWrapper.cpp
2006-01-24 WinMerge experimental release 2.5.3.1 (cvs)
ByteComparator comparator(ignore_case_flag, ignore_space_change_flag
, ignore_all_space_flag, ignore_eol_diff, ignore_blank_lines_flag);
- while (!eof[0] && !eof[1])
+ // Begin loop
+ // we handle the files in WMCMPBUFF sized buffers (variable buff[][])
+ // That is, we do one buffer full at a time
+ // or even less, as we process until one side buffer is empty, then reload that one
+ // and continue
+ while (!eof[0] || !eof[1])
{
if (piAbortable && piAbortable->ShouldAbort())
return DIFFCODE::CMPABORT;