From 2720b2fe9a2f2cc77f6948e6011f098a409c58ab Mon Sep 17 00:00:00 2001 From: Maurilio Longo Date: Sun, 16 Apr 2000 16:34:37 +0000 Subject: [PATCH] 20000416-15:23 GMT+2 Maurilio Longo --- harbour/ChangeLog | 7 +++++++ harbour/config/os2/gcc.cf | 5 +---- harbour/source/rtl/gtos2/gtos2.c | 1 + 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index c049a51894..80cd75e4a5 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -1,3 +1,10 @@ +20000416-15:23 GMT+2 Maurilio Longo + + * config/os2/gcc.cf + % changed again + * source/rtl/gtos2/gtos2.c + % little change to Init procedure + 20000416-15:23 GMT+2 Maurilio Longo * config/os2/gcc.cf diff --git a/harbour/config/os2/gcc.cf b/harbour/config/os2/gcc.cf index e46e32d5fb..8d49f5d1be 100644 --- a/harbour/config/os2/gcc.cf +++ b/harbour/config/os2/gcc.cf @@ -52,10 +52,7 @@ endef # We have to use a script to overcome the AR limit of max 850 characters # in commmand line -# CLEAR command empties old .a file before creating new one. -# Without it libary is not refreshed if needed define create_library -echo CLEAR $@ > __lib__.tmp echo CREATE $@ > __lib__.tmp $(foreach file, $^, $(lib_object)) echo SAVE >> __lib__.tmp @@ -66,6 +63,6 @@ endef # Under OS/2 || isn't a command separator (inside a shell, that is); correct separator is & AR = ar ARFLAGS = -AR_RULE = $(create_library) & $(RM) __lib__.tmp +AR_RULE = $(RM) $@ & $(create_library) & $(RM) __lib__.tmp include $(TOP)$(ROOT)config/rules.cf diff --git a/harbour/source/rtl/gtos2/gtos2.c b/harbour/source/rtl/gtos2/gtos2.c index 49e12f9d5b..ad38c0b5de 100644 --- a/harbour/source/rtl/gtos2/gtos2.c +++ b/harbour/source/rtl/gtos2/gtos2.c @@ -101,6 +101,7 @@ void hb_gt_Init( int iFilenoStdin, int iFilenoStdout, int iFilenoStderr ) if(VioGetBuf(&s_ulLVBptr, &s_usLVBlength, 0) == NO_ERROR) { s_ulLVBptr = (ULONG) SELTOFLAT(s_ulLVBptr); + VioShowBuf(0, s_usLVBlength, 0); } else { s_ulLVBptr = (ULONG) NULL; }