RPM Community Forums

Mailing List Message of <popt-devel>

va_list and calling vsprintf twice

From: Arkadiusz Miskiewicz <arekm@maven.pl>
Date: Fri 15 Jun 2007 - 11:52:46 CEST
Message-Id: <200706151152.46588.arekm@maven.pl>

Afaik calling vs(n)printf twice on the same va_list isn't portable, right?

Here on my x86_64 and ppc linux systems with glibc 2.6 it causes problems 
(like rpm --help segfaults)

http://cvs.pld-linux.org/cgi-bin/cvsweb/SOURCES/popt-va.patch?rev=1.1
makes my rpm --help happy.
-- 
Arkadiusz Mi¶kiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/
Received on Fri Jun 15 11:52:52 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.