diff options
author | dgaudet <dgaudet@unknown> | 2000-06-10 00:44:46 +0000 |
---|---|---|
committer | dgaudet <dgaudet@unknown> | 2000-06-10 00:44:46 +0000 |
commit | 1747e7d64e2cff5320f0503de2c598662339fc66 (patch) | |
tree | 07ed6a76c4b7b3801ab7927c63a7f89943cdb829 /APRDesign | |
parent | 1e7f9fd9e3c124691ca25d4cccd304e9c76e4284 (diff) | |
download | apr-1747e7d64e2cff5320f0503de2c598662339fc66.tar.gz |
fix a typo and add a pointer in comments so folks know where to find
out what ap_canonical_error does.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60158 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'APRDesign')
-rw-r--r-- | APRDesign | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |