2012-01-05 14:47 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* harbour/include/hbrdddbf.h
    * moved DBF record lock range for DB_DBFLOCK_HB64 to avoid potential
      problems with integer overflows in system or network transport layer.
      Warning: INCOMPATIBLE!
               all applications using DB_DBFLOCK_HB64 locking mode should
               be updated - it is not safe to concurrently access the
               same files using programs compiled with older Harbour
               versions and current one.
This commit is contained in:
Przemyslaw Czerpak
2012-01-05 13:47:18 +00:00
parent 31cf695ec8
commit 053f90539d
2 changed files with 11 additions and 1 deletions

View File

@@ -16,6 +16,16 @@
The license applies to all entries newer than 2009-04-28.
*/
2012-01-05 14:47 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/include/hbrdddbf.h
* moved DBF record lock range for DB_DBFLOCK_HB64 to avoid potential
problems with integer overflows in system or network transport layer.
Warning: INCOMPATIBLE!
all applications using DB_DBFLOCK_HB64 locking mode should
be updated - it is not safe to concurrently access the
same files using programs compiled with older Harbour
versions and current one.
2012-01-05 14:07 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/src/rtl/hbgtcore.c
+ added default value (0) for HB_GTI_KBDSHIFTS in GTs which

View File

@@ -69,7 +69,7 @@ HB_EXTERN_BEGIN
#define DBF_LOCKPOS_VFP 0x40000000UL
#define DBF_LOCKPOS_VFPX 0x7ffffffeUL
#define DBF_LOCKPOS_HB32 4000000000UL
#define DBF_LOCKPOS_HB64 HB_LL( 0x7FFFFFFF00000001 )
#define DBF_LOCKPOS_HB64 HB_LL( 0x7F00000000000000 )
#define DBF_LOCKDIR_CLIPPER 1
#define DBF_LOCKDIR_CLIPPER2 1