2015-09-06 15:44 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* src/rtl/disksphb.c
  * src/rtl/filesys.c
    * use native system functions for disk and file IO operations in OS2
      builds.
    + added support for long files (> 2GB) in OS2 builds
    ! fixed file IO error setting in OS2 builds
    ; For above modifications I had to change nearly all file IO functions
      in OS2 build. I would like to OS2 users to make tests.
      In next step I'll update hb_process*() functions.
This commit is contained in:
Przemysław Czerpak
2015-09-06 15:44:49 +02:00
parent 9efacf0093
commit 1d7ee5470b
3 changed files with 672 additions and 208 deletions

View File

@@ -10,6 +10,17 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2015-09-06 15:44 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/disksphb.c
* src/rtl/filesys.c
* use native system functions for disk and file IO operations in OS2
builds.
+ added support for long files (> 2GB) in OS2 builds
! fixed file IO error setting in OS2 builds
; For above modifications I had to change nearly all file IO functions
in OS2 build. I would like to OS2 users to make tests.
In next step I'll update hb_process*() functions.
2015-09-03 14:02 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* win-make.exe
* updated GNU make for MS-Windows to version 4.1

View File

@@ -277,17 +277,17 @@ double hb_fsDiskSpace( const char * pszPath, HB_USHORT uiType )
#else /* HB_OS_OS2 */
{
struct _FSALLOCATE fsa;
USHORT rc;
APIRET rc;
/* Query level 1 info from filesystem */
while( ( rc = DosQueryFSInfo( uiDrive, 1, &fsa, sizeof( fsa ) ) ) != 0 )
while( ( rc = DosQueryFSInfo( uiDrive, 1, &fsa, sizeof( fsa ) ) ) != NO_ERROR )
{
if( hb_errRT_BASE_Ext1( EG_OPEN, 2018, NULL, NULL, 0, ( EF_CANDEFAULT | EF_CANRETRY ), HB_ERR_ARGS_BASEPARAMS ) != E_RETRY )
break;
}
hb_fsSetIOError( rc == 0, 0 );
hb_fsSetError( ( HB_ERRCODE ) rc );
if( rc == 0 )
if( rc == NO_ERROR )
{
switch( uiType )
{

File diff suppressed because it is too large Load Diff