Bug in mod_layout-3.2.1.
Felipe Zipitria - INCO <[email protected]> Mon, 19 Jul 2004 16:21:38 -0300
| Newsgroups | gmane.comp.apache.mod-layout |
|---|---|
| Organization | Facultad de Ingenieria |
| Message-ID | <[email protected]> |
Hi all.
I've found a bug in mod_layout when printing debug info. I saw the
posting which tells that disabling -DDEBUG in Makefile after finding the
bug :(
Platform: Solaris 7 i86pc, gcc 2.95.
Here is 'mod_layout.diff':
--- cut here ---
*** mod_layout.c Mon Jul 19 16:12:42 2004
--- mod_layout.c.orig Fri Aug 29 19:49:53 2003
***************
*** 531,537 ****
type = ap_pstrdup(r->pool, r->content_type);
}
#ifdef DEBUG
! printf("fixup Type %s: Handler %s: Content-Type %s\n", type,
(r->handler == NULL) ? "NULL": r->handler, r->content_type);
#endif
if (isOn(cfg->proxy) && r->proxyreq) {
--- 531,537 ----
type = ap_pstrdup(r->pool, r->content_type);
}
#ifdef DEBUG
! printf("fixup Type %s: Handler %s: Content-Type %s\n", type,
r->handler, r->content_type);
#endif
if (isOn(cfg->proxy) && r->proxyreq) {
--- end cut ---
The other workaround is to comment out '-DDEBUG' at Makefile level, but
then we don't have debug comments !
Bye,
Felipe.
--