Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
Immanuel
/
sxiv
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
Fixed segfault caused by FD_ISSET() on negative fd
Reported by Kris Siwiec
master
Bert Münnich
12 anni fa
parent
af69b2a7bb
commit
98972e98f9
2 ha cambiato i file
con
2 aggiunte
e
2 eliminazioni
Visualizzazione separata
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
Makefile
+1
-1
main.c
+ 1
- 1
Makefile
Vedi File
@@ -1,4 +1,4 @@
VERSION =
1.1
VERSION =
git-20130402
PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man
+ 1
- 1
main.c
Vedi File
@@ -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
Loading…
Annulla
Salva