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: "dafrabbit at yahoo dot com" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 3 Sep 2004 13:01:41 -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 dafrabbit at yahoo dot com 2004-09-03 13:01 -------
(In reply to comment #3)
> 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);
>
Well, you then make it difficult to do the task to pass variable number of
arguments from one subroutine to another subroutine. I do't know whether C
forbids that. Your suggestion is to ask people not to use subroutines. I hope it
is not that restrictive.
--
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.