Tämä sivusto toimii paremmin JavaScriptillä.
Etusivu
Tutki
Apua
Kirjaudu sisään
Immanuel
/
sxiv
Tarkkaile
1
Äänestä
0
Fork
0
Koodi
Ongelmat
0
Pull-pyynnöt
0
Julkaisut
0
Wiki
Activity
Selaa lähdekoodia
Simplify inotify cleanup
master
Bert Münnich
7 vuotta sitten
vanhempi
8bce80fdae
commit
6695cd4c34
1 muutettua tiedostoa
jossa
2 lisäystä
ja
2 poistoa
Jaettu näkymä
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
autoreload_inotify.c
+ 2
- 2
autoreload_inotify.c
Näytä tiedosto
@@ -27,8 +27,8 @@
CLEANUP void arl_cleanup(arl_t *arl)
{
if (arl->fd != -1
&& arl->wd != -1
)
inotify_rm_watch(arl->fd, arl->w
d);
if (arl->fd != -1)
close(arl->f
d);
}
static void arl_setup_dir(arl_t *arl, const char *filepath)
Write
Preview
Loading…
Peruuta
Tallenna