VirtualBox

Changeset 76556 in vbox


Ignore:
Timestamp:
Jan 1, 2019 2:35:28 AM (6 years ago)
Author:
vboxsync
Message:

scm: Header guard fixes and more helpful output.

File:
1 edited

Legend:

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

    r76555 r76556  
    29572957                if (szNormalized[0] != '\0')
    29582958                {
    2959                     fRet = Guard.cch != cchNormalized || memcmp(Guard.psz, szNormalized, cchNormalized) != 0;
     2959                    if (   Guard.cch != cchNormalized
     2960                        || memcmp(Guard.psz, szNormalized, cchNormalized) != 0)
     2961                    {
     2962                        ScmVerbose(pState, 2, "guard changed from %.*s to %s\n", Guard.cch, Guard.psz, szNormalized);
     2963                        ScmVerbose(pState, 2, "grep -rw %.*s ${WCROOT} | grep -Fv %s\n",
     2964                                   Guard.cch, Guard.psz, pState->pszFilename);
     2965                        fRet = true;
     2966                    }
    29602967                    Guard.psz = szNormalized;
    29612968                    Guard.cch = cchNormalized;
     
    30643071        if (RT_FAILURE(rc))
    30653072            return ScmError(pState, rc, "seek error\n");
    3066         fRet = pSettings->fPragmaOnce;
     3073        fRet |= pSettings->fPragmaOnce;
    30673074        ScmVerbose(pState, 2, "Missing #pragma once\n");
    30683075    }
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