ruby/ext
akr f6b1dd28c9 * internal.h (rb_execarg_parent_end): Declared.
* process.c: "spawn" opens files in the parent process.
  (check_exec_redirect): Add an placeholder for fd in parameters
  for fd_open.
  (check_exec_fds_1): Delete fd_open condition.
  (check_exec_fds): Don't call check_exec_fds_1 with fd_open.
  (rb_execarg_parent_start): Open files specified as "spawn" options
  and add "dup2" options.
  (rb_execarg_parent_end): New function to close opened fds.
  (run_exec_open): Removed.
  (rb_execarg_run_options): Don't call run_exec_open.
  (rb_spawn_internal): Call rb_execarg_parent_end.

* io.c (pipe_open): Call rb_execarg_parent_end.

* ext/pty/pty.c (establishShell): Call rb_execarg_parent_end.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-04-09 12:44:35 +00:00
..
-test- fs.c: fix f_type 2015-03-25 08:03:11 +00:00
bigdecimal * bigdecimal: conform to ruby's license. [ruby-core:68466] [Bug #10952] 2015-04-08 07:18:46 +00:00
continuation continuation.c: quiet static-linked-ext 2014-11-27 19:58:04 +00:00
coverage coverage.c: suppress a warning 2015-02-13 23:26:26 +00:00
date fix r50104 [Bug #10906] 2015-03-28 02:30:17 +00:00
dbm dbm.c: fix doc 2014-12-30 00:29:28 +00:00
digest md5init.c: fix a typo 2015-02-11 04:58:22 +00:00
etc win32.c: login name encoding 2014-11-10 08:24:36 +00:00
fcntl protoize no-arguments functions 2014-09-30 05:25:32 +00:00
fiber
fiddle libff: fix enable-shared condition 2015-03-13 02:37:49 +00:00
gdbm use 0 for reserved 2014-12-01 06:38:04 +00:00
io console.c: winsize on Windows 2015-03-21 06:01:29 +00:00
json * ext/json: merge upstream from flori/json 2015-02-13 05:19:12 +00:00
mathn
nkf nkf.c: add semicolon 2014-12-26 06:09:31 +00:00
objspace * internal.h: use T_IMEMO to represent `struct MEMO' value. 2015-03-11 23:13:01 +00:00
openssl accept_nonblock: favor rb_hash_lookup2 to avoid Hash#default 2015-03-12 22:04:24 +00:00
pathname * file.c: NotImplementedError is raised if birthtime is unavailable. 2015-01-19 17:57:03 +00:00
psych * ext/psych/lib/psych.rb: bump psych version. 2015-02-17 18:17:46 +00:00
pty * internal.h (rb_execarg_parent_end): Declared. 2015-04-09 12:44:35 +00:00
racc/cparse cparse.c: typed data 2014-12-03 00:48:59 +00:00
rbconfig/sizeof Update dependencies. 2014-12-19 13:34:54 +00:00
readline readline.c: initialize before rl_refresh_line 2015-01-14 06:43:50 +00:00
ripper Update dependencies. 2014-12-19 13:34:54 +00:00
sdbm _sdbm.c: fix pointers to shift 2015-02-04 08:35:08 +00:00
socket raddrinfo.c: fix memory leak 2015-04-08 23:24:10 +00:00
stringio stringio.c: don't raise after close 2015-03-13 06:04:39 +00:00
strscan Update dependencies. 2014-12-19 13:34:54 +00:00
syslog Update dependencies. 2014-12-19 13:34:54 +00:00
thread thread.c: refine enums 2015-02-27 03:55:00 +00:00
tk use rb_funcallv 2015-02-16 04:08:52 +00:00
win32 * ext/win32/Win32API.rb (initialize): accept both a string and an array 2015-02-25 13:08:01 +00:00
win32ole * ext/win32ole/win32ole.c (Init_win32ole): should not use atexit to 2015-02-04 11:30:37 +00:00
zlib * ext/zlib/zlib.c (rb_gzfile_close): Don't raise on double 2015-03-08 13:52:51 +00:00
.document * ext/win32ole/win32ole.c: separate WIN32OLE::VARIANT src file 2014-08-02 14:55:36 +00:00
Setup * ext/dl/*: remove DL as it is replaced by Fiddle. 2014-10-31 21:13:09 +00:00
Setup.atheos * ext/dl/*: remove DL as it is replaced by Fiddle. 2014-10-31 21:13:09 +00:00
Setup.emx * ext/dl/*: remove DL as it is replaced by Fiddle. 2014-10-31 21:13:09 +00:00
Setup.nacl * ext/dl/*: remove DL as it is replaced by Fiddle. 2014-10-31 21:13:09 +00:00
Setup.nt * ext/dl/*: remove DL as it is replaced by Fiddle. 2014-10-31 21:13:09 +00:00
extmk.rb extmk.rb: extract CLEANFILES and DISTCLEANFILES 2015-01-21 04:22:07 +00:00