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:
Viktor Szakats
2009-02-17 02:19:33 +00:00
parent 98cd917ffd
commit 4fdb1fceca
2 changed files with 7 additions and 3 deletions

View File

@@ -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

View File

@@ -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 );