VirtualBox

Changeset 69247 in vbox for trunk/src/bldprogs/scmrw.cpp


Ignore:
Timestamp:
Oct 24, 2017 6:59:47 PM (7 years ago)
Author:
vboxsync
Message:

scm: 'Includes contributions from'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bldprogs/scmrw.cpp

    r69234 r69247  
    903903
    904904    /*
    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.
    906907     */
    907908    const char *pchContributedBy = NULL;
     
    911912        && (   pState->iLineCopyright == UINT32_MAX
    912913            || 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) ) )
    915918    {
    916919        const char *pszNextLine = (const char *)memchr(pszBody, '\n', cchBody);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette