From eb7ec824ee3bb42f679828fec1f14b18620d034e Mon Sep 17 00:00:00 2001 From: dgaudet Date: Sat, 10 Jun 2000 00:44:46 +0000 Subject: fix a typo and add a pointer in comments so folks know where to find out what ap_canonical_error does. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60158 13f79535-47bb-0310-9956-ffa450edef68 --- APRDesign | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'APRDesign') diff --git a/APRDesign b/APRDesign index 905f94568..2a5ffa6b4 100644 --- a/APRDesign +++ b/APRDesign @@ -254,7 +254,7 @@ APR_OS_START_SYSERR, those codes are reserved for APR applications. To programmatically correct an error in a running application, the error codes need to be consistent across platforms. This should make sense. To get -consistent error codes, APR provides a function ap_canonicalize_error(). +consistent error codes, APR provides a function ap_canonical_error(). This function will take as input any ap_status_t value, and return a small subset of canonical APR error codes. These codes will be equivalent to Unix errno's. Why is it a small subset? Because we don't want to try to @@ -303,7 +303,7 @@ Using option 2: make syscall that fails return error code - convert to common error code (using ap_canonicalize_error) + convert to common error code (using ap_canonical_error) decide execution based on common error code Finally, there is one more operation on error codes. You can get a string -- cgit v1.2.1