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 ;-)


-- 
With best regards,
Dmitry Gurevitch
 

Reply via email to