From b7d73ce3437d8ce29ea12536168b24dc5ade240b Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 7 Apr 2010 12:06:04 +0000 Subject: [PATCH] 2010-04-07 14:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/fstemp.c ! Fixed HB_DIRTEMP() (and low-level equivalent) returning error/empty-string on *nix targets due to typo. --- harbour/ChangeLog | 5 +++++ harbour/src/rtl/fstemp.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 6990f5ed6f..55856ed716 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,11 @@ past entries belonging to author(s): Viktor Szakats. */ +2010-04-07 14:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * src/rtl/fstemp.c + ! Fixed HB_DIRTEMP() (and low-level equivalent) returning + error/empty-string on *nix targets due to typo. + 2010-04-07 10:37 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) - package/harbour.ico + package/harb_win.ico diff --git a/harbour/src/rtl/fstemp.c b/harbour/src/rtl/fstemp.c index 4dd73825a7..bf0bc451b3 100644 --- a/harbour/src/rtl/fstemp.c +++ b/harbour/src/rtl/fstemp.c @@ -357,6 +357,8 @@ HB_ERRCODE hb_fsTempDir( char * pszTempDir ) else nResult = 0; } + else + nResult = 0; if( pszTempDirEnv ) hb_xfree( pszTempDirEnv );