VirtualBox

Changeset 14325 in vbox for trunk


Ignore:
Timestamp:
Nov 18, 2008 7:37:59 PM (16 years ago)
Author:
vboxsync
Message:

Main/glue: real fix for the VBoxSVC double slash issue.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/glue/initterm.cpp

    r13908 r14325  
    170170
    171171    rv = NS_NewNativeLocalFile (nsEmbedCString (fileLocation),
    172                                 PR_TRUE, getter_AddRefs (localFile)); 
     172                                PR_TRUE, getter_AddRefs (localFile));
    173173    if (NS_FAILED(rv))
    174174        return rv;
     
    346346        RTStrPrintf (xptiDat, sizeof (xptiDat), "%s%c%s",
    347347                     homeDir, RTPATH_DELIMITER, "xpti.dat");
    348         RTStrPrintf (compDir, sizeof (compDir), "%s%c/components",
    349                      privateArchDir, RTPATH_DELIMITER);
     348        RTStrPrintf (compDir, sizeof (compDir), "%s%c%s",
     349                     privateArchDir, RTPATH_DELIMITER, "components");
    350350
    351351        LogFlowFunc (("component registry  : \"%s\"\n", compReg));
     
    398398                if (NS_SUCCEEDED (rc))
    399399                    appDir = do_QueryInterface (file, &rc);
    400            
     400
    401401                RTStrFree (appDirCP);
    402402            }
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