Use va_copy() where available. This should fix a segfault in vsnprintf()
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Fri, 29 Dec 2006 16:38:52 +0000 (16:38 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Fri, 29 Dec 2006 16:38:52 +0000 (16:38 +0000)
commite1ef3c298c7fbbf4b1b0a702684b3cdd07591eb1
tree43ca371667d4f71623abd18e85b5bafa93845fb2
parentd5410af8dd497c1fe70074eaf977e0b19f13d89c
Use va_copy() where available. This should fix a segfault in vsnprintf()
on AMD 64 Linux.
(This has been sitting in my checkout for ages and hasn't obviously caused
any trouble -- I think I was waiting to get round to trying it with VC6, which
I haven't yet. There are some notes in comments on further tweaks that could
be made.)

git-svn-id: svn://svn.tartarus.org/sgt/putty@7035 cda61777-01e9-0310-a592-d414129be87e
misc.c