From 36a5b42ac2a08a533893fe061a6ca6c60fd31a73 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Mon, 28 Dec 2009 09:14:41 +0000 Subject: [PATCH] 2009-12-28 10:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/common/hbtrace.c * Deleted TOFIX for va_end(). It's not required (and wasn't ever required there) since there is no va_start() call in hb_tracelog_() function at all. --- harbour/ChangeLog | 8 +++++++- harbour/src/common/hbtrace.c | 3 --- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index db9374c77b..bb911aef25 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,12 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-12-28 10:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + * src/common/hbtrace.c + * Deleted TOFIX for va_end(). It's not required (and wasn't + ever required there) since there is no va_start() call in + hb_tracelog_() function at all. + 2009-12-28 10:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/common/hbtrace.c ! Fixed some leftover causing error on non-win. @@ -56,7 +62,7 @@ when HB_TR_WINOUT is enabled. Now every non-Windows and Windows non-HB_TR_WINOUT setups are not complying with CRTL documentation. - Could someone help here? + Could someone help here? [CLEARED] 2009-12-27 22:44 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * src/common/hbtrace.c diff --git a/harbour/src/common/hbtrace.c b/harbour/src/common/hbtrace.c index 039a554072..92379e706f 100644 --- a/harbour/src/common/hbtrace.c +++ b/harbour/src/common/hbtrace.c @@ -211,9 +211,6 @@ static void hb_tracelog_( int level, const char * file, int line, const char * p */ vfprintf( s_fp, fmt, ap ); - /* TOFIX: va_end() is _required_ here according to all available documentation. */ - /* va_end( ap ); Generates access violation in the subsequent hb_vsnprintf */ - /* * Print a new-line. */