Author: hgomez Date: Mon Apr 23 08:10:13 2007 New Revision: 531494 URL: http://svn.apache.org/viewvc?view=rev&rev=531494 Log: More fix for ASCII/EBCDIC fun in i5/OS V5R4
Modified: tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c Modified: tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c?view=diff&rev=531494&r1=531493&r2=531494 ============================================================================== --- tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c (original) +++ tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c Mon Apr 23 08:10:13 2007 @@ -973,12 +973,7 @@ if (conf->worker_file == NULL) return "JkWorkersFile file name invalid"; - /* i5/OS need worker_file name in EBCDIC */ -#if defined(AS400_UTF8) - jk_ascii2ebcdic(conf->worker_file); -#endif - - if (stat(conf->worker_file, &statbuf) == -1) + if (jk_file_exists(conf->worker_file) != JK_TRUE) return "Can't find the workers file specified"; return NULL; @@ -1006,12 +1001,7 @@ if (conf->mount_file == NULL) return "JkMountFile file name invalid"; - /* i5/OS need mount_file name in EBCDIC */ -#if defined(AS400_UTF8) - jk_ascii2ebcdic(conf->mount_file); -#endif - - if (stat(conf->mount_file, &statbuf) == -1) + if (jk_file_exists(conf->mount_file) != JK_TRUE) return "Can't find the mount file specified"; return NULL; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]