Re: [PATCH 3/4] mingw: move common functionality to win32.h
- From
Johannes Sixt <johannes.sixt@telecom.at>
- Date
- Sep 28, 2008, 09:10 UTC
- Message-ID
- <200809281110.48256.johannes.sixt@telecom.at>
- In-Reply-To
- <20080927215102.GF21650@dpotapov.dyndns.org>
On Samstag, 27. September 2008, Dmitry Potapov wrote:
Show 5 quoted lines
> win32_to_errno was the first thing that implemented but then released > that translation of Win32 errors to errno cannot be in general case. > For instance, ERROR_BUFFER_OVERFLOW means ENAMETOOLONG here, but it > can be translated to ETOOSMALL in other cases. How do you propose to > deal with that?
We deal with that when the need arises, in an evolutionary manner. The first step is to *have* an error code translation routine.
-- Hannes