Fix symlink() errno on Windows.

Thomas Munro <tmunro@postgresql.org>

Commit: 359d601095ce2361bad50f9f8b0bcfe4da1eb886
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2022-10-25T02:10:49Z
Releases: 16.0
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

Files

PathChange+/−
src/port/dirmod.c modified +10 −1