removed unnecessary closure of stdin reported by Frederic Chardon, thx
authora@null <unknown>
Sat, 13 Dec 2008 17:27:48 +0000 (17:27 +0000)
committera@null <unknown>
Sat, 13 Dec 2008 17:27:48 +0000 (17:27 +0000)
dwm.c

diff --git a/dwm.c b/dwm.c
index 73ce7bf..883610a 100644 (file)
--- a/dwm.c
+++ b/dwm.c
@@ -343,7 +343,6 @@ cleanup(void) {
        Arg a = {.ui = ~0};
        Layout foo = { "", NULL };
 
-       close(STDIN_FILENO);
        view(&a);
        lt[sellt] = &foo;
        while(stack)