VirtualBox

Ignore:
Timestamp:
Sep 4, 2019 2:05:50 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
133105
Message:

Runtime: Some renaming to stay consistent (*Get* always returns what is asked for while *Query* returns a status code and where to store the value on success is given as a pointer)

  • RTVfsFileGetSize -> RTVfsFileQuerySize
  • RTFileQuerySize -> RTFileQuerySizeByPath
  • RTFileGetSize -> RTFileQuerySize
  • RTFileGetSizeMaxEx -> RTFileQuerySizeMaxEx
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/generic/AutostartDb-generic.cpp

    r80569 r80585  
    7272                 * should be really really small. Anything else is bogus.
    7373                 */
    74                 rc = RTFileGetSize(hAutostartFile, &cbFile);
     74                rc = RTFileQuerySize(hAutostartFile, &cbFile);
    7575                if (   RT_SUCCESS(rc)
    7676                    && cbFile <= 16)
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