2015-05-04 12:41 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* contrib/hbmemio/memio.c
    ! fixed GPF in hb_VFDirectory( "mem:..." ) - many thanks to Rolf for
      locating the problem and fix.
This commit is contained in:
Przemysław Czerpak
2015-05-04 12:41:25 +02:00
parent b0b23e0e94
commit bec3dd7749
2 changed files with 8 additions and 3 deletions

View File

@@ -10,6 +10,11 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2015-05-04 12:41 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbmemio/memio.c
! fixed GPF in hb_VFDirectory( "mem:..." ) - many thanks to Rolf for
locating the problem and fix.
2015-04-27 17:21 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rdd/workarea.c
! fixed typo in RDDI_AUTOORDER type - it should be numeric

View File

@@ -110,8 +110,8 @@ typedef struct _HB_MEMFS_FILE
typedef struct _HB_MEMFS_FS
{
HB_ULONG ulInodeCount;
HB_ULONG ulInodeAlloc;
HB_ULONG ulInodeCount;
HB_ULONG ulInodeAlloc;
PHB_MEMFS_INODE * pInodes;
HB_ULONG ulFileAlloc;
HB_ULONG ulFileLast;
@@ -413,7 +413,7 @@ HB_MEMFS_EXPORT PHB_ITEM hb_memfsDirectory( const char * pszDirSpec, const char
pDirArray = hb_itemArrayNew( nLen );
for( ul = 0; ( HB_SIZE ) ul < nLen; ul++ )
{
PHB_ITEM pSubarray = hb_arrayGetItemPtr( pDirArray, ++nLen );
PHB_ITEM pSubarray = hb_arrayGetItemPtr( pDirArray, ul + 1 );
hb_arrayNew ( pSubarray, F_LEN );
hb_arraySetCPtr( pSubarray, F_NAME, pDirEn[ ul ].szName );