mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
9ba59c3e52
commit
f57217cc52
2 changed files with 8 additions and 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.
|
||||
|
|
3
dln.c
3
dln.c
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue