Re: problems with configure

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: problems with configure
Дата
Msg-id 15627.973718223@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: problems with configure  ("Martin A. Marques" <martin@math.unl.edu.ar>)
Ответы Re: problems with configure  ("Martin A. Marques" <martin@math.unl.edu.ar>)
Список pgsql-hackers
"Martin A. Marques" <martin@math.unl.edu.ar> writes:
> No. Forgot to tell my latest experience.

> 1) postgres 7.0.2 compiles great on Solaris 7 and Solaris 8.
> 2) postgres cvs (latest download) doesn't compile (same error on both) on 
> Solaris 7 nor Solaris 8.

Ah so.  7.0.*'s configure didn't try to determine the exact datatype of
accept()'s arguments, which is why it didn't run into this problem.

> So it isn't a Solaris 7 problem, but a Solaris problem. ;-)

I guess we not only need a hack, but a nastygram or three sent off to
the Solaris people.  void *?  What in heavens name were they thinking?
That essentially means you've got no parameter type checking at all
on calls to accept() --- or any other socket function that takes a
socklen_t.  Pass the wrong-size integer, you're out of luck ... silently.
Sheesh.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Martin A. Marques"
Дата:
Сообщение: Re: problems with configure
Следующее
От: "Martin A. Marques"
Дата:
Сообщение: Re: problems with configure