ChangeLog 20000601-20:40 UTC+0100

This commit is contained in:
Ryszard Glab
2000-06-01 18:34:47 +00:00
parent fea7b1045b
commit acd2b4e081
3 changed files with 17 additions and 4 deletions

View File

@@ -1,3 +1,12 @@
20000601-20:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
*source/rtl/dates.c
* OS_UNIX_COMPATIBLE is defined in file included from hbapi.h
then it cannot be checked before inclusion of hbapi.h
*source/rtl/filesys.c
* fixed hb_fsEof() for U*ix platforms
2000-06-01 12:15 UTC-0400 David G. Holm <dholm@jsd-llc.com>
* doc/en/file.txt

View File

@@ -57,15 +57,19 @@
#include <ctype.h>
#include <time.h>
#include "hbapi.h"
#include "hbdate.h"
/* NOTE: OS_UNIX_COMPATIBLE can be defined in file included from hbapi.h
* then checking have to be placed after hbapi.h
*/
#if defined( OS_UNIX_COMPATIBLE )
#include <sys/timeb.h>
#else
#include <sys\timeb.h>
#endif
#include "hbapi.h"
#include "hbdate.h"
long hb_dateEncode( long lYear, long lMonth, long lDay )
{
HB_TRACE(HB_TR_DEBUG, ("hb_dateEncode(%ld, %ld, %ld)", lYear, lMonth, lDay));

View File

@@ -1462,7 +1462,7 @@ BOOL hb_fsFile( BYTE * pFilename )
BOOL hb_fsEof( FHANDLE hFileHandle )
{
#if defined(__CYGWIN__)
#if defined(__CYGWIN__) || defined( OS_UNIX_COMPATIBLE )
long curPos = lseek( hFileHandle, 0L, SEEK_CUR );
long endPos = lseek( hFileHandle, 0L, SEEK_END );
long newPos = lseek( hFileHandle, curPos, SEEK_SET );