VirtualBox

Changeset 76460 in vbox


Ignore:
Timestamp:
Dec 25, 2018 4:19:10 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
127761
Message:

scm: Special err.h fixup trick for files including code templates. bugref:9344

File:
1 edited

Legend:

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

    r76459 r76460  
    26352635                /* Special hack for error info. */
    26362636                if (cchFilename == sizeof("errmsgdata.h") - 1 && memcmp(pchFilename, RT_STR_TUPLE("errmsgdata.h")) == 0)
    2637                     iUsageLevel = 3;
     2637                    iUsageLevel = 4;
     2638
     2639                /* Special hack for code templates. */
     2640                if (   cchFilename >= sizeof(".cpp.h")
     2641                    && memcmp(&pchFilename[cchFilename - sizeof(".cpp.h") + 1], RT_STR_TUPLE(".cpp.h")) == 0)
     2642                    iUsageLevel = 4;
    26382643                continue;
    26392644            }
Note: See TracChangeset for help on using the changeset viewer.

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