Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 70707 invoked by uid 500); 30 Dec 2002 06:09:13 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 70688 invoked from network); 30 Dec 2002 06:09:13 -0000 Subject: Re: Segfault in 2.1 head on linux From: Brian Pane To: dev@httpd.apache.org Cc: dev@apr.apache.org In-Reply-To: <3E0FB910.2050508@codefaktor.de> References: <3E0FB910.2050508@codefaktor.de> Content-Type: text/plain Organization: Message-Id: <1041228299.11583.0.camel@desktop> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 29 Dec 2002 22:05:00 -0800 Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Sun, 2002-12-29 at 19:10, Erik Abele wrote: > seems that this has something to do with the latest changes in apr/file_io/unix/open.c... the following patch works fine for me. > > --- /home/cvs/apr/file_io/unix/open.c Mon Dec 30 02:58:01 2002 > +++ open.c Mon Dec 30 03:59:26 2002 > @@ -146,7 +146,7 @@ > #endif > > #if APR_HAS_THREADS > - if ((flag & APR_BUFFERED) && ((*new)->flags & APR_XTHREAD)) { > + if ((flag & APR_BUFFERED) && (flag & APR_XTHREAD)) { Thanks, I just committed the fix. Brian