27 Feb
2008
27 Feb
'08
07:46
Marcus Meissner wrote:
No, you are using the va_list _twice_. You can do that on i386 perhaps, but not on x86_64, it will just crash.
Yep, that is exactly my experience.
Use va_copy (v2, v); to get a second list, and pass this to vfprintf().
Thanks - it would have taken me a loooong time to find that solution. /Per Jessen, Zürich --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org