diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2020-07-23 22:48:15 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-07-25 11:04:39 +0200 |
commit | 5f3ff79757b2f5d4c6a88369aae3fced6899d39d (patch) | |
tree | 172422335f68d646defc820832f06f8ec658345c /dev-ruby/childprocess | |
parent | dev-ruby/spring: cleanup (diff) | |
download | gentoo-5f3ff79757b2f5d4c6a88369aae3fced6899d39d.tar.gz gentoo-5f3ff79757b2f5d4c6a88369aae3fced6899d39d.tar.bz2 gentoo-5f3ff79757b2f5d4c6a88369aae3fced6899d39d.zip |
dev-ruby/childprocess: remove unused patch(es)
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/childprocess')
-rw-r--r-- | dev-ruby/childprocess/files/childprocess-1.0.1-ruby26-reopen.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/dev-ruby/childprocess/files/childprocess-1.0.1-ruby26-reopen.patch b/dev-ruby/childprocess/files/childprocess-1.0.1-ruby26-reopen.patch deleted file mode 100644 index 11f944218290..000000000000 --- a/dev-ruby/childprocess/files/childprocess-1.0.1-ruby26-reopen.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff --git a/lib/childprocess/unix/fork_exec_process.rb b/lib/childprocess/unix/fork_exec_process.rb -index 5ed2a79..cc7a850 100644 ---- a/lib/childprocess/unix/fork_exec_process.rb -+++ b/lib/childprocess/unix/fork_exec_process.rb -@@ -29,8 +29,16 @@ module ChildProcess - exec_r.close - set_env - -- STDOUT.reopen(stdout || "/dev/null") -- STDERR.reopen(stderr || "/dev/null") -+ if stdout -+ STDOUT.reopen(stdout) -+ else -+ STDOUT.reopen("/dev/null", "a+") -+ end -+ if stderr -+ STDERR.reopen(stderr) -+ else -+ STDERR.reopen("/dev/null", "a+") -+ end - - if duplex? - STDIN.reopen(reader) |