diff options
author | Richard Quirk <richard@quirk.es> | 2015-07-25 12:49:57 +0000 |
---|---|---|
committer | Richard Quirk <richard@quirk.es> | 2015-07-25 12:49:57 +0000 |
commit | 34af5c2465d962f4b00562a31bece4fc2f9d730e (patch) | |
tree | 6daa8dcdba3253f261213e704dad89c6646183ef /file.c | |
parent | Update ChangeLog (diff) | |
download | w3m-34af5c2465d962f4b00562a31bece4fc2f9d730e.tar.gz w3m-34af5c2465d962f4b00562a31bece4fc2f9d730e.zip |
use pclose for pipe
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8540,7 +8540,7 @@ lessopen_stream(char *path) } c = getc(fp); if (c == EOF) { - fclose(fp); + pclose(fp); return NULL; } ungetc(c, fp); |