2010-07-17 14:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* ChangeLog
    * Updated VxWorks notes in 2010-07-16 18:22 UTC+0200 Viktor Szakats

  * include/hbsetup.h
    * Enabled HB_USE_SHARELOCKS_OFF for VxWorks. This fixes creation
      of plain .dbf files, _but_ it will make a weird bug surface
      when creating .dbf+.dbt: The content of the .dbt file is
      written into the .dbf and the .dbt is kept as a zero length
      file. Przemek if you read this, do you have any idea what
      this could be?

  * src/rtl/hbgtcore.c
  * src/rtl/gtsys.c
    ! Fixed to set default GT for vxworks also in hbgtcore. Made NOTE
      in source that needs to be kept in sync. This finally fixes
      the uninitialized GT error.
    * Reset default vxworks GT to GTSTD instead of GTCGI.

  * utils/hbmk2/hbmk2.prg
    * Minor.
This commit is contained in:
Viktor Szakats
2010-07-17 13:05:21 +00:00
parent bae2e3a7e4
commit a93ad12a66
5 changed files with 33 additions and 2 deletions

View File

@@ -16,6 +16,28 @@
The license applies to all entries newer than 2009-04-28.
*/
2010-07-17 14:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
* Updated VxWorks notes in 2010-07-16 18:22 UTC+0200 Viktor Szakats
* include/hbsetup.h
* Enabled HB_USE_SHARELOCKS_OFF for VxWorks. This fixes creation
of plain .dbf files, _but_ it will make a weird bug surface
when creating .dbf+.dbt: The content of the .dbt file is
written into the .dbf and the .dbt is kept as a zero length
file. Przemek if you read this, do you have any idea what
this could be?
* src/rtl/hbgtcore.c
* src/rtl/gtsys.c
! Fixed to set default GT for vxworks also in hbgtcore. Made NOTE
in source that needs to be kept in sync. This finally fixes
the uninitialized GT error.
* Reset default vxworks GT to GTSTD instead of GTCGI.
* utils/hbmk2/hbmk2.prg
* Minor.
2010-07-17 12:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbodbc/odbc.c
- Deleted compatibility trick which mapped SQL[U]LEN to SQL[U]INTEGER.
@@ -193,9 +215,11 @@
Windows. Simply copying make.exe over with the mingw 3.81
build makes it work (or setup Workbench to launch
win-make.exe?). [CLOSED]
- Maybet the dbCreate() problem worth looking into, as f.e.
- Maybe the dbCreate() problem worth looking into, as f.e.
hb_out.log and _hbtmp_.dbf were both created fine on the FS,
but the latter stayed to be a zero length file.
HB_USE_SHARELOCKS_OFF changes the situation a bit but
still no good.
2010-07-16 09:04 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbide/idebrowse.prg

View File

@@ -419,6 +419,7 @@
#if defined( HB_OS_VXWORKS )
#define HB_NO_FNMATCH
#define HB_USE_SHARELOCKS_OFF
/* NOTE: Needed to avoid 'implicit bzero() declaration' warnings */
extern void bzero( char * buffer, int nbytes );
#endif

View File

@@ -59,6 +59,7 @@
#include "hbgtcore.h"
/* NOTE: Must be in sync with hbgtcore.c */
#if defined( HB_GT_LIB )
HB_GT_REQUEST( HB_GT_LIB )
#elif defined( HB_OS_WIN_CE )
@@ -70,7 +71,7 @@
#elif defined( HB_OS_OS2 )
HB_GT_REQUEST( OS2 )
#elif defined( HB_OS_VXWORKS )
HB_GT_REQUEST( CGI )
HB_GT_REQUEST( STD )
#elif defined( HB_OS_UNIX )
HB_GT_REQUEST( TRM )
#else

View File

@@ -3176,6 +3176,7 @@ static const HB_GT_FUNCS s_gtCoreFunc =
static char s_gtNameBuf[ HB_GT_NAME_MAX_ + 1 ];
/* NOTE: Must be in sync with gtsys.c */
#if defined( HB_GT_LIB )
const char * hb_gt_szNameDefault = HB_GT_DRVNAME( HB_GT_LIB );
#elif defined( HB_OS_WIN_CE )
@@ -3186,6 +3187,8 @@ static char s_gtNameBuf[ HB_GT_NAME_MAX_ + 1 ];
const char * hb_gt_szNameDefault = "dos";
#elif defined( HB_OS_OS2 )
const char * hb_gt_szNameDefault = "os2";
#elif defined( HB_OS_VXWORKS )
const char * hb_gt_szNameDefault = "std";
#elif defined( HB_OS_UNIX )
const char * hb_gt_szNameDefault = "trm";
#else

View File

@@ -1149,6 +1149,8 @@ FUNCTION hbmk2( aArgs, /* @ */ lPause )
aCOMPSUP := { "gcc", "sunpro" }
CASE hbmk[ _HBMK_cPLAT ] == "vxworks"
aCOMPSUP := { "gcc", "diab" }
CASE hbmk[ _HBMK_cPLAT ] == "aix"
aCOMPSUP := { "gcc", "icc" }
OTHERWISE
aCOMPSUP := { "gcc" }
ENDCASE