Author: schultz Date: Fri Jul 8 20:42:45 2011 New Revision: 1144501 URL: http://svn.apache.org/viewvc?rev=1144501&view=rev Log: Added required APR version number to "unsupported APR version" message. Fixed typos in comments and error messages.
Modified: tomcat/native/trunk/native/src/jnilib.c Modified: tomcat/native/trunk/native/src/jnilib.c URL: http://svn.apache.org/viewvc/tomcat/native/trunk/native/src/jnilib.c?rev=1144501&r1=1144500&r2=1144501&view=diff ============================================================================== --- tomcat/native/trunk/native/src/jnilib.c (original) +++ tomcat/native/trunk/native/src/jnilib.c Fri Jul 8 20:42:45 2011 @@ -70,17 +70,17 @@ JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM /* APR versions below 1.4.3 are known to have * faulty wakeup code on windows platform */ - tcn_Throw(env, "Unupported APR version (%s)", + tcn_Throw(env, "Unsupported APR version %s: this tcnative requires at least 1.4.3", apr_version_string()); return JNI_ERR; } #if defined(HAVE_POOL_PRE_CLEANUP) && defined(HAVE_POLLSET_WAKEUP) - /* Althugh not 1.4.x, APR has required functionality. + /* Although not 1.4.x, APR has required functionality. * Note that this is compile time definition, and we * presume the required API's are present in the custom APR. */ #else - tcn_Throw(env, "Unupported APR version (%s)", + tcn_Throw(env, "Unsupported APR version %s: this tcnative requires at least 1.4.3", apr_version_string()); return JNI_ERR; #endif --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org