whiteknight/io_cleanup1 branch ready for testing

James E Keenan jkeen at verizon.net
Thu Aug 16 00:33:04 UTC 2012


On 8/15/12 8:10 PM, James E Keenan wrote:
>
> The warnings appear to be being generated when tools/build/c2str.pl
> processes src/pmc/stringhandle.c, whose source file is
> src/pmc/stringhandle.pmc. The problematic commit appears to be this:
>
> commit 6c44a3a9a8296ca34b60fafaf2d313b83ab6fddd
> Author: Whiteknight <wknight8111 at gmail.com>
> Date: Fri Jul 20 20:59:41 2012 -0400
>
> Change to the readline logic, in pursuit of a permanent fix. A few other
> small changes
>
>

Change in 6c44a3a9a8 to line 95 of src/pmc/stringhandle.pmc is likely 
suspect:

         data_struct->record_separator = CONST_STRING(interp, '\n');

In tools/build/c2str.pl, if $_ does not contain a pair of double quotes 
when this regex is reached at line 151:

         my ($str) = m/^\s*"((?:\\"|[^"])*)"/;

... then nothing will be captured and $str will be undefined.

Thank you very much.
Jim Keenan






More information about the parrot-dev mailing list