Re: [PATCH 1/2] MinGW: a helper function that translates Win32 API error codes
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Mar 17, 2009, 10:10 UTC
- Message-ID
- <alpine.DEB.1.00.0903171109510.6393@intel-tinevez-2-302>
- In-Reply-To
- <49BF53C2.6020707@kdbg.org>
Hi,
On Tue, 17 Mar 2009, Johannes Sixt wrote:
Show 15 quoted lines
> From: Petr Kodl <petrkodl@gmail.com> > Date: Sat, 24 Jan 2009 15:04:39 +0100 > > 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> > --- > Dscho, > > I've split this [error code translation from Win32 to POSIX] off from > the Petr's hard-link patch and moved the function to the top or mingw.c > because we should reuse it in our other wrappers to convert error > codes.
I fully agree.
Ciao, Dscho