httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr APRDesign
Date Wed, 19 Apr 2000 17:30:40 GMT
rbb         00/04/19 10:30:39

  Modified:    src/lib/apr APRDesign
  Log:
  Add another reason to justify the error scheme we are using.
  
  Revision  Changes    Path
  1.11      +6 -0      apache-2.0/src/lib/apr/APRDesign
  
  Index: APRDesign
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/APRDesign,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- APRDesign	2000/04/18 00:47:14	1.10
  +++ APRDesign	2000/04/19 17:30:39	1.11
  @@ -332,3 +332,9 @@
   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.
  +
  
  
  

Mime
View raw message