[PATCH v2 1/4] eal/windows: translate Windows errors to errno-style errors

David Marchand david.marchand at redhat.com
Mon Apr 25 10:25:30 CEST 2022


On Tue, Apr 12, 2022 at 12:44 PM Tyler Retzlaff
<roretzla at linux.microsoft.com> wrote:
>
> Add function to translate Windows error codes to errno-style error
> codes. The possible return values are chosen so that we have as
> much semantical compatibility between platforms as possible.
>
> Signed-off-by: Narcisa Vasile <navasile at microsoft.com>
> Signed-off-by: Tyler Retzlaff <roretzla at linux.microsoft.com>

This patch alone does not make sense, and I guess it breaks
compilation on Windows if we stop at it during a bisect (because it
adds two unused static symbols).
It can be squashed in patch 3 where thread_log_last_error is first used.


-- 
David Marchand



More information about the dev mailing list