This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/366] Compiling on 64-bit yields segmentation fault when run, on 32-bit runs fine.
- From: "jakub at redhat dot com" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 3 Sep 2004 07:41:52 -0000
- Subject: [Bug libc/366] Compiling on 64-bit yields segmentation fault when run, on 32-bit runs fine.
- References: <20040903023911.366.dafrabbit@yahoo.com>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From jakub at redhat dot com 2004-09-03 07:41 -------
Well, if you really need two vprintf calls, you can use
va_list ap2;
va_copy (ap2, ap);
vfprintf(out_fp, fmt, ap);
vfprintf(log_stream_g, fmt, ap2);
va_end (ap2);
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=366
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.