From b9df1606d45e4f5c284aa98a848ce8e1ecbbfdf9 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Thu, 30 Aug 2001 13:37:16 +0000 Subject: [PATCH] After committing Brian Havard's fix to Unix file_io yesterday, we seem to be reading/seeking .var files fine on Unix even with buffering turned on. wrowe reports that they're working on Win32 also. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90812 13f79535-47bb-0310-9956-ffa450edef68 --- modules/mappers/mod_negotiation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mappers/mod_negotiation.c b/modules/mappers/mod_negotiation.c index 6939cd63e6..7e910c94cc 100644 --- a/modules/mappers/mod_negotiation.c +++ b/modules/mappers/mod_negotiation.c @@ -888,7 +888,7 @@ static int read_type_map(apr_file_t **map, negotiation_state *neg, request_rec * /* We are not using multiviews */ neg->count_multiviews_variants = 0; - if ((status = apr_file_open(map, rr->filename, APR_READ /* | APR_BUFFERED */, + if ((status = apr_file_open(map, rr->filename, APR_READ | APR_BUFFERED, APR_OS_DEFAULT, neg->pool)) != APR_SUCCESS) { ap_log_rerror(APLOG_MARK, APLOG_ERR, status, r, "cannot access type map file: %s", rr->filename); -- 2.40.0