Bind to an Unspecified Port

2006-12-21 Thread Matt Diephouse
I've been looking through the sockets code while writing a PIR socket library and I've noticed one major deficiency: if you pass 0 as the port you wish to bind to, the OS will choose a port for you. But there's no way in Parrot to find out which port that is. Right now, bind just returns 0 on suc

Re: More Undef vs. Null...

2006-12-21 Thread Allison Randal
On 12/20/06, Jonathan Worthington <[EMAIL PROTECTED]> wrote: Patch attached that cleans up the code to return PMCNULL instead of undef anyway. I don't really want to apply this until I hear a design decision... The design decision is: let's be consistent and use null. jerry gay wrote: let's

Re: More Undef vs. Null...

2006-12-21 Thread jerry gay
On 12/20/06, Jonathan Worthington <[EMAIL PROTECTED]> wrote: Leopold Toetsch wrote: > Am Mittwoch, 20. Dezember 2006 05:59 schrieb Will Coleda: > >> Are Hash and Array supposed to have different results on unset keys? >> > > The .Undefs returned by Arrays are IMHO and unfortunate leftover of he e

[perl #40802] Investigate Supposed JIT Bug with if/unless Optimization

2006-12-21 Thread [EMAIL PROTECTED] via RT
Hi, After chatting with leo on IRC, and observing that this bug can't be recreated with Parrot today, it appears that the apparent fix really does fix it. Comment from core.jit removed. Thanks, Jonathan

[perl #40253] [PATCH] [CAGE] always cast printf("%p") to (void *)

2006-12-21 Thread Paul Cochrane via RT
On Wed Dec 20 14:21:52 2006, coke wrote: > Whatever you were able to apply is fine. Applied in 16211, thanks!