Introduction
Introduction Statistics Contact Development Disclaimer Help
tClose standard output after printing XID, patch due Abby Cedar. - surf - custo…
git clone git://src.adamsgaard.dk/surf
Log
Files
Refs
README
LICENSE
---
commit 96041e5ba2e19a077cb8aead03899c0b1eef529a
parent 6af15aa636ae72f1cbd89ed93ea1e5b0c9ddfa02
Author: Troels Henriksen <[email protected]>
Date: Tue, 21 Feb 2012 12:00:01 +0100
Close standard output after printing XID, patch due Abby Cedar.
Diffstat:
M surf.c | 3 +++
1 file changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/surf.c b/surf.c
t@@ -548,6 +548,9 @@ newclient(void) {
gdk_display_sync(gtk_widget_get_display(c->win));
printf("%u\n", (guint)GDK_WINDOW_XID(GTK_WIDGET(c->win)->windo…
fflush(NULL);
+ if (fclose(stdout) != 0) {
+ die("Error closing stdout");
+ }
}
return c;
}
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.