Fix readlink() return value on Windows.

Thomas Munro <tmunro@postgresql.org>

Commit: 4650036f5ab81c93e3b6ed549ef672a325b79705
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2022-10-25T02:13:52Z
Releases: 16.0
Fix readlink() return value on Windows.

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

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

Files

PathChange+/−
src/port/dirmod.c modified +3 −0

Discussion