On Sep 27, 11:19 am, Mathijs <bluescreen...@gmail.com> wrote:
> I did all updates/upgrades up to today, and installed REE (20090610).Hi,
> Installation worked, as did installation of all gems I use.
> When running a rails app, I noticed some strange behaviour(rails
> wanting to return xml for every request), which I traced down to the
> way strings are cast into floats:
> irb(main):001:0> "0.9".to_f
> Since to_f dives into c code, I'm backing off there.
> Anyone else seen this problem?
I encountered same problem compiling old ruby-1.8.6 on Fedora 12,
that also uses GCC 4.4.1, as Karmic
At first I couldn't even believe it :), but then found, it was fixed
And, funny, it was enough to set errno = 0 in util.c/ruby_strtod() to
@@ -2103,6 +2112,7 @@
+ errno = 0;
Hope that helps :)
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.