Changeset 57367 in vbox for trunk/src/bldprogs
- Timestamp:
- Aug 14, 2015 6:02:49 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 102130
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bldprogs/scmrw.cpp
r57365 r57367 480 480 while (offLine < cchLine && pchLine[offLine] == '*') 481 481 offLine++; 482 if (offLine < 20) 482 if (offLine < 20) /* (Code below depend on a reasonable minimum here.) */ 483 483 return false; 484 484 while (offLine < cchLine && RT_C_IS_BLANK(pchLine[offLine])) … … 498 498 499 499 offLine = 0; 500 while (offLine < cchLine && RT_C_IS_BLANK(pchLine[offLine])) 501 offLine++; 502 if (offLine + 5 > cchLine) 503 return false; 500 if (RT_C_IS_BLANK(pchLine[0])) 501 offLine = RT_C_IS_BLANK(pchLine[1]) ? 2 : 1; 502 504 503 if (pchLine[offLine] != '*') 505 504 return false; 506 505 offLine++; 506 507 507 if (!RT_C_IS_BLANK(pchLine[offLine + 1])) 508 508 return false; 509 509 offLine++; 510 510 511 while (offLine < cchLine && RT_C_IS_BLANK(pchLine[offLine])) 511 512 offLine++; … … 541 542 542 543 offLine = 0; 544 if (RT_C_IS_BLANK(pchLine[0])) 545 offLine = RT_C_IS_BLANK(pchLine[1]) ? 2 : 1; 543 546 while (offLine < cchLine && pchLine[offLine] == '*') 544 547 offLine++;
Note:
See TracChangeset
for help on using the changeset viewer.