VirtualBox

Changeset 23620 in vbox for trunk/src


Ignore:
Timestamp:
Oct 8, 2009 2:22:42 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
53300
Message:

Runtime: fixed pObjInfo->cbAllocated for non-Windows hosts

File:
1 edited

Legend:

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

    r19171 r23620  
    196196{
    197197    pObjInfo->cbObject    = pStat->st_size;
    198     pObjInfo->cbAllocated = pStat->st_size;
     198    pObjInfo->cbAllocated = pStat->st_blocks * 512;
    199199
    200200#ifdef HAVE_STAT_NSEC
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