This website works better with JavaScript.
首頁
探索
說明
登入
Immanuel
/
sxiv
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
Fixed segfault caused by FD_ISSET() on negative fd
Reported by Kris Siwiec
master
Bert Münnich
12 年之前
父節點
af69b2a7bb
當前提交
98972e98f9
共有
2 個文件被更改
,包括
2 次插入
和
2 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
Makefile
+1
-1
main.c
+ 1
- 1
Makefile
查看文件
@@ -1,4 +1,4 @@
VERSION =
1.1
VERSION =
git-20130402
PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man
+ 1
- 1
main.c
查看文件
@@ -536,7 +536,7 @@ void run(void)
xfd = MAX(xfd, info.fd);
}
select(xfd + 1, &fds, 0, 0, to_set ? &timeout : NULL);
if (FD_ISSET(info.fd, &fds))
if (
info.fd != -1 &&
FD_ISSET(info.fd, &fds))
read_info();
}
Write
Preview
|
|
|
|
|
|
x
0
0
0:0
Loading…
取消
儲存