3 messages in net.sourceforge.lists.courier-users[courier-users] BUGS + resolving
FromSent OnAttachments
Dmitry F GurevitchMar 5, 2002 10:25 am 
Sam VarshavchikMar 5, 2002 2:34 pm 
TWC | Mario PeschelMar 5, 2002 3:56 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] BUGS + resolvingActions...
From:Dmitry F Gurevitch (di@ivl.kiev.ua)
Date:Mar 5, 2002 10:25:44 am
List:net.sourceforge.lists.courier-users

Hi!

I tried to compile this product (1.4.3) under Intel Solaris 8.

1. Failing while configure script execution in waitlib...

This is a bug in configure.in in AC_TRY_COMPILE macro. More correct is:

AC_TRY_COMPILE( [ #include <signal.h>

extern int sighold(int);

],[

int i=sighold(0); ],[ac_cv_func_sighold=yes AC_DEFINE_UNQUOTED(HAVE_SIGHOLD)],)

So, sighold function does exist, but not correctly checked.

2. I think, that some bug in waitlib.c in wait_reap(...) function.

Why "wait3" calls from "while" loop, but "wait" only from "if" statement?

I was changed

if ((p=wait(&dummy)) > 0)

to

while ((p=wait(&dummy)) > 0)

and checking for wait function was passed successfuly.

Correct me please, if I'm wrong ;-)