gconf r2745 - branches/gnome-2-22/gconf
- From: tml svn gnome org
- To: svn-commits-list gnome org
- Subject: gconf r2745 - branches/gnome-2-22/gconf
- Date: Tue, 27 Jan 2009 15:37:42 +0000 (UTC)
Author: tml
Date: Tue Jan 27 15:37:42 2009
New Revision: 2745
URL: http://svn.gnome.org/viewvc/gconf?rev=2745&view=rev
Log:
Nah, don't try duping fileno(stdout) to fileno(stderr), won't work if fileno(stderr) is -1.
Modified:
branches/gnome-2-22/gconf/gconfd.c
Modified: branches/gnome-2-22/gconf/gconfd.c
==============================================================================
--- branches/gnome-2-22/gconf/gconfd.c (original)
+++ branches/gnome-2-22/gconf/gconfd.c Tue Jan 27 15:37:42 2009
@@ -625,11 +625,7 @@
if (fileno (stdout) != -1 &&
_get_osfhandle (fileno (stdout)) != -1)
{
- /* stdout is fine, presumably redirected to a file or pipe.
- * Make sure stdout goes somewhere, too.
- */
- if (_get_osfhandle (fileno (stderr)) == -1)
- dup2 (fileno (stdout), fileno (stderr));
+ /* stdout is fine, presumably redirected to a file or pipe */
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]