diff options
author | Till Straumann <strauman@slac.stanford.edu> | 2008-03-25 19:24:24 +0000 |
---|---|---|
committer | Till Straumann <strauman@slac.stanford.edu> | 2008-03-25 19:24:24 +0000 |
commit | 03c6b7748ea957cbed2e123b00a88f4ea14b40ac (patch) | |
tree | d56b6654a35f8ba39675823f1acfc583399d40f5 /cpukit/shttpd | |
parent | Regenerate. (diff) | |
download | rtems-03c6b7748ea957cbed2e123b00a88f4ea14b40ac.tar.bz2 |
2008-03-25 Till Straumann <strauman@slac.stanford.edu>
* shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.3 and
coldfire.
Diffstat (limited to 'cpukit/shttpd')
-rw-r--r-- | cpukit/shttpd/log.c | 4 |
1 files changed, 3 insertions, 1 deletions
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__ */ |