diff options
author | peter <peter@FreeBSD.org> | 2015-10-12 04:57:36 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2015-10-12 04:57:36 +0000 |
commit | 6a8fa4cab570f77af8326e0339fdf0b4c09756c6 (patch) | |
tree | 64caa5ea4f1fe4b74e7d1dcbc5bdc3c674998b26 /contrib/apr/misc/unix/errorcodes.c | |
parent | 5ee4ad2f183130d523ba9911b00fe7b158897de8 (diff) | |
download | FreeBSD-src-6a8fa4cab570f77af8326e0339fdf0b4c09756c6.zip FreeBSD-src-6a8fa4cab570f77af8326e0339fdf0b4c09756c6.tar.gz |
MFC: r269851,r272076,r274884,r282328,r285644,r286503,r286504,r286505,
r286506,r286510,r286561,r286562,r287034
Update svnlite from 1.8.10 to 1.8.14, and the support components:
serf->1.3.8, apr->1.5.2, apr-util->1.5.4, sqlite3->3.8.11.1
This includes syncing the developer templates with head.
Diffstat (limited to 'contrib/apr/misc/unix/errorcodes.c')
-rw-r--r-- | contrib/apr/misc/unix/errorcodes.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/contrib/apr/misc/unix/errorcodes.c b/contrib/apr/misc/unix/errorcodes.c index 75567c2..f553a37 100644 --- a/contrib/apr/misc/unix/errorcodes.c +++ b/contrib/apr/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"; } |