2008-03-25 Till Straumann <strauman@slac.stanford.edu>

* shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.3 and
	  coldfire.
This commit is contained in:
Till Straumann
2008-03-25 19:24:24 +00:00
parent 1f129d87d5
commit 03c6b7748e
2 changed files with 8 additions and 1 deletions
+5
View File
@@ -1,3 +1,8 @@
2008-03-25 Till Straumann <strauman@slac.stanford.edu>
* shttpd/log.c: Activate SPLIT_SNPRINTF for gcc <= 4.2.3 and
coldfire.
2008-03-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/shell/cmds.c: Directly register the command structure to
+3 -1
View File
@@ -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__ */