Mailinglist Archive: opensuse-programming (9 mails)

< Previous Next >
Re: [opensuse-programming] any problems with vsyslog on 64bit systems?
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Wed, 27 Feb 2008 08:46:35 +0100
  • Message-id: <fq34gs$hk8$1@xxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-programming+help@xxxxxxxxxxxx

< Previous Next >
List Navigation