VirtualBox

Changeset 14323 in vbox


Ignore:
Timestamp:
Nov 18, 2008 6:50:12 PM (16 years ago)
Author:
vboxsync
Message:

Main/xpcom: backed out the double slash fix on linux.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/xpcom/server_module.cpp

    r14320 r14323  
    140140                    strcpy (VBoxSVCPath, path.get());
    141141                    RTPathStripFilename (VBoxSVCPath);
    142                     /* Get rid of the trailing slash left by RTPathStripFilename(). */
    143                     size_t cbPath = strlen(VBoxSVCPath);
    144                     if (cbPath)
    145                     {
    146                         Assert(RTPATH_IS_SLASH(VBoxSVCPath[cbPath-1]));
    147                         VBoxSVCPath[cbPath-1] = '\0';
    148                     }
    149142                    strcat (VBoxSVCPath, VBoxSVC_exe);
    150143
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