]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Apparently Vista's printf-like functions don't support %n by default.
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Sat, 31 May 2008 17:22:29 +0000 (17:22 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Sat, 31 May 2008 17:22:29 +0000 (17:22 +0000)
commit33bfb2bc722222dddbc5024a3cb2a7d69ec1cb6d
tree228f47ccf6d8dc66351ea3e155a583649bf79ac1
parent44f578e47975f53d824429ccad48b3394629a8ba
Apparently Vista's printf-like functions don't support %n by default.
We could explicitly re-enable %n, but we only use it in one place, so take
the path of least resistance and remove that single instance. This stops
dupvprintf() getting stuck in a loop (a behaviour that's caused by a workaround
for a broken libc).

<http://msdn.microsoft.com/en-us/library/ms175782(VS.80).aspx>

[originally from svn r8030]
ssh.c