This website works better with JavaScript.
Home
Explore
Help
Sign In
Immanuel
/
sxiv
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Close info file descriptor after reading
master
Bastien Dejean
11 years ago
parent
cc479ca5ac
commit
4780ec5463
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
main.c
+ 1
- 0
main.c
View File
@@ -277,6 +277,7 @@ end:
info.i -= info.lastsep;
win.bar.l[info.i] = '\0';
win_update_bar(&win);
close(info.fd);
info.fd = -1;
while (waitpid(-1, NULL, WNOHANG) > 0);
}
Write
Preview
Loading…
Cancel
Save