* [gentoo-commits] repo/gentoo:master commit in: dev-ruby/childprocess/files/
@ 2020-07-25 9:04 Hans de Graaff
0 siblings, 0 replies; only message in thread
From: Hans de Graaff @ 2020-07-25 9:04 UTC (permalink / raw
To: gentoo-commits
commit: 5f3ff79757b2f5d4c6a88369aae3fced6899d39d
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Thu Jul 23 20:48:15 2020 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Jul 25 09:04:39 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f3ff797
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 <AT> gmail.com>
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
.../files/childprocess-1.0.1-ruby26-reopen.patch | 23 ----------------------
1 file changed, 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 11f94421829..00000000000
--- 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)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-07-25 9:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-25 9:04 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/childprocess/files/ Hans de Graaff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox