2009-09-24 14:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/contrib/hbmemio/memio.c
    * pacified warning
This commit is contained in:
Przemyslaw Czerpak
2009-09-24 12:15:16 +00:00
parent 386083bbd1
commit 0574cea7be
2 changed files with 6 additions and 2 deletions

View File

@@ -17,6 +17,10 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-09-24 14:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbmemio/memio.c
* pacified warning
2009-09-24 13:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/itemapi.c
* modified (optimized manually) hb_itemPutNLen() to not exploit bug

View File

@@ -306,7 +306,7 @@ HB_MEMFS_EXPORT BOOL hb_memfsRename( const char * szName, const char * szNewName
HB_MEMFS_EXPORT HB_FHANDLE hb_memfsOpen( const char * szName, USHORT uiFlags )
{
PHB_MEMFS_FILE pFile;
PHB_MEMFS_FILE pFile = NULL;
ULONG ulPos;
USHORT uiError = 0;
@@ -381,7 +381,7 @@ HB_MEMFS_EXPORT HB_FHANDLE hb_memfsOpen( const char * szName, USHORT uiFlags )
}
s_error = uiError;
if( uiError )
if( !pFile )
{
HB_MEMFSMT_UNLOCK
return FS_ERROR;