-
Arthur O'Dwyer authored
There are three versions of monitor_event(), all taking variadic arguments. The original code just has the first one creating a va_list and passing that va_list variadically to the second one... which creates a new va_list and passes it variadically to the third one... and of course everything blows up when we try to pull a non-va_list argument off the stack. The correct approach matches the C standard library's use of printf/vprintf, scanf/vscanf, and so on. Once you make a va_list, you must pass it only to functions which expect a va_list parameter.
7fadd708
Name |
Last commit
|
Last update |
---|---|---|
builds | ||
doc | ||
foreign/openpgm | ||
include | ||
perf | ||
src | ||
tests | ||
.gitignore | ||
.hgeol | ||
AUTHORS | ||
COPYING | ||
COPYING.LESSER | ||
INSTALL | ||
MAINTAINERS | ||
Makefile.am | ||
NEWS | ||
README | ||
acinclude.m4 | ||
autogen.sh | ||
branding.bmp | ||
configure.in | ||
installer.ico | ||
version.sh |