brane 2002/12/17 17:03:16
Modified: file_io/unix dir.c
Log:
Reverse the tests for DIRENT_INODE and DIRENT_TYPE that were added to
apr_dir_read that were introduced in version 1.65. This makes
Subversion tests on Linux pass again.
Submitted by Philip Martin <[EMAIL PROTECTED]>.
Revision Changes Path
1.70 +2 -2 apr/file_io/unix/dir.c
Index: dir.c
===================================================================
RCS file: /home/cvs/apr/file_io/unix/dir.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- dir.c 15 Dec 2002 05:17:51 -0000 1.69
+++ dir.c 18 Dec 2002 01:03:16 -0000 1.70
@@ -218,10 +218,10 @@
return ret;
}
-#ifdef DIRENT_INODE
+#ifndef DIRENT_INODE
wanted &= ~APR_FINFO_INODE;
#endif
-#ifdef DIRENT_TYPE
+#ifndef DIRENT_TYPE
wanted &= ~APR_FINFO_TYPE;
#endif