You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by hg...@apache.org on 2007/03/30 10:31:03 UTC
svn commit: r523989 - /tomcat/connectors/trunk/jk/native/common/jk_msg_buff.c
Author: hgomez
Date: Fri Mar 30 01:30:57 2007
New Revision: 523989
URL: http://svn.apache.org/viewvc?view=rev&rev=523989
Log:
For EBCDIC systems translation is required
Modified:
tomcat/connectors/trunk/jk/native/common/jk_msg_buff.c
Modified: tomcat/connectors/trunk/jk/native/common/jk_msg_buff.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_msg_buff.c?view=diff&rev=523989&r1=523988&r2=523989
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_msg_buff.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_msg_buff.c Fri Mar 30 01:30:57 2007
@@ -341,13 +341,20 @@
if ((i + j) >= len)
x = 0;
if (x > 0x20 && x < 0x7F) {
- *current++ = x;
+#ifdef USE_CHARSET_EBCDIC
+ *current = x;
+ jk_xlate_from_ascii(current, 1);
+ current++;
+#else
+ *current++ = x;
+#endif
}
else {
*current++ = '.';
}
}
*current++ = '\0';
+
jk_log(l, file, line, funcname, level,
"%.4x %s", i, lb);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org