commit | a14bce85e885f83c96116cc5438ae52d740f3727 | [log] [tgz] |
---|---|---|
author | Mike Hommey <mh@glandium.org> | Mon Apr 30 12:38:26 2012 +0200 |
committer | Jason Evans <je@fb.com> | Mon Apr 30 16:50:55 2012 -0700 |
tree | afc19981fe9e5b0de90645189626dae967733ad8 | |
parent | af04b744bda40842631d80ad04e1510308b13e54 [diff] |
Use Get/SetLastError on Win32 Using errno on win32 doesn't quite work, because the value set in a shared library can't be read from e.g. an executable calling the function setting errno. At the same time, since buferror always uses errno/GetLastError, don't pass it.