mturk 2003/01/23 04:27:45 Modified: jk/native2/common jk_channel_jni.c Log: Fix the SSTRDUP_ASCII macro for EBDIC systems. Revision Changes Path 1.40 +2 -2 jakarta-tomcat-connectors/jk/native2/common/jk_channel_jni.c Index: jk_channel_jni.c =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_channel_jni.c,v retrieving revision 1.39 retrieving revision 1.40 diff -u -r1.39 -r1.40 --- jk_channel_jni.c 23 Jan 2003 12:13:03 -0000 1.39 +++ jk_channel_jni.c 23 Jan 2003 12:27:45 -0000 1.40 @@ -113,11 +113,11 @@ Duplicate string and convert it to ASCII on EBDIC based systems Needed for at least AS/400 and BS2000 but what about other EBDIC systems ? Implement as macro cause: - we don't need to duplicate the strings if they are const on non EBDIS systems + we don't need to duplicate the strings if they are const on non EBDIC systems */ #if defined(AS400) || defined(_OSD_POSIX) -#define SSTRDUP_ASCII(e, s) ((e)->tmpPool->pstrdup2ascii(env, env->tmpPool, s)) +#define SSTRDUP_ASCII(e, s) ((e)->tmpPool->pstrdup2ascii(e, (e)->tmpPool, s)) #else #define SSTRDUP_ASCII(e, s) (s) #endif
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>