mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -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) {
|
foreach (pop, copiousoutput_data) {
|
||||||
if (pop->fd == fd) {
|
if (pop->fd == fd) {
|
||||||
del_from_list(pop);
|
del_from_list(pop);
|
||||||
pclose(pop->stream);
|
fclose(pop->stream);
|
||||||
if (pop->filename) {
|
if (pop->filename) {
|
||||||
unlink(pop->filename);
|
unlink(pop->filename);
|
||||||
mem_free(pop->filename);
|
mem_free(pop->filename);
|
||||||
|
Loading…
Reference in New Issue
Block a user