Fix readlink() return value on Windows.
authorThomas Munro <tmunro@postgresql.org>
Tue, 25 Oct 2022 02:13:52 +0000 (15:13 +1300)
committerThomas Munro <tmunro@postgresql.org>
Tue, 25 Oct 2022 02:13:52 +0000 (15:13 +1300)
commit4650036f5ab81c93e3b6ed549ef672a325b79705
tree011d5502765fd586853caee1ac3236e186ec7e29
parent359d601095ce2361bad50f9f8b0bcfe4da1eb886
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
src/port/dirmod.c