You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ma...@apache.org on 2007/08/30 12:41:02 UTC

svn commit: r571109 - /httpd/httpd/branches/2.2.x/modules/debug/mod_dumpio.c

Author: martin
Date: Thu Aug 30 03:40:57 2007
New Revision: 571109

URL: http://svn.apache.org/viewvc?rev=571109&view=rev
Log:
For correct dumping on EBCDIC machines, translate data from ASCII

Modified:
    httpd/httpd/branches/2.2.x/modules/debug/mod_dumpio.c

Modified: httpd/httpd/branches/2.2.x/modules/debug/mod_dumpio.c
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/modules/debug/mod_dumpio.c?rev=571109&r1=571108&r2=571109&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/modules/debug/mod_dumpio.c (original)
+++ httpd/httpd/branches/2.2.x/modules/debug/mod_dumpio.c Thu Aug 30 03:40:57 2007
@@ -67,6 +67,9 @@
             if (nbytes) {
                 obuf = malloc(nbytes+1);    /* use pool? */
                 memcpy(obuf, buf, nbytes);
+#if APR_CHARSET_EBCDIC
+                ap_xlate_proto_from_ascii(obuf, nbytes);
+#endif
                 obuf[nbytes] = '\0';
                 ap_log_error(APLOG_MARK, ptr->loglevel, 0, c->base_server,
                      "mod_dumpio:  %s (%s-%s): %s",