[ruby-cvs:66709] usa:r59531 (ruby_2_3): merge revision(s) 59322, 59325: [Backport #13744]

usa at ruby-lang.org usa at ruby-lang.org
Wed Aug 9 17:03:00 JST 2017


usa	2017-08-09 17:03:00 +0900 (Wed, 09 Aug 2017)

  New Revision: 59531

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

  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_3/
  Modified files:
    branches/ruby_2_3/process.c
    branches/ruby_2_3/test/ruby/test_process.rb
    branches/ruby_2_3/version.h


More information about the ruby-cvs mailing list