Minor cleanup for win32stat.c.
Use GetLastError(), rather than assuming that CreateFile() failure
must map to ENOENT. Noted by Michael Paquier.
Discussion:
https://postgr.es/m/cac+axb0g44sbvspc86o_1hwh8tau2pzrmrw6tjt-dkijotx...@mail.gmail.com
Branch
--
master
Details
---
https://git.p
Minor cleanup for win32stat.c.
Fix silly typo in previous commit.
Discussion:
https://postgr.es/m/cac+axb0g44sbvspc86o_1hwh8tau2pzrmrw6tjt-dkijotx...@mail.gmail.com
Branch
--
master
Details
---
https://git.postgresql.org/pg/commitdiff/961e07b8ccb56cb3979185b066b503b3d4f7c036
Modified
Minor cleanup for win32stat.c.
Ensure that CloseHandle() can't clobber the errno we set for
failure exits, and make a couple of tweaks for pgindent.
Juan José SantamarÃa Flecha
Discussion:
https://postgr.es/m/cac+axb0g44sbvspc86o_1hwh8tau2pzrmrw6tjt-dkijotx...@mail.gmail.com
Branch
--
mast