Re: PL/Perl and Perl 5.8

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PL/Perl and Perl 5.8
Date: 2002-10-18 22:06:32
Message-ID: Pine.LNX.4.44.0210181829260.928-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2002-10-18 22:07:07 Re: pg_dump and large files - is this a problem?
Previous Message Peter Eisentraut 2002-10-18 22:05:56 Re: Cleanup of /contrib