diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 1998-05-11 03:50:40 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 1998-05-11 03:50:40 -0400 |
commit | 116ac6932821c4a82256313792b26ab28259e8f0 (patch) | |
tree | a076f5e67aaf9b33585da9d079acde9d52def50c /src/LYexit.c | |
parent | ee5cdfe9af88df5a276ac105bf757a6967522b7a (diff) | |
download | lynx-snapshots-116ac6932821c4a82256313792b26ab28259e8f0.tar.gz |
snapshot of project "lynx", label v2-8-1dev_10
Diffstat (limited to 'src/LYexit.c')
-rw-r--r-- | src/LYexit.c | 9 |
1 files changed, 2 insertions, 7 deletions
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 <LYUtils.h> #include <LYSignal.h> #include <LYClean.h> +#include <LYMainLoop.h> #ifdef SYSLOG_REQUESTED_URLS #include <syslog.h> #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); } |