2009-02-17 03:19 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/fstemp.c
! Fixed temp filename generation in {(linux|bsd)&!owatcom}
builds when extension was requested.
This commit is contained in:
@@ -8,6 +8,11 @@
|
||||
2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
|
||||
*/
|
||||
|
||||
2009-02-17 03:19 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
|
||||
* source/rtl/fstemp.c
|
||||
! Fixed temp filename generation in {(linux|bsd)&!owatcom}
|
||||
builds when extension was requested.
|
||||
|
||||
2009-02-17 01:50 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
|
||||
* contrib/hbfimage/Makefile
|
||||
! Disabled hbfimage on Linux until we solve the type
|
||||
|
||||
@@ -153,11 +153,10 @@ static HB_FHANDLE hb_fsCreateTempLow( const BYTE * pszDir, const BYTE * pszPrefi
|
||||
if( hb_setGetFileCase() != HB_SET_CASE_LOWER &&
|
||||
hb_setGetFileCase() != HB_SET_CASE_UPPER &&
|
||||
hb_setGetDirCase() != HB_SET_CASE_LOWER &&
|
||||
hb_setGetDirCase() != HB_SET_CASE_UPPER )
|
||||
hb_setGetDirCase() != HB_SET_CASE_UPPER &&
|
||||
pszExt == NULL )
|
||||
{
|
||||
hb_strncat( ( char * ) pszName, "XXXXXX", _POSIX_PATH_MAX );
|
||||
if( pszExt )
|
||||
hb_strncat( ( char * ) pszName, ( const char * ) pszExt, _POSIX_PATH_MAX );
|
||||
hb_vmUnlock();
|
||||
fd = ( HB_FHANDLE ) mkstemp( ( char * ) pszName );
|
||||
hb_fsSetIOError( fd != ( HB_FHANDLE ) -1, 0 );
|
||||
|
||||
Reference in New Issue
Block a user