Re: PL/Perl and Perl 5.8

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: PL/Perl and Perl 5.8
Дата
Msg-id Pine.LNX.4.44.0210181829260.928-100000@localhost.localdomain
обсуждение исходный текст
Ответ на Re: PL/Perl and Perl 5.8  (Neil Conway <neilc@samurai.com>)
Ответы Re: PL/Perl and Perl 5.8  (Neil Conway <neilc@samurai.com>)
Список pgsql-hackers
Neil Conway writes:

> #ifdef HAS_CRYPT_R
> #if CRYPT_R_PROTO == REENTRANT_PROTO_B_CCD
>     CRYPTD* _crypt_data;
> #else
>     struct crypt_data _crypt_struct;
> #endif
> #endif /* HAS_CRYPT_R */
>
> The "crypt_data" struct is defined in crypt.h, but only if _GNU_SOURCE
> is defined -- just like crypt_r().

The HAS_CRYPT_R is true because the function is available even without the
prototype, but the struct is not.  A plain bug in Perl's configury
mechanism.

-- 
Peter Eisentraut   peter_e@gmx.net



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Cleanup of /contrib
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: pg_dump and large files - is this a problem?