Re: Call for port reports

From: ohp(at)pyrenet(dot)fr
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-hackers list <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Call for port reports
Date: 2004-12-18 15:03:00
Message-ID: Pine.UW2.4.53.0412181600220.6703@server.pyrenet.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Prototype is

#include <signal.h>
int sigwait (sigset_t *set);

but fe_secure.c calls sigwait(&sigpipe_sigset, &signo);

so there's effectively one argument too much!
reards
On Fri, 17 Dec 2004, Tom Lane wrote:

> Date: Fri, 17 Dec 2004 12:49:59 -0500
> From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
> To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
> Cc: ohp(at)pyrenet(dot)fr, pgsql-hackers list <pgsql-hackers(at)postgresql(dot)org>
> Subject: Re: [HACKERS] Call for port reports
>
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > ohp(at)pyrenet(dot)fr wrote:
> >> UX:acomp: ERREUR: "fe-secure.c", ligne 1316 : prototype mismatch: 2 args passed, 1 expected: sigwait()
>
> > What is your prototype for sigwait()?
>
> Whatever it is, it doesn't agree with the Single Unix Spec:
> http://www.opengroup.org/onlinepubs/007908799/xsh/sigwait.html
>
> On HPUX 10.20 I see
>
> #include <pthread.h>
>
> int sigwait(sigset_t *set);
>
> and indeed --enable-thread-safety doesn't work on this platform,
> although we fail the thread safety configure test so there are other
> problems beside sigwait().
>
> My feeling about this is "too bad, we are not supporting threading on
> platforms whose pthread.h doesn't follow SUS".
>
> regards, tom lane
>

--
Olivier PRENANT Tel: +33-5-61-50-97-00 (Work)
6, Chemin d'Harraud Turrou +33-5-61-50-97-01 (Fax)
31190 AUTERIVE +33-6-07-63-80-64 (GSM)
FRANCE Email: ohp(at)pyrenet(dot)fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-12-18 17:00:12 Re: Dump from cygwin directly to windows
Previous Message Thomas Hallgren 2004-12-18 09:58:11 Re: Permissions within a function