On 2026-06-18 Th 11:43 AM, Tom Lane wrote:
> Andrew Dunstan<andrew(at)dunslane(dot)net> writes:
>> Oh, good catch, thanks! Here's a revised patch.
> The Unix side of this LGTM. I have no idea about the Windows
> half (... but are we sure GetFileAttributes() can't change errno?)
>
>
I'm told it does not. Google says:
GetFileAttributes does not set errno. Because it is a Win32 API function
rather than a standard C library function, it sets the thread-local
Last-Error Code instead.
|
|
|cheers|
|
|
|andrew|
--
Andrew Dunstan
EDB:https://www.enterprisedb.com