Changeset 69247 in vbox for trunk/src/bldprogs/scmrw.cpp
- Timestamp:
- Oct 24, 2017 6:59:47 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bldprogs/scmrw.cpp
r69234 r69247 903 903 904 904 /* 905 * Look for a 'contributed by' line, this comes first. 905 * Look for a 'contributed by' or 'includes contributions from' line, these 906 * comes first when present. 906 907 */ 907 908 const char *pchContributedBy = NULL; … … 911 912 && ( pState->iLineCopyright == UINT32_MAX 912 913 || pState->iLineLicense == UINT32_MAX) 913 && cchBody > sizeof("Contributed by") 914 && RTStrNICmp(pszBody, RT_STR_TUPLE("contributed by")) == 0) 914 && ( ( cchBody > sizeof("Contributed by") 915 && RTStrNICmp(pszBody, RT_STR_TUPLE("contributed by")) == 0) 916 || ( cchBody > sizeof("Includes contributions from") 917 && RTStrNICmp(pszBody, RT_STR_TUPLE("Includes contributions from")) == 0) ) ) 915 918 { 916 919 const char *pszNextLine = (const char *)memchr(pszBody, '\n', cchBody);
Note:
See TracChangeset
for help on using the changeset viewer.