forked from osmocom/wireshark
Remove temp files on (clean) exit
svn path=/trunk/; revision=30547
This commit is contained in:
parent
d3f92888ce
commit
913da7cda9
1 changed files with 58 additions and 50 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue