[ruby-cvs:66987] nagachika:r59809 (ruby_2_4): merge revision(s) 59322, 59325: [Backport #13744]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Sun Sep 10 11:58:23 JST 2017


nagachika	2017-09-10 11:58:23 +0900 (Sun, 10 Sep 2017)

  New Revision: 59809

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

  Log:
    merge revision(s) 59322,59325: [Backport #13744]
    
    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]
    process.c: null bytes
    
    * process.c (rlimit_type_by_sym): prohibit null bytes in key
      names.  [ruby-core:82033] [Bug #13744]

  Modified directories:
    branches/ruby_2_4/
  Modified files:
    branches/ruby_2_4/process.c
    branches/ruby_2_4/test/ruby/test_process.rb
    branches/ruby_2_4/version.h


More information about the ruby-cvs mailing list