Map ERROR_INVALID_NAME to ENOENT in mapping table of win32error.c
Michael Paquier <michael@paquier.xyz>
Map ERROR_INVALID_NAME to ENOENT in mapping table of win32error.c This error can be reached when sending an incorrect file name to open() on Windows, resulting in a confusing errno reported. This has been seen in the development of a different patch by the same author. Author: Bharath Rupireddy Discussion: https://postgr.es/m/CALj2ACWet-b8Juba0DiXwfGCyyOcohzwksahE5ebB9rcbLZKCQ@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/port/win32error.c | modified | +3 −0 |
Discussion
- Extend win32 error codes to errno mapping in win32error.c 5 messages · 2022-09-27 → 2022-09-29