Hi, I've attached a test case for everyone to try out. When I run it, first with C Ruby, then JRuby HEAD, I get this:
D:\Project\jruby-fn>ruby testLineEndings.rb On: i386-mswin32 ------------------------- Wrote: "abc\ndef\r\nghi\n\rmpq\rrst" Read: "abc\ndef\nghi\n\rmpq\rrst" Exp: "abc\ndef\nghi\n\rmpq\rrst" D:\Project\jruby-fn>jruby testLineEndings.rb On: java ------------------------- Wrote: "abc\ndef\r\nghi\n\rmpq\rrst" Read: "abc\ndef\r\nghi\n\rmpq\rrst" Exp: "abc\ndef\nghi\n\rmpq\rrst" Btw, here you can see another point: my RUBY_PLATFORM isn't exactly win32 at all, rather it's more than that. Probably speaks well for us having some platform string like Java-win32 etc? /O ----- Original Message ----- From: Charles O Nutter <[EMAIL PROTECTED]> Date: Sunday, June 25, 2006 7:16 pm Subject: Re: [Jruby-devel] Newline problem. To: [EMAIL PROTECTED], jruby-devel@lists.sourceforge.net > That would probably be a big help. Tom wasn't able to reproduce the > issuesyou saw, so if you can put together a test case that > demonstrates the > problem, we'll certainly be able to fix it in the next release. > > On 6/24/06, Ola Bini <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > Thomas told me my patch for newlines on Win32 didn't really work out > > that well. I have no problem with it on my box, but if this is a > stopper> that we want resolved for 0.9, I could write a small test > case for > > people to try out on their respective C and J Ruby's? > > > > /O > > > > Using Tomcat but need to do more? Need to support web services, > security?> Get stuff done quickly with pre-integrated technology to > make your job > > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo> http://sel.as- > us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > _______________________________________________> Jruby-devel > mailing list > > Jruby-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/jruby-devel > > > > > > -- > Charles Oliver Nutter @ headius.blogspot.com > JRuby Developer @ jruby.sourceforge.net > Application Architect @ www.ventera.com >
testLineEndings.rb
Description: Binary data
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Jruby-devel mailing list Jruby-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jruby-devel