VirtualBox

Changeset 94292 in vbox for trunk/src/VBox/Runtime/common/fs


Ignore:
Timestamp:
Mar 17, 2022 1:32:24 PM (3 years ago)
Author:
vboxsync
Message:

IPRT,Storage: Adding RTVfsQueryLabel and internally a generic pfnQueryInfoEx method to the RTVFSOBJOPS function table. Untested implementation of the latter for iso/udf. [build fix] bugref:9781

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/fs/isovfs.cpp

    r94291 r94292  
    49004900    if (pachSrc[0] == 8)
    49014901    {
    4902         uint8_t const cchText   = RT_MIN((uint8_t)pachSrc[cchSrc - 1], cchSrc - 2);
     4902        size_t const cchText   = RT_MIN((uint8_t)pachSrc[cchSrc - 1], cchSrc - 2);
    49034903        size_t  const cchActual = RTStrNLen(&pachSrc[1], cchText);
    49044904        *pcbRet = cchActual + 1;
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