[Xfce4-commits] <eatmonkey:aria2-xml-rpc> Drop the STDOUT=/dev/null hack
Mike Massonnet
noreply at xfce.org
Fri Feb 12 18:28:01 CET 2010
Updating branch refs/heads/aria2-xml-rpc
to d0a45ece7d1f042658293ecee6d57a6e297ebfd6 (commit)
from c69a3e28e7d8f1a58cacca5e1cd1919fc6fc2863 (commit)
commit d0a45ece7d1f042658293ecee6d57a6e297ebfd6
Author: Mike Massonnet <mmassonnet at xfce.org>
Date: Fri Feb 12 11:55:26 2010 +0100
Drop the STDOUT=/dev/null hack
Instead of using STDOUT=/dev/null around the gtk2 include, remove the -w
option from the ruby command line after the shebang symbol.
src/eat.rb | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/src/eat.rb b/src/eat.rb
index 7db2143..27978be 100755
--- a/src/eat.rb
+++ b/src/eat.rb
@@ -1,9 +1,7 @@
-#!/usr/bin/ruby -w
+#!/usr/bin/ruby
-$stderr.reopen('/dev/null', 'w')
require "glib2"
require "gtk2"
-$stderr=STDOUT
require "eataria2"
require "eatmanager"
More information about the Xfce4-commits
mailing list