VirtualBox

Changeset 84484 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
May 25, 2020 8:45:14 AM (5 years ago)
Author:
vboxsync
Message:

os2/VBoxSF: 8.3 detection fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/os2/VBoxSF/VBoxSFFind.cpp

    r79710 r84484  
    8080                if (wc == '.')
    8181                    return false;
    82                 if (off >= offMax)
     82                if (off > offMax)
    8383                    return false;
    8484            }
     
    9292
    9393    /*
    94      * Conver to the native code page.
     94     * Convert to the native code page.
    9595     */
    9696    APIRET rc = SafeKernStrFromUcs(NULL, pszTmp, pwszName, cbTmp, cwcName);
     
    120120        if (ch == '\0')
    121121            return true;
    122         if (ch != '.')
     122        if (ch == '.')
    123123            return false;
    124124        if (cch >= 3)
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