Re: Fun Stats from sloccount

2007-04-13 Thread Joshua Gatcomb
On 4/13/07, chromatic <[EMAIL PROTECTED]> wrote: The numbers would be higher if sloccount recognized Parrot code. I might add that shortly. -- c Totals grouped by language (dominant language first): ansic: 194913 (51.89%) perl:167865 (44.69%) I reccently informed the author

[perl #41894] segfault happens when invoking poll op

2007-04-13 Thread Nuno Carvalho via RT
Greetings, On Wed Mar 21 20:49:36 2007, coke wrote: > The following patch avoids the segfault: > > Index: src/io/io.c > = > == > --- src/io/io.c (revision 17678) > +++ src/io/io.c (working copy) > @@ -1325,6 +1325,9 @@ > INTVAL > P

Fun Stats from sloccount

2007-04-13 Thread chromatic
The numbers would be higher if sloccount recognized Parrot code. I might add that shortly. -- c Totals grouped by language (dominant language first): ansic: 194913 (51.89%) perl:167865 (44.69%) java: 3908 (1.04%) tcl: 3228 (0.86%) yacc: 2369 (0.63%) lex:

Re: [svn:parrot] r18180 - trunk/src/io

2007-04-13 Thread chromatic
On Friday 13 April 2007 09:44, [EMAIL PROTECTED] wrote: > Log: > [src/io] > * prevent segmentation fault when calling poll on null PMC (RT#41894 for > details) Hm, every time I fix one of these, I wonder if there's a better place to prevent it. What's the code flow look like to get to this poi

Re: [perl #42475] [PATCH] Change asm() to __asm__()

2007-04-13 Thread chromatic
On Thursday 12 April 2007 09:53, Steve Peters wrote: > -ansi -pedantic choke on the call to asm() in src/ops/core.ops. This is > because asm() is gcc-builtin. However, if you use __asm_() instead, > everything works just fine. The following patch gets Parrot to compile > just file, although rat

Re: [perl #42474] [PATCH] Remove dangling enum commas

2007-04-13 Thread chromatic
On Thursday 12 April 2007 09:25, Steve Peters wrote: > Unlike Perl lists, commas are not allowed to be dangling in enum lists. > The attached patch removes them. Thanks, applied as r18175. -- c