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 <[EMAIL PROTECTED]>
> To: Bruce Momjian <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED], pgsql-hackers list <[EMAIL PROTECTED]>
> Subject: Re: [HACKERS] Call for port reports
>
> Bruce Momjian <[EMAIL PROTECTED]> writes:
> > [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faqs/FAQ.html

Reply via email to