VirtualBox

Changeset 46106 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 15, 2013 5:48:51 PM (12 years ago)
Author:
vboxsync
Message:

Use DOS style path parsing when finding the default module name in RTDbgMod.

File:
1 edited

Legend:

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

    r46101 r46106  
    340340    {
    341341        pDbgMod->pszImgFileSpecified = RTStrCacheEnter(g_hDbgModStrCache, pszName);
    342         pDbgMod->pszName             = RTStrCacheEnterLower(g_hDbgModStrCache, RTPathFilename(pszName));
     342        pDbgMod->pszName = RTStrCacheEnterLower(g_hDbgModStrCache, RTPathFilenameEx(pszName, RTPATH_STR_F_STYLE_DOS));
    343343        if (pDbgMod->pszName)
    344344        {
     
    377377
    378378    if (!pszName)
    379         pszName = RTPathFilename(pszFilename);
     379        pszName = RTPathFilenameEx(pszFilename, RTPATH_STR_F_STYLE_DOS);
    380380
    381381    /*
     
    519519
    520520    if (!pszName)
    521         pszName = RTPathFilename(pszFilename);
     521        pszName = RTPathFilenameEx(pszFilename, RTPATH_STR_F_STYLE_DOS);
    522522
    523523    /*
     
    945945    AssertReturn(*pszFilename, VERR_INVALID_PARAMETER);
    946946    if (!pszName)
    947         pszName = RTPathFilename(pszFilename);
     947        pszName = RTPathFilenameEx(pszFilename, RTPATH_STR_F_STYLE_DOS);
    948948    AssertPtrReturn(pszName, VERR_INVALID_POINTER);
    949949    AssertReturn(hLdrMod == NIL_RTLDRMOD || RTLdrSize(hLdrMod) != ~(size_t)0, VERR_INVALID_HANDLE);
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