aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/m4/main.c
diff options
context:
space:
mode:
authorJohn Hay <jhay@FreeBSD.org>2001-03-03 15:37:22 +0000
committerJohn Hay <jhay@FreeBSD.org>2001-03-03 15:37:22 +0000
commite651f346ad317423e44efdfd5e68d49b17c436bd (patch)
tree2cd984838f928ac3d54830184fb0450f3f306f03 /usr.bin/m4/main.c
parent4ca3480c64327aa4da8c0635f613a7833709c6bd (diff)
downloadsrc-e651f346ad317423e44efdfd5e68d49b17c436bd.tar.gz
src-e651f346ad317423e44efdfd5e68d49b17c436bd.zip
MFC: rev 1.9, The secure temporary directory is always created, so always
remove it.
Notes
Notes: svn path=/stable/4/; revision=73384
Diffstat (limited to 'usr.bin/m4/main.c')
-rw-r--r--usr.bin/m4/main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/m4/main.c b/usr.bin/m4/main.c
index 37fc805099eb..77a274199a4a 100644
--- a/usr.bin/m4/main.c
+++ b/usr.bin/m4/main.c
@@ -227,13 +227,9 @@ main(argc,argv)
if (outfile[0] != NULL) {
(void) fclose(outfile[0]);
m4temp[UNIQUE] = '0';
-#ifdef vms
(void) remove(m4temp);
-#else
- (void) unlink(m4temp);
- (void) rmdir(m4dir);
-#endif
}
+ (void) remove(m4dir);
return 0;
}