Mindaugas Kavaliauskas de88f928a5 2009-10-05 15:35 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* contrib/hbmemio/memio.c
    ! fixed memory corruption on hb_memfsTruncAt() call
    ! added required memory clear on hb_memfsTruncAt() call
    + implemeted file handles different from internal structure pointers. 
      Now memory FS file handle is index in file structure array. Thus,
      wrong memory FS is more safe for wrong external calls like:
         HB_FHANDLE  hF = hb_memfsOpen( szFilename, iFlags );
         hb_memfsClose( hF );
         hb_memfsClose( hF );
      The second hb_memfsClose() call was wrongly re-releasing memory 
      resources and causing memory corruption before memory handles were 
      added.
2009-10-05 12:39:24 +00:00
Description
Harbour Core — Reference source for Five development
172 MiB
Languages
C 80.3%
xBase 17.8%
Makefile 0.6%
C++ 0.4%
Harbour 0.4%
Other 0.3%