VirtualBox

Changeset 104626 in vbox


Ignore:
Timestamp:
May 14, 2024 12:06:12 PM (7 months ago)
Author:
vboxsync
Message:

IPRT/VFS: Fixed warnings. ​bugref:3409

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/vfs.h

    r100997 r104626  
    12331233 *                          RTVFS_VALIDATE_UTF8_XXX.
    12341234 * @param   poffError       Where to return the error offset. Optional.
     1235 *                          Not implemented yet!
    12351236 */
    12361237RTDECL(int)        RTVfsIoStrmValidateUtf8Encoding(RTVFSIOSTREAM hVfsIos, uint32_t fFlags, PRTFOFF poffError);
  • trunk/src/VBox/Runtime/common/vfs/vfsbase.cpp

    r101108 r104626  
    20292029            rc = RTThreadSleep(cMillies);
    20302030        while (   rc == VERR_INTERRUPTED
    2031                && !fIntr
    20322031               && RTTimeMilliTS() - uMsStart < cMillies);
    20332032        if (rc == VERR_INTERRUPTED)
     
    38763875            rc = RTThreadSleep(cMillies);
    38773876        while (   rc == VERR_INTERRUPTED
    3878                && !fIntr
    38793877               && RTTimeMilliTS() - uMsStart < cMillies);
    38803878        if (rc == VERR_INTERRUPTED)
  • trunk/src/VBox/Runtime/common/vfs/vfsiosmisc.cpp

    r101109 r104626  
    118118        }
    119119
     120        if (RT_FAILURE(rc))
     121            break;
     122
    120123        if (off < cbUsed)
    121124        {
     
    130133    if (poffError && RT_FAILURE(rc))
    131134    {
     135        /** @todo r=andy Implement this? */
    132136    }
    133137
  • trunk/src/VBox/Runtime/common/vfs/vfsreadahead.cpp

    r100908 r104626  
    715715        rc = RTThreadUserWait(hThreadSelf, RT_MS_1MIN);
    716716        if (RT_SUCCESS(rc))
    717             rc = RTThreadUserReset(hThreadSelf);
     717            RTThreadUserReset(hThreadSelf);
    718718    }
    719719
  • trunk/src/VBox/Runtime/common/vfs/vfsstdfile.cpp

    r100908 r104626  
    318318            rc = RTThreadSleep(cMillies);
    319319        while (   rc == VERR_INTERRUPTED
    320                && !fIntr
    321320               && RTTimeMilliTS() - uMsStart < cMillies);
    322321        if (rc == VERR_INTERRUPTED)
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