VirtualBox

Ignore:
Timestamp:
Sep 4, 2015 2:19:44 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
102486
Message:

IPRT,UINetworkReply.cpp: Added RTPathGlob, a set of RTCrStoreCertAddWantedDir/File/Store, a RTCrStoreCertAddWantedFromFishingExpedition, RTCrStoreCertCheckWanted, RTCrStoreCertCount, RTFsIsCaseSensitive and RTFileOpenTemp. Reworked some RTHttp bits and UINetworkReply stuff - this needs testing.

Location:
trunk/src/VBox/Runtime/common/path
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/path/RTPathEnsureTrailingSeparator.cpp

    r57572 r57613  
    4444        if (RTPATH_IS_SLASH(ch) || RTPATH_IS_VOLSEP(ch))
    4545            return off;
     46        if (off + 2 <= cbPath)
     47        {
     48            pszPath[off++] = RTPATH_SLASH;
     49            pszPath[off]   = '\0';
     50            return off;
     51        }
    4652    }
    47 
    48     if (off + 2 < cbPath)
     53    else if (off + 3 <= cbPath)
    4954    {
    5055        pszPath[off++] = '.';
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