diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-02 10:01:57 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-02 10:01:57 +0000 |
commit | f57217cc5212bb7f16a97887a6a39c9f90fd957f (patch) | |
tree | e63a8b44c0b8ba48c3b868e8469133998192bbf3 | |
parent | 9ba59c3e528310ca70641b9a23d369b780226997 (diff) |
* dln.c (dln_load): don't specify RTLD_GLOBAL on Interix,
because it caused SEGV when running runner.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | dln.c | 3 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Mon Feb 2 18:45:50 2004 WATANABE Hirofumi <eban@ruby-lang.org> + + * dln.c (dln_load): don't specify RTLD_GLOBAL on Interix, + because it caused SEGV when running runner.rb. + Mon Feb 2 01:54:00 2004 Tanaka Akira <akr@m17n.org> * lib/pp.rb (Struct#pretty_print): make it 1.8 style. @@ -1313,6 +1313,9 @@ dln_load(file) #ifndef RTLD_LAZY # define RTLD_LAZY 1 #endif +#ifdef __INTERIX +# undef RTLD_GLOBAL +#endif #ifndef RTLD_GLOBAL # define RTLD_GLOBAL 0 #endif |