gittup/tup — pull request #74 by foresterLV (2012-06-05 11:18:55+00:00)
Title: Fixed win32 API hooks were not preserving GetLastError() value

causing applications to get confused on errors.

For example in my scenario MingW was trying to get information regarding
include folders, but was using buffers which are too small to fit all
information, win32 API was reporting this, but error code was lost in
hook, causing MingW to think that API call failed due to unknown failure
instead of retrying call with bigger buffer.