gawk

[old] Sed-like interface to the Gopher protocol
Log | Files | Refs | LICENSE

commit e1ee7cd4aaf8da6811b25831075a590b52effaaf
parent 4761f90bc5e5e5a15e0b160e0a2a486969d7a223
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Wed, 23 Dec 2020 22:17:46 -0800

Use wfclose() in sighandler()

Diffstat:
Mmain.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.c b/main.c @@ -682,7 +682,7 @@ sighandler(int sig) while (waitpid(WAIT_ANY, NULL, WNOHANG) > 0); break; default: - fclose(stdin); + wfclose(stdin); fatal = 1; } }