From: matz@... (Yukihiro Matsumoto) Date: 2003-02-14T10:23:17+09:00 Subject: [ruby-dev:19562] Fw: Ruby 1.8.0 bugs まつもと ゆきひろです Cygwinでこんな問題が起きるって聞いたことがありますか? ------- Start of forwarded message ------- Date: Fri, 14 Feb 2003 08:10:42 +0900 Posted: 13 Feb 2003 15:04:56 -0800 From: james@lazyatom.com (James Adam) Reply-To: ruby-talk@ruby-lang.org Subject: Ruby 1.8.0 bugs To: ruby-talk@ruby-lang.org (ruby-talk ML) X-ML-Name: ruby-talk X-Mail-Count: 64737 Can anyone confirm these bugs i've noticed in Ruby-1.8.0 on cygwin? 1) line numbers reported by error messages are too small. i.e., with the following script: == begin script, with line numbers == |(1)| 1+3 |(2)| 4+6 |(3)| |(4)| 7+5 |(5)| |(6)| |(7)| 7+e3r2 == end script == i get the following error message: test.rb:5: undefined local variable or method 'e3r2' ... when you have comments in your code, it gets even more confusing. 2) file reading/writing is inconsistent. using puts to write strings to a file gives a file with CR+LF line endings, but gets and all other line-reading methods from I/O only operate properly with LF line-terminated files. If the file uses CR+LF, the first character of the line is read in as part of previous line. am i going mad? i really should've stuck with ruby 1.7, but the temptation to play with new things was too great, and now i've got fox/fxruby extensions installed it will take forever to recompile them and reinstall them into a 1.7 system. pleeeeeeeeeeeeeease help. cheers james ------- End of forwarded message -------