summaryrefslogtreecommitdiff
path: root/src/file.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/file.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/file.cpp b/src/file.cpp
index 8944542..4d79f1e 100644
--- a/src/file.cpp
+++ b/src/file.cpp
@@ -188,6 +188,7 @@ Bu::File Bu::File::tempFile( Bu::FString &sName )
188 188
189 return Bu::File( afh_d ); 189 return Bu::File( afh_d );
190} 190}
191
191void Bu::File::truncate( long nSize ) 192void Bu::File::truncate( long nSize )
192{ 193{
193 ftruncate( fd, nSize ); 194 ftruncate( fd, nSize );