This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- ruby-1.9.1-p431/gem_prelude.rb (revision 25931) | |
+++ ruby-1.9.1-p431-fixed/gem_prelude.rb (revision 25932) | |
@@ -66,8 +66,9 @@ | |
end | |
def self.set_home(home) | |
- @gem_home = home.force_encoding(Encoding.find('filesystem')) | |
- ensure_gem_subdirectories(@gem_home) | |
+ home = home.dup.force_encoding(Encoding.find('filesystem')) | |
+ home.gsub!(File::ALT_SEPARATOR, File::SEPARATOR) if File::ALT_SEPARATOR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- ruby-1.8.5-p231/math.c 2007-02-13 08:01:19.000000000 +0900 | |
+++ ruby-1.8.5-p231-fixed/math.c 2008-07-02 18:25:48.000000000 +0900 | |
@@ -34,7 +34,7 @@ | |
if (isnan(x)) { | |
#if defined(EDOM) | |
errno = EDOM; | |
-#elif define(ERANGE) | |
+#elif defined(ERANGE) | |
errno = ERANGE; | |
#endif |
NewerOlder