20000312-13:04 GMT+1 Victor Szakats <info@szelvesz.hu>

This commit is contained in:
Viktor Szakats
2000-03-12 12:01:44 +00:00
parent 88ac5f276d
commit 1ef56b3832
4 changed files with 11 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
20000312-13:04 GMT+1 Victor Szakats <info@szelvesz.hu>
* source/rtl/set.c
source/rtl/memofile.c
source/rtl/gt/gtstd.c
! HB_OS_UNIX_COMPATIBLE -> OS_UNIX_COMPATIBLE
20000312-14:20 GMT+3 Alexander Kresin
* contrib/rdd_ads/ads.ch
* contrib/rdd_ads/adsfunc.c

View File

@@ -55,7 +55,7 @@ void hb_gt_Init( void )
s_iRow = 0;
s_iCol = 0;
#if defined(HB_OS_UNIX_COMPATIBLE)
#if defined(OS_UNIX_COMPATIBLE)
s_uiMaxRow = 24;
#else
s_uiMaxRow = 25;

View File

@@ -56,7 +56,7 @@ HARBOUR HB_MEMOREAD( void )
/* Don't read the file terminating EOF character */
#if ! defined(HB_OS_UNIX_COMPATIBLE)
#if ! defined(OS_UNIX_COMPATIBLE)
{
BYTE byEOF = HB_CHAR_NUL;
@@ -101,7 +101,7 @@ HARBOUR HB_MEMOWRIT( void )
/* NOTE: CA-Clipper will add the EOF even if the write failed. [vszakats] */
/* NOTE: CA-Clipper will not return .F. when the EOF could not be written. [vszakats] */
#if ! defined(HB_OS_UNIX_COMPATIBLE)
#if ! defined(OS_UNIX_COMPATIBLE)
{
BYTE byEOF = HB_CHAR_EOF;

View File

@@ -333,13 +333,13 @@ static FHANDLE open_handle( char * file_name, BOOL bAppend, char * def_ext, HB_s
handle = hb_fsOpen( ( BYTE * ) path, FO_READWRITE | FO_DENYWRITE );
if( handle != FS_ERROR )
{ /* Position to EOF */
#if ! defined(HB_OS_UNIX_COMPATIBLE)
#if ! defined(OS_UNIX_COMPATIBLE)
/* Non-Unix needs special binary vs. text file handling */
if( set_specifier == HB_SET_PRINTFILE )
{ /* PRINTFILE is binary and needs no special handling. */
#endif
hb_fsSeek( handle, 0, FS_END );
#if ! defined(HB_OS_UNIX_COMPATIBLE)
#if ! defined(OS_UNIX_COMPATIBLE)
}
else
{ /* All other files are text files and may have an EOF