1.8 compatibility workarounds
commit5d76462eb312df5343c1870fb68094459deca6ca
authorEric Wong <normalperson@yhbt.net>
Fri, 14 Oct 2011 21:38:16 +0000 (14 14:38 -0700)
committerEric Wong <normalperson@yhbt.net>
Fri, 14 Oct 2011 21:38:16 +0000 (14 14:38 -0700)
tree116254eb2b1ac7d3a1ee9bea625fd6ccfcc84c75
parentd5fc6f66bc17f27770b38126b6c4211fd938c5b5
1.8 compatibility workarounds

Math.sqrt on 1.8.7 does not give NaN for certain errors.
We'll also fix our Errno::EDOM retry loop to avoid resetting
the "retried" flag.
lib/raindrops/watcher.rb