From 03c6b7748ea957cbed2e123b00a88f4ea14b40ac Mon Sep 17 00:00:00 2001 From: Till Straumann Date: Tue, 25 Mar 2008 19:24:24 +0000 Subject: [PATCH] 2008-03-25 Till Straumann * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.3 and coldfire. --- cpukit/ChangeLog | 5 +++++ cpukit/shttpd/log.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index b0fddc195a..19a657fc2d 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2008-03-25 Till Straumann + + * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.3 and + coldfire. + 2008-03-12 Joel Sherrill * libmisc/shell/cmds.c: Directly register the command structure to 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__ */