Author: joes
Date: Sun Mar 13 07:11:23 2005
New Revision: 157332
URL: http://svn.apache.org/viewcvs?view=rev&rev=157332
Log:
As reported by Max Kellermann, APR_EGENERAL doesn't
have an apr_strerror in 2.0.53, so it's not portable
across the platforms we try to support. This patch
basically s/APR_EGENERAL/APREQ_ERROR_GENERAL/g;
we still need to find a way for mod_apreq to put proper
apreq error messages in the server log.
Modified:
httpd/apreq/branches/multi-env-unstable/library/t/error.c
Modified: httpd/apreq/branches/multi-env-unstable/library/t/error.c
URL:
http://svn.apache.org/viewcvs/httpd/apreq/branches/multi-env-unstable/library/t/error.c?view=diff&r1=157331&r2=157332
==============================================================================
--- httpd/apreq/branches/multi-env-unstable/library/t/error.c (original)
+++ httpd/apreq/branches/multi-env-unstable/library/t/error.c Sun Mar 13
07:11:23 2005
@@ -44,10 +44,6 @@
/* Test some common APR status codes also */
- str = apreq_strerror(APR_EGENERAL, buf, sizeof buf);
- AT_ptr_eq(str, buf);
- AT_str_eq(str, "Internal error");
-
str = apreq_strerror(APR_SUCCESS, buf, sizeof buf);
AT_str_eq(str, "Success");
@@ -75,7 +71,7 @@
apr_pool_t *p;
dAT;
at_test_t test_list [] = {
- { dT(test_strerror, 13), "1" }
+ { dT(test_strerror, 11), "1" }
};
apr_initialize();