[ruby-cvs:66500] normal:r59322 (trunk): process.c: handle dynamic :rlimit_* symbols in spawn execopts

normal at ruby-lang.org normal at ruby-lang.org
Fri Jul 14 05:47:36 JST 2017


normal	2017-07-14 05:47:36 +0900 (Fri, 14 Jul 2017)

  New Revision: 59322

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

  Log:
    process.c: handle dynamic :rlimit_* symbols in spawn execopts
    
    * process.c (rb_execarg_addopt_rlimit): hoist out of rb_execarg_addopt
      (rlimit_type_by_sym): new wrapper for dynamic symbol
      (rb_execarg_addopt): check for dsym via rlimit_type_by_sym
    * test/ruby/test_process.rb (test_execopts_rlimit): check dsym w/o pindown
      Add extra check for bogus rlimit args, too.
      [ruby-core:82033] [Bug #13744]

  Modified files:
    trunk/process.c
    trunk/test/ruby/test_process.rb


More information about the ruby-cvs mailing list