[Commits] dbus-service.c 1.3 1.4
miras at claws-mail.org
miras at claws-mail.org
Sat Mar 31 04:20:24 CEST 2012
Update of /home/claws-mail/contacts/src/dbus
In directory srv:/tmp/cvs-serv14962/src/dbus
Modified Files:
dbus-service.c
Log Message:
2012-03-31 [mir] 0.6.0cvs82
* src/dbus/dbus-service.c
Don't freopen in dbus service fork since this will
brake the print preview functionality in
gtk_print_operation_run.
Index: dbus-service.c
===================================================================
RCS file: /home/claws-mail/contacts/src/dbus/dbus-service.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- dbus-service.c 30 Nov 2011 02:12:18 -0000 1.3
+++ dbus-service.c 31 Mar 2012 02:20:22 -0000 1.4
@@ -120,9 +120,9 @@
_("Not able to change dir to root"));
break;
}
- freopen("/dev/null/", "r", stdin);
- freopen("/dev/null/", "w", stdout);
- freopen("/dev/null/", "w", stderr);
+ //freopen("/dev/null/", "r", stdin);
+ //freopen("/dev/null/", "w", stdout);
+ //freopen("/dev/null/", "w", stderr);
/* Create a main loop that will dispatch callbacks. */
mainloop = g_main_loop_new(NULL, FALSE);
More information about the Commits
mailing list