pgsql: Minor cleanup for win32stat.c.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Minor cleanup for win32stat.c.
Date: 2020-10-10 17:39:26
Message-ID: E1kRIq6-0001HK-St@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c94cfb38c32a68ef9b021a6851fff25f9ecdf297

Modified Files
--------------
src/port/win32stat.c | 38 ++++++++++++++++++++++----------------
1 file changed, 22 insertions(+), 16 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2020-10-10 18:53:28 pgsql: Minor cleanup for win32stat.c.
Previous Message Tom Lane 2020-10-10 17:28:23 pgsql: Recognize network-failure errnos as indicating hard connection l