Re: IMPORTANT: fix critical warnings before January 1st



On Fri, 2005-11-11 at 17:00 -0600, Federico Mena Quintero wrote:
[...]
> As a deeper problem, things launched through bonobo-activation-server
> send their warnings to nowhere, /dev/null, empty space.  YOU CAN'T SEE
> THESE WARNINGS EVEN IF YOU TRY.  This is a known bug.
[...]

  Sorry, I didn't look thorugh bugzilla for this yet, but here's a
trivial patch fix this.

  Regards.

-- 
Gustavo J. A. M. Carneiro
<gjc inescporto pt> <gustavo users sourceforge net>
The universe is always one step beyond logic
Index: activation-server/activation-server-main.c
===================================================================
RCS file: /cvs/gnome/libbonobo/activation-server/activation-server-main.c,v
retrieving revision 1.60
diff -u -p -d -r1.60 activation-server-main.c
--- activation-server/activation-server-main.c	12 Aug 2004 20:46:04 -0000	1.60
+++ activation-server/activation-server-main.c	12 Nov 2005 11:52:20 -0000
@@ -204,8 +204,6 @@ redirect_output (int ior_fd)
 		dup2 (dev_null_fd, 0);
 	if (ior_fd != 1)
 		dup2 (dev_null_fd, 1);
-	if (ior_fd != 2)
-		dup2 (dev_null_fd, 2);
 
         return dev_null_fd;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]