VirtualBox

Changeset 52138 in vbox


Ignore:
Timestamp:
Jul 22, 2014 8:12:34 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
95169
Message:

dbgcfg.cpp: ignore case in symbol paths.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/dbg/dbgcfg.cpp

    r49082 r52138  
    10031003         * Process the path according to it's type.
    10041004         */
    1005         if (!strncmp(pszDir, RT_STR_TUPLE("srv*")))
     1005        if (!RTStrNICmp(pszDir, RT_STR_TUPLE("srv*")))
    10061006        {
    10071007            /*
     
    10541054            }
    10551055        }
    1056         else if (!strncmp(pszDir, RT_STR_TUPLE("cache*")))
     1056        else if (!RTStrNICmp(pszDir, RT_STR_TUPLE("cache*")))
    10571057        {
    10581058            /*
     
    10821082             */
    10831083            uint32_t fFlagsDir = fFlags;
    1084             if (!strncmp(pszDir, RT_STR_TUPLE("rec*")))
     1084            if (!RTStrNICmp(pszDir, RT_STR_TUPLE("rec*")))
    10851085            {
    10861086                pszDir += sizeof("rec*") - 1;
     
    10881088                fFlagsDir |= RTDBGCFG_O_RECURSIVE;
    10891089            }
    1090             else if (!strncmp(pszDir, RT_STR_TUPLE("norec*")))
     1090            else if (!RTStrNICmp(pszDir, RT_STR_TUPLE("norec*")))
    10911091            {
    10921092                pszDir += sizeof("norec*") - 1;
     
    14771477         */
    14781478        rc2 = VINF_SUCCESS;
    1479         if (!strncmp(pszDir, RT_STR_TUPLE("srv*")))
     1479        if (!RTStrNICmp(pszDir, RT_STR_TUPLE("srv*")))
    14801480        {
    14811481            /*
     
    15281528            }
    15291529        }
    1530         else if (!strncmp(pszDir, RT_STR_TUPLE("cache*")))
     1530        else if (!RTStrNICmp(pszDir, RT_STR_TUPLE("cache*")))
    15311531        {
    15321532            /*
     
    15561556             */
    15571557            uint32_t fFlagsDir = fFlags;
    1558             if (!strncmp(pszDir, RT_STR_TUPLE("rec*")))
     1558            if (!RTStrNICmp(pszDir, RT_STR_TUPLE("rec*")))
    15591559            {
    15601560                pszDir += sizeof("rec*") - 1;
     
    15621562                fFlagsDir |= RTDBGCFG_O_RECURSIVE;
    15631563            }
    1564             else if (!strncmp(pszDir, RT_STR_TUPLE("norec*")))
     1564            else if (!RTStrNICmp(pszDir, RT_STR_TUPLE("norec*")))
    15651565            {
    15661566                pszDir += sizeof("norec*") - 1;
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