BUG: [
1449949 ] crash comparing two simple test mac files
Fix looping which missed mac case
diffutils\src: IO.C
Add new items to top.
(This summarizes all changes to all files under Src, including Src\Languages.)
+2006-03-14 Perry
+ BUG: [ 1449947 ] Looks like diffutils bug for mac-style
+ BUG: [ 1449949 ] crash comparing two simple test mac files
+ Fix looping which missed mac case
+ diffutils\src: IO.C
+
2006-03-15 Kimmo
PATCH: [ 1449868 ] Fix difference counts
Src: DiffWrapper.cpp
}
else if (ignore_space_change_flag)
/* Note that \r must be hashed (if !ignore_eol_diff) */
- while ((c = *p++) != '\n')
+ while ((c = *p++) != '\n' && (c != '\r' || *p == '\n'))
{
if (ignore_eol_diff && (c=='\r' || c=='\n'))
continue;
}
else if (ignore_space_change_flag)
/* Note that \r must be hashed (if !ignore_eol_diff) */
- while ((c = *p++) != '\n')
+ while ((c = *p++) != '\n' && (c != '\r' || *p == '\n'))
{
if (ignore_eol_diff && (c=='\r' || c=='\n'))
continue;