From c526de24d417b707fe7961e0d47a72cdb5719361 Mon Sep 17 00:00:00 2001 From: brane Date: Wed, 18 Dec 2002 01:03:16 +0000 Subject: 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 . git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64187 13f79535-47bb-0310-9956-ffa450edef68 --- file_io/unix/dir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'file_io') 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 -- cgit v1.2.1