[ruby-cvs:66727] nobu:r59549 (trunk): ruby.c: origarg

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Aug 9 20:03:55 JST 2017


nobu	2017-08-09 20:03:55 +0900 (Wed, 09 Aug 2017)

  New Revision: 59549

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

  Log:
    ruby.c: origarg
    
    * ruby.c (dladdr_path, ruby_set_argv): add guards for origarg.
      [ruby-core:82272] [Bug #13788]
    
    * ruby.c (proc_options, process_options, ruby_process_options):
      set origarg if not set yet.
    
    * ruby.c (process_options): prefer argv in the argument to origarg
      as program name.
    
    * ruby.c (ruby_sysinit): set origarg only if argc and argv seem
      valid.

  Modified files:
    trunk/ruby.c


More information about the ruby-cvs mailing list