Re: PL/Perl and Perl 5.8
От | Neil Conway |
---|---|
Тема | Re: PL/Perl and Perl 5.8 |
Дата | |
Msg-id | 87r8eopzdf.fsf@mailbox.samurai.com обсуждение исходный текст |
Ответ на | Re: PL/Perl and Perl 5.8 (Peter Eisentraut <peter_e@gmx.net>) |
Ответы |
Re: PL/Perl and Perl 5.8
|
Список | pgsql-hackers |
Peter Eisentraut <peter_e@gmx.net> writes: > Can you post some snippets from the relevant code sections? Following one > of the links that were posted I gathered that this is related to > crypt_r(), whose prototype is not exposed on my system unless you use > _GNU_SOURCE. But I don't see any _crypt_struct here. Yeah, the seems to be the culprit. Line 480 of reentr.h is part of the definition of a monster struct; the relevent field is: #ifdef HAS_CRYPT_R #if CRYPT_R_PROTO == REENTRANT_PROTO_B_CCDCRYPTD* _crypt_data; #elsestruct 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(). Cheers, Neil -- Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC
В списке pgsql-hackers по дате отправления: