Re: GIT update to branch: master, updated. 6.1-GIT-27-gf8cb4b8

Lee Howard <[email protected]>
Newsgroups gmane.comp.telephony.fax.hylafax.devel
Message-ID <[email protected]>
[email protected] wrote:
> - Log -----------------------------------------------------------------
> commit f8cb4b830b31bdfea3ef6c83277930ff153808f4
> Author: Aidan Van Dyk <[email protected]>
> Date:   Wed Oct 7 09:28:27 2009 -0400
>
>     Str::vformat()  Don't reuse va_args
>     
>     Use of the va_args is "destructive", and you need to use a copy
>     if you intend to re-use it.
>
> -----------------------------------------------------------------------

This becomes the first use of va_copy in HylaFAX code.  I worry that it 
may not be portable.  In particular, I note this comment in the same 
function modified:

    //XXX can truncate but cant do much about it without va_copy

Is Robert's comment in the code here meaningless?

Thanks,

Lee.


____________________ HylaFAX(tm) Developers Mailing List ____________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe [email protected] < /dev/null
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.