diff options
author | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 2000-04-19 17:30:39 +0000 |
---|---|---|
committer | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 2000-04-19 17:30:39 +0000 |
commit | d8c83f0213233d0865fb8a99bd94d243cbd425e8 (patch) | |
tree | 7f14f1a3a7cf5729027e499e8ba2829765dacba9 /APRDesign | |
parent | d2c4d6bc8ef2ce853dd569f4be8d56d27a63b141 (diff) | |
download | libapr-d8c83f0213233d0865fb8a99bd94d243cbd425e8.tar.gz |
Add another reason to justify the error scheme we are using.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59887 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'APRDesign')
-rw-r--r-- | APRDesign | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -332,3 +332,9 @@ return "APR doesn't understand this error value" on some platforms and an actual error string on others. To deal with this, just get the string before canonicalizing your error code. +The other problem with option 1, is that it is a lossy conversion. For +example, Windows and OS/2 have a couple hundred error codes, but POSIX errno +only defines about 50 errno values. This means that if we convert to a +canonical error value immediately, there is no way for the programmer to +get the actual system error. + |