summaryrefslogtreecommitdiff
path: root/buckets
diff options
context:
space:
mode:
authorGraham Leggett <minfrin@apache.org>2010-03-02 01:27:42 +0000
committerGraham Leggett <minfrin@apache.org>2010-03-02 01:27:42 +0000
commitedcc309d0e36c8f557219bfbfffa75aadddbafa9 (patch)
tree8f92addda767a97c97017deedeab718056170dcd /buckets
parenta6a059f1425795802aff4c9199d64ee647ee2d09 (diff)
downloadapr-edcc309d0e36c8f557219bfbfffa75aadddbafa9.tar.gz
Use the APR_FOPEN_* constants instead of the deprecated APR_* constants
within code outside the file_io code. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@917837 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'buckets')
-rw-r--r--buckets/apr_buckets_file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/buckets/apr_buckets_file.c b/buckets/apr_buckets_file.c
index 7df138a60..c26089496 100644
--- a/buckets/apr_buckets_file.c
+++ b/buckets/apr_buckets_file.c
@@ -93,14 +93,14 @@ static apr_status_t file_bucket_read(apr_bucket *e, const char **str,
#endif
#if APR_HAS_THREADS && !APR_HAS_XTHREAD_FILES
- if ((flags = apr_file_flags_get(f)) & APR_XTHREAD) {
+ if ((flags = apr_file_flags_get(f)) & APR_FOPEN_XTHREAD) {
/* this file descriptor is shared across multiple threads and
* this OS doesn't support that natively, so as a workaround
* we must reopen the file into a->readpool */
const char *fname;
apr_file_name_get(&fname, f);
- rv = apr_file_open(&f, fname, (flags & ~APR_XTHREAD), 0, a->readpool);
+ rv = apr_file_open(&f, fname, (flags & ~APR_FOPEN_XTHREAD), 0, a->readpool);
if (rv != APR_SUCCESS)
return rv;