summaryrefslogtreecommitdiff
path: root/file_io/unix/dir.c
diff options
context:
space:
mode:
authorBranko Čibej <brane@apache.org>2002-12-18 01:03:16 +0000
committerBranko Čibej <brane@apache.org>2002-12-18 01:03:16 +0000
commit41738bf519509adc0b4781959455a96c3e744358 (patch)
tree76bb3616e60de351e0a626fd1c934373795e0127 /file_io/unix/dir.c
parenta7ea7f72eded1f463c713ce2778f5e17a656b1a7 (diff)
downloadapr-41738bf519509adc0b4781959455a96c3e744358.tar.gz
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 <philip@codematters.co.uk>. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64187 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io/unix/dir.c')
-rw-r--r--file_io/unix/dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/file_io/unix/dir.c b/file_io/unix/dir.c
index e5773639b..a86c6d634 100644
--- a/file_io/unix/dir.c
+++ b/file_io/unix/dir.c
@@ -218,10 +218,10 @@ apr_status_t apr_dir_read(apr_finfo_t *finfo, apr_int32_t wanted,
return ret;
}
-#ifdef DIRENT_INODE
+#ifndef DIRENT_INODE
wanted &= ~APR_FINFO_INODE;
#endif
-#ifdef DIRENT_TYPE
+#ifndef DIRENT_TYPE
wanted &= ~APR_FINFO_TYPE;
#endif