Invent a win_strerror() function which behaves as much like Unix
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 22 Jul 2013 07:11:39 +0000 (07:11 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 22 Jul 2013 07:11:39 +0000 (07:11 +0000)
commit688861a828dce616dbc0b67397558b2ecaaa8a75
tree19c24e76478fa33382e7a8a86cdf570641e562b2
parent4b38c5ea8b261eed4f68751cc345e9a24e392ad8
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.

git-svn-id: svn://svn.tartarus.org/sgt/putty@9956 cda61777-01e9-0310-a592-d414129be87e
windows/winmisc.c
windows/winstuff.h