Re: S_ISLNK - Mailing list pgsql-hackers

From Tom Lane
Subject Re: S_ISLNK
Date
Msg-id 17910.1352903159@sss.pgh.pa.us
Whole thread Raw
In response to S_ISLNK  (Nicholas White <n.j.white@gmail.com>)
Responses Re: S_ISLNK  (Nicholas White <n.j.white@gmail.com>)
List pgsql-hackers
Nicholas White <n.j.white@gmail.com> writes:
> Hi - I'm cross-compiling the master branch (cygwin/mingw) and have found a
> reference to S_ISLNK that isn't guarded by #ifndef WIN32 like the ones in
> basebackup.c are.

That whole function is guarded by HAVE_READLINK, so I'm not seeing the
problem (and neither are the Windows members of the buildfarm).  What
environment are you in that has readlink() and not S_ISLNK?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Nicholas White
Date:
Subject: S_ISLNK
Next
From: Tom Lane
Date:
Subject: Re: Why does delete from table where not exists (select 1 from ... LIMIT 1) perform badly?