From 03c6b7748ea957cbed2e123b00a88f4ea14b40ac Mon Sep 17 00:00:00 2001 From: Till Straumann Date: Tue, 25 Mar 2008 19:24:24 +0000 Subject: 2008-03-25 Till Straumann * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.3 and coldfire. --- cpukit/shttpd/log.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cpukit/shttpd') diff --git a/cpukit/shttpd/log.c b/cpukit/shttpd/log.c index 1c11404484..ee87731373 100644 --- a/cpukit/shttpd/log.c +++ b/cpukit/shttpd/log.c @@ -65,11 +65,13 @@ elog(int flags, struct conn *c, const char *fmt, ...) * HACK: m68k-gcc <= 4.2.1 ICEs on the snprintf below for some * coldfire variants for yet unknown reasons. * C.f.: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32307 + + * T.S, 2008/3/25 -- 4.2.3 still has this problem */ #if defined(__GNUC__) && \ ( (__GNUC__ < 4 ) || \ ( (__GNUC__ == 4 ) && (__GNUC_MINOR__ < 2 ) ) || \ - ( (__GNUC__ == 4 ) && (__GNUC_MINOR__ == 2 ) && (__GNUC_PATCHLEVEL__ <= 1 ) ) ) + ( (__GNUC__ == 4 ) && (__GNUC_MINOR__ == 2 ) && (__GNUC_PATCHLEVEL__ <= 3 ) ) ) #if defined(__mcoldfire__) #define SPLIT_SNPRINTF 1 #endif /* __mcoldfire__ */ -- cgit v1.2.3