The secure temporary directory is always created, so always remove it.

This commit is contained in:
John Hay 2001-02-28 19:21:44 +00:00
parent a96dcd84d2
commit b88a90fd4c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=73240

View File

@ -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;
}