[ruby-cvs:56544] nobu:r49394 (trunk): ruby.c: replace with real path

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Jan 24 21:24:29 JST 2015


nobu	2015-01-24 21:24:27 +0900 (Sat, 24 Jan 2015)

  New Revision: 49394

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49394

  Log:
    ruby.c: replace with real path
    
    * ruby.c (dladdr_path): replace the executable path with symlinked
      real path.  dladdr(3) on Linux returns the argv[0] as dli_fname
      instead of the real path, for a symbol defined in the executable
      file itself.  [Bug #10776]

  Modified files:
    trunk/file.c
    trunk/ruby.c


More information about the ruby-cvs mailing list