diff options
Diffstat (limited to '')
-rw-r--r-- | src/file.h | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -76,12 +76,7 @@ namespace Bu | |||
76 | *@returns (Bu::File) A file object representing your temp file. | 76 | *@returns (Bu::File) A file object representing your temp file. |
77 | */ | 77 | */ |
78 | #ifndef WIN32 | 78 | #ifndef WIN32 |
79 | inline static Bu::File tempFile( Bu::FString &sName, int /*iFlags*/ ) | 79 | static Bu::File tempFile( Bu::FString &sName, int iFlags ); |
80 | { | ||
81 | int afh_d = mkstemp( sName.getStr() ); | ||
82 | |||
83 | return Bu::File( afh_d ); | ||
84 | } | ||
85 | 80 | ||
86 | /** | 81 | /** |
87 | * Set the size of the file to (nSize). You can either grow or shrink | 82 | * Set the size of the file to (nSize). You can either grow or shrink |