Fix symlink() errno on Windows.
authorThomas Munro <tmunro@postgresql.org>
Tue, 25 Oct 2022 02:10:49 +0000 (15:10 +1300)
committerThomas Munro <tmunro@postgresql.org>
Tue, 25 Oct 2022 02:10:49 +0000 (15:10 +1300)
commit359d601095ce2361bad50f9f8b0bcfe4da1eb886
tree87b7583cc16bfc3096b0718996395ae10bf37157
parentf186c7c88522c2c25b31566b4a5e00749ca7820c
Fix symlink() errno on Windows.

Ancient bug noticed while working on a test suite for these functions.

https://postgr.es/m/CA%2BhUKG%2BajSQ_8eu2AogTncOnZ5me2D-Cn66iN_-wZnRjLN%2Bicg%40mail.gmail.com
src/port/dirmod.c