develooper Front page | perl.perl5.porters | Postings from September 2001

Re: [ID 20010903.004] accept() cores interpreter

Thread Previous
From:
Nicholas Clark
Date:
September 4, 2001 02:03
Subject:
Re: [ID 20010903.004] accept() cores interpreter
Message ID:
20010904100322.Z25120@plum.flirble.org
On Mon, Sep 03, 2001 at 08:21:51PM -0400, Daniel Corbe wrote:

> You're absolutly right, I didn't catch that.  sock is supposed to be a
> temporary variable: so doing something along the lines of:
> 
>                         if ($socklist->{$i}->{sv})
>                         {
>                                 undef $sock;            # Our temporary variable
>                                 accept($sock, $socklist->{$i}->{fh});
> 
> fixes my original problem.  I apologize for the oversite.

Simple test cases that cause perl to coredump are still welcome.
(Well, we'd prefer it if none existed, but given that they do it's better to
know about them and fix the problem they reveal in the perl interpreter)

Thanks for reporting this problem.

Nicholas Clark

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About