From 116ac6932821c4a82256313792b26ab28259e8f0 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Mon, 11 May 1998 03:50:40 -0400 Subject: snapshot of project "lynx", label v2-8-1dev_10 --- src/LYexit.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/LYexit.c') diff --git a/src/LYexit.c b/src/LYexit.c index 16e1ce9c..d60e62f5 100644 --- a/src/LYexit.c +++ b/src/LYexit.c @@ -9,6 +9,7 @@ #include #include #include +#include #ifdef SYSLOG_REQUESTED_URLS #include #endif /* SYSLOG_REQUESTED_URLS */ @@ -113,13 +114,7 @@ PUBLIC void LYexit ARGS1( printf("\r\n%s\r\n\r\n", MEMORY_EXHAUSTED_ABORT); fflush(stdout); } - if (LYTraceLogFP != NULL) { - fflush(stdout); - fflush(stderr); - fclose(LYTraceLogFP); - LYTraceLogFP = NULL; - *stderr = LYOrigStderr; - } + LYCloseTracelog(); #endif /* !VMS */ exit(status); } -- cgit 1.4.1-2-gfad0