diff options
author | jhay <jhay@FreeBSD.org> | 2001-02-28 19:21:44 +0000 |
---|---|---|
committer | jhay <jhay@FreeBSD.org> | 2001-02-28 19:21:44 +0000 |
commit | 3af5c788c31cdf5c004daba60a9c823d9869821b (patch) | |
tree | a8da7fd1704d87c11d87bdc19c64b17fe61db5a5 | |
parent | cceb0beb355fd5a9640d74d01c537bd0067dc01c (diff) | |
download | FreeBSD-src-3af5c788c31cdf5c004daba60a9c823d9869821b.zip FreeBSD-src-3af5c788c31cdf5c004daba60a9c823d9869821b.tar.gz |
The secure temporary directory is always created, so always remove it.
-rw-r--r-- | usr.bin/m4/main.c | 6 |
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; } |