On Mon, Oct 12, 2020 at 5:27 AM Tom Lane <t...@sss.pgh.pa.us> wrote:

> Michael Paquier <mich...@paquier.xyz> writes:
> > Why are we forcing errno=ENOENT here?  Wouldn't it be correct to use
> > _dosmaperr(GetLastError()) to get the correct errno?
>
> Fair question.  Juan, was there some good reason not to look at
> GetLastError() in this step?
>

Uhm, a good question indeed, forcing errno serves no purpose there.

Regards,

Juan José Santamaría Flecha

Reply via email to