1
0
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:
Witold Filipczyk 2006-05-09 10:12:36 +02:00 committed by Witold Filipczyk
parent f377e6f4af
commit 47f3dd0421

View File

@ -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);