浏览代码

removed unnecessary closure of stdin reported by Frederic Chardon, thx

a@null 17 年之前
父节点
当前提交
3ad906eede
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      dwm.c

+ 0 - 1
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)