apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r529816 - /apr/apr/trunk/file_io/unix/dir.c
Date Wed, 18 Apr 2007 00:29:52 GMT
Author: wrowe
Date: Tue Apr 17 17:29:51 2007
New Revision: 529816

URL: http://svn.apache.org/viewvc?view=rev&rev=529816
Log:
apr_dir_read returned ENOENT instead of APR_ENOENT

PR: 41238
Submitted by: Lucian Adrian Grijincu <Lucian.Grijincu gmail.com>

Modified:
    apr/apr/trunk/file_io/unix/dir.c

Modified: apr/apr/trunk/file_io/unix/dir.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/file_io/unix/dir.c?view=diff&rev=529816&r1=529815&r2=529816
==============================================================================
--- apr/apr/trunk/file_io/unix/dir.c (original)
+++ apr/apr/trunk/file_io/unix/dir.c Tue Apr 17 17:29:51 2007
@@ -176,7 +176,7 @@
      * that problem.
      */
     if (ret == EINVAL) {
-        ret = ENOENT;
+        ret = APR_ENOENT;
     }
 #else
     /* We're about to call a non-thread-safe readdir() that may



Mime
View raw message