See ChangeLog entry 19990817-13:50 EDT David G. Holm <dholm@jsd-llc.com>

This commit is contained in:
David G. Holm
1999-08-17 18:01:31 +00:00
parent 4977c2f20f
commit df5d8f57b0
5 changed files with 31 additions and 4 deletions

View File

@@ -1,3 +1,22 @@
19990817-13:50 EDT David G. Holm <dholm@jsd-llc.com>
* config/dos/global.cf
+ Added code to leave COMSPEC alone instead of changing '\' to
'/' for bcc31, because NT chokes on '/' when using the Cygwin
GNU Make System to build the Borland C 3.1 version of Harbour.
* source/rtl/console.c
+ Surrounded 'if( isatty( fileno( stdout ) ) )' in hb_outstd()
with '#ifndef __CYGWIN__' and '#endif'.
! Corrected 'if( isatty( fileno( stdout ) ) )' in hb_outerr()
to check stderr instead of stdout.
+ Surrounded 'if( isatty( fileno( stderr ) ) )' in hb_outerr()
with #ifndef '__CYGWIN__' and '#endif'.
* source/runner/runner.c
! Added ')' that was missing from a conditional test.
* tests/working/dates4.prg
* Moved output of extra CR/LF pair in CheckDate() subroutine to
after the __Accept() call, because __Accept() already outputs
a CR/LF pair before displaying the prompt.
19990817-17:13 GMT+1 Antonio Linares <alinares@fivetech.com>
+ source/debug/tbrwtext.prg
* Class TBrwText for browsing debugger source code

View File

@@ -15,7 +15,11 @@ MK := $(subst \,/,$(subst \~,~,$(MAKE)))
ifeq ($(COMSPEC),) #location of command.com
COMSPEC := command.com
else
COMSPEC := $(subst \,/,$(COMSPEC))
ifeq ($(HB_COMPILER),bcc31)
#Use standard dos path, which is already set up.
else
COMSPEC := $(subst \,/,$(COMSPEC))
endif
endif
RM = del

View File

@@ -295,7 +295,9 @@ static void hb_outstd( char * fpStr, ULONG len )
while( count-- ) printf( "%c", *fpPtr++ );
fflush( stdout );
#ifdef HARBOUR_USE_GTAPI
#ifndef __CYGWIN__
if( isatty( fileno( stdout ) ) )
#endif
{
dev_row = hb_gt_Row();
dev_col = hb_gt_Col();
@@ -314,7 +316,9 @@ static void hb_outerr( char * fpStr, ULONG len )
while( count-- ) fprintf( stderr, "%c", *fpPtr++ );
fflush( stderr );
#ifdef HARBOUR_USE_GTAPI
if( isatty( fileno( stdout ) ) )
#ifndef __CYGWIN__
if( isatty( fileno( stderr ) ) )
#endif
{
dev_row = hb_gt_Row();
dev_col = hb_gt_Col();

View File

@@ -202,7 +202,7 @@ HARBOUR HB_HB_RUN( void )
*/
for( ul = 0; ul < ulSymbols; ul++ ) /* Check INIT functions */
{
if( (pSymRead[ ul ].cScope & FS_INITEXIT == FS_INITEXIT )
if( (pSymRead[ ul ].cScope & FS_INITEXIT) == FS_INITEXIT )
{
hb_vmPushSymbol( pSymRead + ul );
hb_vmPushNil();

View File

@@ -30,7 +30,7 @@ function CheckDate( dDate )
OutStd( "Week of year...:", woy( dDate ), cNewLine )
OutStd( "Begin of year..:", boy( dDate ), cNewLine )
OutStd( "End of year....:", eoy( dDate ), cNewLine )
OutStd( chr( 10 ), chr( 10 ) )
__Accept( "Press ENTER to continue..." )
OutStd( chr( 10 ), chr( 10 ) )
return nil