pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Minor cleanup for win32stat.c.
3+ messages / 1 participants
[nested] [flat]

* pgsql: Minor cleanup for win32stat.c.
@ 2020-10-10 17:39 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2020-10-10 17:39 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Minor cleanup for win32stat.c.
@ 2020-10-10 18:53 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2020-10-10 18:53 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Minor cleanup for win32stat.c.

Fix silly typo in previous commit.

Discussion: https://postgr.es/m/CAC+AXB0g44SbvSpC86o_1HWh8TAU2pZrMRW6tJT-dkijotx5Qg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/961e07b8ccb56cb3979185b066b503b3d4f7c036

Modified Files
--------------
src/port/win32stat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Minor cleanup for win32stat.c.
@ 2020-10-12 15:13 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2020-10-12 15:13 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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-dkijotx5Qg@mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/port/win32stat.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2020-10-12 15:13 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-10-10 17:39 pgsql: Minor cleanup for win32stat.c. Tom Lane <tgl@sss.pgh.pa.us>
2020-10-10 18:53 pgsql: Minor cleanup for win32stat.c. Tom Lane <tgl@sss.pgh.pa.us>
2020-10-12 15:13 pgsql: Minor cleanup for win32stat.c. Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox