20000312-13:04 GMT+1 Victor Szakats <info@szelvesz.hu>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user