summaryrefslogtreecommitdiffstats
path: root/usr.bin/m4/main.c
diff options
context:
space:
mode:
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 7ad7a64..6b77df8 100644
--- a/usr.bin/m4/main.c
+++ b/usr.bin/m4/main.c
@@ -223,13 +223,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;
}
OpenPOWER on IntegriCloud