Tim Pease wrote:
> ruby -e "puts 'test'.hash"
>
> Should this output the same integer value on all platforms where Ruby
> can run?
>
> * Windows
> ruby --version #=> ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-
> mswin32]
> ruby -e "puts 'test'.hash" #=> -914358341
I can't speak to the larger problem you ask, but I did verify that this
negative one million was the output for windows. Maybe we could alter
the test slightly to figure out what ruby is doing.
Cheers.
--
Posted via http://www.ruby-forum.com/.