summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorsf <sf@13f79535-47bb-0310-9956-ffa450edef68>2014-05-09 19:57:16 +0000
committersf <sf@13f79535-47bb-0310-9956-ffa450edef68>2014-05-09 19:57:16 +0000
commit86974288396989fbdc269ba9b17d41d9a75fc17f (patch)
tree140adcf645ff91bc191cf2420a1a9299e1c94a3c /misc
parent4c258725ea92fcf5a717fe3f744a49b057ecc961 (diff)
downloadlibapr-86974288396989fbdc269ba9b17d41d9a75fc17f.tar.gz
Add some missing error messages to apr_error_string
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1593611 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'misc')
-rw-r--r--misc/unix/errorcodes.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/misc/unix/errorcodes.c b/misc/unix/errorcodes.c
index 75567c246..f553a37b6 100644
--- a/misc/unix/errorcodes.c
+++ b/misc/unix/errorcodes.c
@@ -39,6 +39,8 @@ static char *stuffbuffer(char *buf, apr_size_t bufsize, const char *s)
static char *apr_error_string(apr_status_t statcode)
{
switch (statcode) {
+ case APR_ENOSTAT:
+ return "Could not perform a stat on the file.";
case APR_ENOPOOL:
return "A new pool could not be created.";
case APR_EBADDATE:
@@ -73,7 +75,10 @@ static char *apr_error_string(apr_status_t statcode)
return "The specified IP address is invalid.";
case APR_EBADMASK:
return "The specified network mask is invalid.";
-
+ case APR_ESYMNOTFOUND:
+ return "Could not find the requested symbol.";
+ case APR_ENOTENOUGHENTROPY:
+ return "Not enough entropy to continue.";
case APR_INCHILD:
return
"Your code just forked, and you are currently executing in the "
@@ -128,10 +133,12 @@ static char *apr_error_string(apr_status_t statcode)
return "The given path is misformatted or contained invalid characters";
case APR_EPATHWILD:
return "The given path contained wildcard characters";
+ case APR_EBUSY:
+ return "The given lock was busy.";
case APR_EPROC_UNKNOWN:
return "The process is not recognized.";
case APR_EGENERAL:
- return "Internal error";
+ return "Internal error (specific information not available)";
default:
return "Error string not specified yet";
}