ports/93981: ePerl coredumps as CGI Handler when used with Perl 5.8
Anton Berezin
tobez at tobez.org
Wed Mar 1 16:10:11 UTC 2006
The following reply was made to PR ports/93981; it has been noted by GNATS.
From: Anton Berezin <tobez at tobez.org>
To: Matthias Meyser <Meyser at xenet.de>
Cc: FreeBSD-gnats-submit at FreeBSD.org
Subject: Re: ports/93981: ePerl coredumps as CGI Handler when used with Perl 5.8
Date: Wed, 1 Mar 2006 17:05:33 +0100
On Wed, Mar 01, 2006 at 03:24:03PM +0100, Matthias Meyser wrote:
> In "eperl_perl5.h" the function "fwrite" is redefined iby a macro to use "PerlIO_write".
> "FILE *" parameter (fwrite) ist used as "PerlIO *" parameter (PerlIO_write).
> This does not work. It may have worked with older Perl versions.
>
> Using the original fwrite works with Perl 5.8.8 (tested) and schould work with older
> Versions of Perl (not tested).
I am not sure that using the stdio's fwrite is safe, when the rest of
embedded perl (any perl code, basically) is using PerlIO. There might
be some interesting effects with regard to buffering.
\Anton.
--
An undefined problem has an infinite number of solutions.
-- Robert A. Humphrey
More information about the freebsd-ports-bugs
mailing list