VirtualBox

Changeset 75471 in vbox for trunk/src


Ignore:
Timestamp:
Nov 14, 2018 9:38:08 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
126626
Message:

os2/VBoxSF,VBoxControl: Fixes, adjustments.

Location:
trunk/src/VBox/Additions
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxControl/VBoxControl.cpp

    r75470 r75471  
    16981698                                {
    16991699                                    const char *pszTag = pszMountedName + strlen(pszMountedName) + 1; /* safe */
    1700                                     if (strcmp(pszTag, "VBoxAutomounter") == 0)
    1701                                         RTPrintf("%s %s*", pszOn, szDrive);
     1700                                    if (*pszTag != '\0')
     1701                                        RTPrintf("%s %s (%s)", pszOn, szDrive, pszTag);
    17021702                                    else
    17031703                                        RTPrintf("%s %s", pszOn, szDrive);
  • trunk/src/VBox/Additions/os2/VBoxSF/VBoxSF.cpp

    r75461 r75471  
    374374        pNew->cRefs         = 2; /* (List reference + the returned reference.) */
    375375        pNew->cOpenFiles    = 0;
     376        pNew->cOpenSearches = 0;
    376377        pNew->cDrives       = 0;
    377378        RT_ZERO(pNew->hHostFolder);
     
    943944            cbParam = pFolder->cchName + 1;
    944945            rc = KernCopyOut(pbData, &cbParam, sizeof(cbParam));
    945             if (rc != NO_ERROR)
     946            if (rc == NO_ERROR)
    946947                rc = KernCopyOut(pbData + sizeof(USHORT), pFolder->szName, pFolder->cbNameAndTag);
    947948        }
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