]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Invent a win_strerror() function which behaves as much like Unix
authorSimon Tatham <anakin@pobox.com>
Mon, 22 Jul 2013 07:11:39 +0000 (07:11 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 22 Jul 2013 07:11:39 +0000 (07:11 +0000)
commit54693d40798a5a5fc51e2aedf355a5aa1b3ee4cd
tree19c24e76478fa33382e7a8a86cdf570641e562b2
parent13667de106b2b21c46af3bc7d260fc09f08a554e
Invent a win_strerror() function which behaves as much like Unix
strerror as I can arrange, wrapping up all the ugly FormatMessage
nonsense and caching previously looked-up messages for reuse so that
callers can treat them as static.

[originally from svn r9956]
windows/winmisc.c
windows/winstuff.h