You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by da...@apache.org on 2007/07/22 04:19:39 UTC

svn commit: r558449 - /apr/apr-util/trunk/xlate/xlate.c

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;