2000-08-02 03:31 UTC+0100 Victor Szakats <info@szelvesz.hu>

This commit is contained in:
Viktor Szakats
2000-08-02 01:32:35 +00:00
parent f29fce5395
commit 19940ce68b
4 changed files with 22 additions and 1 deletions

View File

@@ -1,3 +1,14 @@
2000-08-02 03:31 UTC+0100 Victor Szakats <info@szelvesz.hu>
* source/rtl/dateshb.c
* source/rtl/datesx.c
! Fixed HB_SToD() and SToD() to not cause CodeGuard faults on bad
parameters. Define HB_FAST_STOD macro to get the previous faster
versions.
* makefile.bc
* Small formatting.
2000-08-02 03:14 UTC+0100 Victor Szakats <info@szelvesz.hu>
* source/common/hbver.c

View File

@@ -30,7 +30,9 @@
#
# NOTE: BCC_NOSTARTUP must be defined for Borland C++ 5.3 to make it work.
#
.autodepend
.AUTODEPEND
!if $d(B16)
BCC_NOSTARTUP = ""

View File

@@ -190,7 +190,11 @@ HB_FUNC( DTOS )
HB_FUNC( HB_STOD )
{
#ifdef HB_FAST_STOD
hb_retds( hb_parc( 1 ) );
#else
hb_retds( ( ISCHAR( 1 ) && hb_parclen( 1 ) == 8 ) ? hb_parc( 1 ) : " " );
#endif
}
HB_FUNC( YEAR )

View File

@@ -42,7 +42,11 @@
HB_FUNC( STOD )
{
#ifdef HB_FAST_STOD
hb_retds( hb_parc( 1 ) );
#else
hb_retds( ( ISCHAR( 1 ) && hb_parclen( 1 ) == 8 ) ? hb_parc( 1 ) : " " );
#endif
}
#endif