VirtualBox

Changeset 70638 in vbox for trunk/src/VBox/Runtime/r3


Ignore:
Timestamp:
Jan 19, 2018 10:06:11 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
120366
Message:

RTFileCopyByHandlesEx: Make sure we don't pass 100%. bugref:9099 [semicolon]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/fileio.cpp

    r70637 r70638  
    507507                            uPercentage++;
    508508                            offNextPercent += cbPercent;
    509                         } while (offNextPercent < off && uPercentage < 100)
     509                        } while (offNextPercent < off && uPercentage < 100);
    510510                        rc = pfnProgress(uPercentage, pvUser);
    511511                        if (RT_FAILURE(rc))
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette