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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]