[Ironruby-core] [patch] Issue in DLR.CommandLine with new lines
Shri Borde
Shri.Borde at microsoft.com
Thu Mar 5 12:42:43 EST 2009
It sounds like an easy fix, so we will try to get it fixed in the next few days.
-----Original Message-----
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Curt Hagenlocher
Sent: Thursday, March 05, 2009 6:17 AM
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] [patch] Issue in DLR.CommandLine with new lines
I recommend that you file this as a bug report against the DLR at http://www.codeplex.com/dlr
-----Original Message-----
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Jb Evain
Sent: Thursday, March 05, 2009 5:32 AM
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] [patch] Issue in DLR.CommandLine with new lines
On 3/3/09, Jb Evain <jb at nurv.fr> wrote:
> 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.
Microsoft folks,
I know you can't take direct patches for the DLR, but do you plan to
take this bug into consideration?
--
Jb Evain <jb at nurv.fr>
_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
More information about the Ironruby-core
mailing list