diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 6a86a59c1c..ded97273e7 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2007-07-30 Ralf Corsépius + + * shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.1 and + coldfire. + 2007-07-30 Ralf Corsépius * shttpd/log.c: Add preliminary version of SPLIT_SNPRINTF to diff --git a/cpukit/shttpd/log.c b/cpukit/shttpd/log.c index 133d8e4d2c..1c11404484 100644 --- a/cpukit/shttpd/log.c +++ b/cpukit/shttpd/log.c @@ -61,19 +61,17 @@ elog(int flags, struct conn *c, const char *fmt, ...) exit(EXIT_FAILURE); } -/* HACK: m68k-gcc <= 4.2.1 ICEs on the snprintf below for some +/* + * 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 */ #if defined(__GNUC__) && \ ( (__GNUC__ < 4 ) || \ ( (__GNUC__ == 4 ) && (__GNUC_MINOR__ < 2 ) ) || \ ( (__GNUC__ == 4 ) && (__GNUC_MINOR__ == 2 ) && (__GNUC_PATCHLEVEL__ <= 1 ) ) ) -#if defined(__mcf528x__) -//# define SPLIT_SNPRINTF 1 -#endif /* __mcf528x__ */ -#if defined(__mcf5200__) -#endif /* __mcf5200__ */ #if defined(__mcoldfire__) +#define SPLIT_SNPRINTF 1 #endif /* __mcoldfire__ */ #endif /* __GNUC__ */