mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
copiousoutput: I'm not sure about this. pclose may hang ELinks for long time,
fclose should return immediately
This commit is contained in:
parent
f377e6f4af
commit
47f3dd0421
@ -384,7 +384,7 @@ close_popen(int fd)
|
||||
foreach (pop, copiousoutput_data) {
|
||||
if (pop->fd == fd) {
|
||||
del_from_list(pop);
|
||||
pclose(pop->stream);
|
||||
fclose(pop->stream);
|
||||
if (pop->filename) {
|
||||
unlink(pop->filename);
|
||||
mem_free(pop->filename);
|
||||
|
Loading…
Reference in New Issue
Block a user