apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r558449 - /apr/apr-util/trunk/xlate/xlate.c
Date Sun, 22 Jul 2007 02:19:39 GMT
Author: davi
Date: Sat Jul 21 19:19:38 2007
New Revision: 558449

URL: http://svn.apache.org/viewvc?view=rev&rev=558449
Log:
Revision 57631 rearranged the error codes, returning apr_status_t instead of
setting errno.

PR: 33946

Modified:
    apr/apr-util/trunk/xlate/xlate.c

Modified: apr/apr-util/trunk/xlate/xlate.c
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/xlate/xlate.c?view=diff&rev=558449&r1=558448&r2=558449
==============================================================================
--- apr/apr-util/trunk/xlate/xlate.c (original)
+++ apr/apr-util/trunk/xlate/xlate.c Sat Jul 21 19:19:38 2007
@@ -310,16 +310,16 @@
          */
         switch (status) {
 
-            case E2BIG:  /* out of space on output */
+            case APR_BADARG:  /* out of space on output */
                 status = 0; /* change table lookup code below if you
                                make this an error */
                 break;
 
-            case EINVAL: /* input character not complete (yet) */
+            case APR_EINVAL: /* input character not complete (yet) */
                 status = APR_INCOMPLETE;
                 break;
 
-            case EILSEQ: /* bad input byte */
+            case APR_BADCH: /* bad input byte */
                 status = APR_EINVAL;
                 break;
 



Mime
View raw message