[Ironruby-core] [patch] Issue in DLR.CommandLine with new lines

Ivan Porto Carrero ivan at flanders.co.nz
Tue Mar 3 09:22:17 EST 2009


Great i'll add those to the mono branch :)

On Tue, Mar 3, 2009 at 1:46 PM, Jb Evain <jb at nurv.fr> wrote:

> Hey,
>
> I spent some time investigating why on Mono ir.exe (last git revision)
> doesn't print the result of evaluations.
>
> The issue lies in the processing of new lines in
> Microsoft.Scripting.Core.Hosting.Shell.CommandLine.
>
> The code is appending \n as terminating new lines, but checks for the
> presence of Environment.NewLine inside the evaluated string. Obviously
> it works only if Environment.NewLine is \r\n, and not \n.
>
> Attached is a suggested patch, addressing the issue.
>
> --
> Jb Evain  <jb at nurv.fr>
>
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20090303/5d023639/attachment.html>


More information about the Ironruby-core mailing list