summaryrefslogtreecommitdiff
path: root/usr.bin/vi/common/main.c
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-07-27 22:28:26 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-07-27 22:28:26 +0000
commit4b78d53e662bebcd37bfe64c34ee64da5e5ca0f1 (patch)
tree4072a414806b098bf4aca70cea37e6063a2d3f3e /usr.bin/vi/common/main.c
parentd3cd71e47815755c43ebd011e6c53f532e581239 (diff)
Update to 1.79 and install as vi/ex/view.
Diffstat (limited to 'usr.bin/vi/common/main.c')
-rw-r--r--usr.bin/vi/common/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/vi/common/main.c b/usr.bin/vi/common/main.c
index 7d2269e34b3..a51d4aa391f 100644
--- a/usr.bin/vi/common/main.c
+++ b/usr.bin/vi/common/main.c
@@ -18,7 +18,7 @@ static const char copyright[] =
#endif /* not lint */
#ifndef lint
-static const char sccsid[] = "@(#)main.c 10.47 (Berkeley) 9/24/96";
+static const char sccsid[] = "@(#)main.c 10.48 (Berkeley) 10/11/96";
#endif /* not lint */
#include <sys/types.h>
@@ -511,10 +511,12 @@ v_end(gp)
if (gp->tmp_bp != NULL)
free(gp->tmp_bp);
+#if defined(DEBUG)
/* Close debugging file descriptor. */
if (gp->tracefp != NULL)
(void)fclose(gp->tracefp);
#endif
+#endif
}
/*