Remove temp files on (clean) exit

svn path=/trunk/; revision=30547
This commit is contained in:
Kovarththanan Rajaratnam 2009-10-12 16:57:23 +00:00
parent d3f92888ce
commit 913da7cda9

View file

@ -3322,7 +3322,6 @@ int main(int argc, char *argv[])
fclose(fh);
fclose(tfh);
sprintf(line, "packet-dcerpc-%s.h", ifname);
fh=fopen(line, "w");
sprintf(tmplfile, "packet-dcerpc-%s-template.h", argv[1]);
@ -3360,6 +3359,15 @@ int main(int argc, char *argv[])
fclose(fh);
fclose(tfh);
remove("ETH_CODE");
remove("ETH_HDR");
remove("ETH_HFARR");
remove("ETH_HF");
remove("ETH_ETTARR");
remove("ETH_ETT");
remove("ETH_FT");
remove("ETH_HANDOFF");
return 0;
}