ruby-changes:46892
From: nobu <ko1@a...>
Date: Sat, 3 Jun 2017 21:47:15 +0900 (JST)
Subject: [ruby-changes:46892] nobu:r59007 (trunk): ruby.c: dladdr_path is not used on cygwin
nobu 2017-06-03 21:47:11 +0900 (Sat, 03 Jun 2017) New Revision: 59007 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59007 Log: ruby.c: dladdr_path is not used on cygwin * ruby.c (dladdr_path): dladdr is provided on recent cygwin, but GetModuleFileNameW is used instead of it. Modified files: trunk/ruby.c Index: ruby.c =================================================================== --- ruby.c (revision 59006) +++ ruby.c (revision 59007) @@ -439,7 +439,7 @@ ruby_init_loadpath(void) https://github.com/ruby/ruby/blob/trunk/ruby.c#L439 ruby_init_loadpath_safe(0); } -#if defined(LOAD_RELATIVE) && defined(HAVE_DLADDR) +#if defined(LOAD_RELATIVE) && defined(HAVE_DLADDR) && !defined(__CYGWIN__) static VALUE dladdr_path(const void* addr) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/