2002-01-16 00:44 UTC+0100 Maurilio Longo <maurilio.longo@libero.it>

* common/hbffind.c
    ! DosFindFirst() call on OS/2 section of file was wrong (parameter findcount was not
      set to any correct value)
      NOTE: OS/2 builds of Alpha 38 _are broken_ because of this bug
This commit is contained in:
Maurilio Longo
2002-01-15 23:47:55 +00:00
parent 839e81defa
commit 8782db331d
2 changed files with 13 additions and 5 deletions

View File

@@ -11,6 +11,12 @@
2002-01-17 15:32 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su>
* source/rdd/dbfntx/dbfntx1.c
* include/hbrddntx.h
* FOR condition support implemented ( DBFNTX )
2002-01-16 00:14 UTC+0100 Maurilio Longo <maurilio.longo@libero.it>
* common/hbgete.c
! fixed warning on DosScanEnv() call
2002-01-16 17:21 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar>
* source/rdd/dbfcdx1.c
* fixed some simple warnings by bcc32 (with -w)
@@ -453,13 +459,13 @@
+ Added function sx_CreateField()
+ Added function sx_Eof()
+ Added function sx_GetString()
#ifndef HB_OS_WIN_32 to
+ Added function sx_GoTop()
+ Added function sx_IndexTag()
+ Added function sx_RecNo()
IMPORTANT: For those who get duplicate defines when compiling
Win32 code, the #define HB_OS_WIN_32_USED should be defined
+ Added function sx_Replace()
+ Added function sx_Skip()
+ Added function sx_Use()
+ Added function sx_Zap()
* contrib/apollo/test
* Added functions in a test application.

View File

@@ -86,6 +86,7 @@ HB_FILE_VER( "$Id$" )
#elif defined(HB_OS_OS2)
#include <sys/types.h>
#include <sys/stat.h>
#include <time.h>
@@ -576,6 +577,7 @@ PHB_FFIND hb_fsFindFirst( const char * pszFileName, USHORT uiAttr )
tzset();
info->hFindFile = HDIR_CREATE;
info->findCount = 1;
bFound = DosFindFirst( pszFileName,
&info->hFindFile,
@@ -673,7 +675,7 @@ PHB_FFIND hb_fsFindFirst( const char * pszFileName, USHORT uiAttr )
strcpy( info->pfname, string );
}
else
{
{
strcpy( info->pfname, string );
info->pfext[ 0 ] = '\0';
}