Project

General

Profile

« Previous | Next » 

Revision 8081826b

Added by nobu (Nobuyoshi Nakada) almost 8 years ago

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.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e