VirtualBox

Changeset 59461 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 25, 2016 2:56:07 PM (9 years ago)
Author:
vboxsync
Message:

IPRT: Linux specific implementation for RTFileSetAllocationSize()

Location:
trunk/src/VBox/Runtime
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/Makefile.kmk

    r59459 r59461  
    600600        generic/RTFileReadAllByHandleEx-generic.cpp \
    601601        generic/RTFileReadAllFree-generic.cpp \
    602         generic/RTFileSetAllocationSize-generic.cpp \
    603602        generic/RTLogWriteStdErr-generic.cpp \
    604603        generic/RTLogWriteStdOut-generic.cpp \
     
    735734        generic/RTDirSetTimes-generic.cpp \
    736735        generic/RTFileExists-generic.cpp \
     736        generic/RTFileSetAllocationSize-generic.cpp \
    737737        generic/RTMpGetCurFrequency-generic.cpp \
    738738        generic/RTMpGetMaxFrequency-generic.cpp \
     
    831831        r3/linux/time-linux.cpp \
    832832        r3/linux/thread-affinity-linux.cpp \
     833        r3/linux/RTFileSetAllocationSize-linux.cpp \
    833834        r3/linux/RTProcIsRunningByName-linux.cpp \
    834835        r3/linux/RTSystemQueryDmiString-linux.cpp \
     
    899900        generic/RTDirSetTimes-generic.cpp \
    900901        generic/RTFileMove-generic.cpp \
     902        generic/RTFileSetAllocationSize-generic.cpp \
    901903        generic/RTLogWriteDebugger-generic.cpp \
    902904        generic/RTPathAbs-generic.cpp \
     
    974976        generic/RTDirSetTimes-generic.cpp \
    975977        generic/RTFileMove-generic.cpp \
     978        generic/RTFileSetAllocationSize-generic.cpp \
    976979        generic/RTLogWriteDebugger-generic.cpp \
    977980        generic/RTPathAbs-generic.cpp \
     
    10471050        generic/RTDirSetTimes-generic.cpp \
    10481051        generic/RTFileMove-generic.cpp \
     1052        generic/RTFileSetAllocationSize-generic.cpp \
    10491053        generic/RTLogWriteDebugger-generic.cpp \
    10501054        generic/RTPathAbs-generic.cpp \
     
    11221126        generic/RTDirSetTimes-generic.cpp \
    11231127        generic/RTFileMove-generic.cpp \
     1128        generic/RTFileSetAllocationSize-generic.cpp \
    11241129        generic/RTLogWriteDebugger-generic.cpp \
    11251130        generic/RTPathAbs-generic.cpp \
     
    12001205        generic/RTDirSetTimes-generic.cpp \
    12011206        generic/RTFileMove-generic.cpp \
     1207        generic/RTFileSetAllocationSize-generic.cpp \
    12021208        generic/RTLogWriteDebugger-generic.cpp \
    12031209        generic/RTPathAbs-generic.cpp \
  • trunk/src/VBox/Runtime/generic/RTFileSetAllocationSize-generic.cpp

    r59459 r59461  
    4141     * Quick validation.
    4242     */
     43    AssertReturn(hFile != NIL_RTFILE, VERR_INVALID_PARAMETER);
    4344    AssertReturn(!(fFlags & ~RTFILE_ALLOC_SIZE_F_VALID), VERR_INVALID_PARAMETER);
    4445
    45     NOREF(hFile);
    4646    NOREF(cbSize);
    4747
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