VirtualBox

Changeset 68401 in vbox for trunk/src/VBox/Runtime/r3/linux


Ignore:
Timestamp:
Aug 13, 2017 2:44:30 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
117537
Message:

Runtime/linux: Use fallocate64 to support large files on 32bit hosts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/linux/RTFileSetAllocationSize-linux.cpp

    r59513 r68401  
    5757
    5858    int rc = VINF_SUCCESS;
    59     PFNLNXFALLOCATE pfnLnxFAllocate = (PFNLNXFALLOCATE)(uintptr_t)dlsym(RTLD_DEFAULT, "fallocate");
     59    PFNLNXFALLOCATE pfnLnxFAllocate = (PFNLNXFALLOCATE)(uintptr_t)dlsym(RTLD_DEFAULT, "fallocate64");
    6060    if (VALID_PTR(pfnLnxFAllocate))
    6161    {
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