Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 27443 invoked by uid 500); 24 Aug 2001 00:24:30 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 27432 invoked by uid 500); 24 Aug 2001 00:24:29 -0000 Delivered-To: apmail-new-httpd@apache.org Date: Thu, 23 Aug 2001 17:24:33 -0700 (PDT) From: Marc Slemko To: TLOSAP Subject: one byte reads of .var maps Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Status: O X-Status: X-Keywords: X-UID: 1164 open("/usr/local/apache2/error/HTTP_NOT_FOUND.html.var",0,0666) = 9 (0x9) read(0x9,0xbfbfb1f0,0x1) = 1 (0x1) read(0x9,0xbfbfb1f1,0x1) = 1 (0x1) read(0x9,0xbfbfb1f2,0x1) = 1 (0x1) read(0x9,0xbfbfb1f3,0x1) = 1 (0x1) read(0x9,0xbfbfb1f4,0x1) = 1 (0x1) read(0x9,0xbfbfb1f5,0x1) = 1 (0x1) read(0x9,0xbfbfb1f6,0x1) = 1 (0x1) read(0x9,0xbfbfb1f7,0x1) = 1 (0x1) read(0x9,0xbfbfb1f8,0x1) = 1 (0x1) (on and on and on...) Erm... we definitely don't want to be doing that. At the very least, the file needs to be opened buffered. Hmm. Seems to be very little use of APR_BUFFERED at all in 2.0... I was sure a lot more things were doing buffered reads from files in 1.x.