From sfalcon at fhcrc.org  Sun Nov 27 18:14:28 2005
From: sfalcon at fhcrc.org (Seth Falcon)
Date: Sun, 27 Nov 2005 09:14:28 -0800
Subject: [Rd] segfault on write.dcf with gzfile connection
In-Reply-To: <Pine.LNX.4.61.0511270936460.1182@gannet.stats> (Brian Ripley's
	message of "Sun, 27 Nov 2005 09:40:02 +0000 (GMT)")
References: <m2wtiuviuq.fsf@ziti.local>
	<Pine.LNX.4.61.0511270936460.1182@gannet.stats>
Message-ID: <m2mzjqui6j.fsf@ziti.local>

On 27 Nov 2005, ripley at stats.ox.ac.uk wrote:

> Unfortunately va_copy is an ISO C99 function, so not always
> available.
>
> Please do heed the posting guide and give us real details of your OS
> and compiler, as they do matter here (stdarg.h is often
> compiler-specific).

    > R.version
             _                           
    platform x86_64-unknown-linux-gnu    
    arch     x86_64                      
    os       linux-gnu                   
    system   x86_64, linux-gnu           
    status   Under development (unstable)
    major    2                           
    minor    3.0                         
    year     2005                        
    month    11                          
    day      23                          
    svn rev  36434                       
    language R             

    gcc --version
    gcc (GCC) 3.3.4 (pre 3.3.5 20040809)      

This page appears to have useful documentation:
http://www.unixpapa.com/incnote/variadic.html

Thinking out loud: Does writecon need to be variadic?  It is only
called once with a fixed format string "%s%s".



[Rd] segfault on write.dcf with gzfile connection
Seth Falcon