Re: S_ISLNK

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Nicholas White <n(dot)j(dot)white(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: S_ISLNK
Date: 2012-11-14 14:25:59
Message-ID: 17910.1352903159@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Nicholas White <n(dot)j(dot)white(at)gmail(dot)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

In response to

  • S_ISLNK at 2012-11-13 21:39:10 from Nicholas White

Responses

  • Re: S_ISLNK at 2012-11-14 16:19:26 from Nicholas White

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2012-11-14 14:41:45 Re: Why does delete from table where not exists (select 1 from ... LIMIT 1) perform badly?
Previous Message Andres Freund 2012-11-14 13:25:55 Re: [PATCH] binary heap implementation