apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Pane <brian.p...@cnet.com>
Subject Re: Segfault in 2.1 head on linux
Date Mon, 30 Dec 2002 06:05:00 GMT
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



Mime
View raw message