Code

MinGW: a helper function that translates Win32 API error codes
authorPetr Kodl <petrkodl@gmail.com>
Sat, 24 Jan 2009 14:04:39 +0000 (15:04 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Mar 2009 16:21:27 +0000 (09:21 -0700)
commitb3debd2b0c091990c420f78e074c0c160498e51d
tree51dc889e3884c2ca954e33d0ae0934e0f6542282
parent8e24cbaeafc7eed709e251fda1673ffea84edfb1
MinGW: a helper function that translates Win32 API error codes

This function translates many possible Win32 error codes to suitable
errno numbers.  We will use it in our wrapper functions that need to call
into Win32.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/mingw.c