This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/366] Compiling on 64-bit yields segmentation fault when run, on 32-bit runs fine.


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]