🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80062

Re: inn-2.4.5 core dumps at startup after upgrade to perl 5.8.9

#80062
From: Julien ÉLIE
Date: Wed, 21 Jan 2009 20:01
31 lines
2339 bytes
Hi Michael,

> Good news! Your patches did the trick:

That's great!  Thanks for having tested them.


> -        const char *argv[] = { "innd", "-e", "0", NULL };
> -        char *env[]  = { NULL };
> +        const char *argv_innd[] = { "innd", "-e", "0", NULL };
> +        char **argv = (char **)argv_innd; /* Cast required by Perl 5.10. */
> +        char **env  = { NULL };

This cast seems to also be required by Perl 5.8.9 then.
When I tested with Perl 5.10, innd worked without the cast (but complained
with a warning during the build).  It was with Debian.

Perl 5.8.9 is not packaged for Debian (they directly switched to 5.10.0)
and I have not tested it.  Therefore, I do not know whether the issue is specific
to FreeBSD.


> I'll let the FreeBSD port maintainer know about that fix.

Thanks!

-- 
Julien ÉLIE

« La vie ne vaut rien. Mais rien ne vaut la vie. » (André Malraux)
Technical Details
Message-ID: <gl7uvi$dq8$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder2-2.proxad.net!proxad.net!feeder1-2.proxad.net!news.cs.univ-paris8.fr!gegeweb.org!news.trigofacile.com!not-for-mail
References: <gl45dm$t3o$1@odo.in-berlin.de> <gl7nha$6t1$1@news.trigofacile.com> <gl7t4u$1j0k$1@odo.in-berlin.de>

Show Full Headers
Complete Article Headers
Message-ID: <gl7uvi$dq8$1@news.trigofacile.com>
Subject: Re: inn-2.4.5 core dumps at startup after upgrade to perl 5.8.9
Date: Wed, 21 Jan 2009 21:01:47 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <gl45dm$t3o$1@odo.in-berlin.de> <gl7nha$6t1$1@news.trigofacile.com> <gl7t4u$1j0k$1@odo.in-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder2-2.proxad.net!proxad.net!feeder1-2.proxad.net!news.cs.univ-paris8.fr!gegeweb.org!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 31
NNTP-Posting-Host: aaubervilliers-151-1-85-70.w83-199.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
 reply-type=original
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1232568114 14152 83.199.148.70 (21 Jan 2009
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Wed, 21 Jan 2009 20:01:54 +0000 (UTC)
In-Reply-To: <gl7t4u$1j0k$1@odo.in-berlin.de>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049