VirtualBox

Changeset 99961 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
May 24, 2023 9:57:27 PM (19 months ago)
Author:
vboxsync
Message:

IPRT/sg: Corrected RTSgBufIsAtEnd and made the code deal with (skip) empty segments. Added a testcase (incomplete). [scm]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/misc/sg.cpp

    r99960 r99961  
    5151static void *rtSgBufGet(PRTSGBUF pSgBuf, size_t *pcbData)
    5252{
    53     /* 
     53    /*
    5454     * Check that the S/G buffer has memory left (!RTSgIsEnd(pSgBuf)).
    5555     */
     
    7676#endif
    7777
    78         /* 
     78        /*
    7979         * Advance ...
    8080         */
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