summaryrefslogtreecommitdiff
path: root/APRDesign
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-04-19 17:30:39 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-04-19 17:30:39 +0000
commitd8c83f0213233d0865fb8a99bd94d243cbd425e8 (patch)
tree7f14f1a3a7cf5729027e499e8ba2829765dacba9 /APRDesign
parentd2c4d6bc8ef2ce853dd569f4be8d56d27a63b141 (diff)
downloadlibapr-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--APRDesign6
1 files changed, 6 insertions, 0 deletions
diff --git a/APRDesign b/APRDesign
index 7a3aafc57..5e5c69c3b 100644
--- a/APRDesign
+++ b/APRDesign
@@ -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.
+