diff options
author | Joe Orton <jorton@apache.org> | 2005-09-01 09:20:52 +0000 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2005-09-01 09:20:52 +0000 |
commit | 1e021f8deb0558fa48e878c5978498126668516a (patch) | |
tree | b83a08936ffd4957c56e92c9d8aa0f5651265fa6 /file_io/unix | |
parent | cd286b7d50145cee81f3167f082a20c1695b42bf (diff) | |
download | apr-1e021f8deb0558fa48e878c5978498126668516a.tar.gz |
* file_io/unix/dir.c (apr_dir_read): Fix non-readdir64_r build.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@265681 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io/unix')
-rw-r--r-- | file_io/unix/dir.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/file_io/unix/dir.c b/file_io/unix/dir.c index da7e5a1eb..d0c628a93 100644 --- a/file_io/unix/dir.c +++ b/file_io/unix/dir.c @@ -221,8 +221,10 @@ apr_status_t apr_dir_read(apr_finfo_t *finfo, apr_int32_t wanted, * inode if the stat call fails. */ retent->DIRENT_INODE = 0; } - } +#else + wanted &= ~APR_FINFO_INODE; #endif /* HAVE_READDIR64_R */ + } #endif /* DIRENT_INODE */ wanted &= ~APR_FINFO_NAME; |