Minor cleanup for win32stat.c.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: c94cfb38c32a68ef9b021a6851fff25f9ecdf297
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2020-10-10T17:39:21Z
Releases: 14.0
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-dkijotx5Qg@mail.gmail.com

Files

PathChange+/−
src/port/win32stat.c modified +22 −16

Discussion