| 960 | // |
| 961 | |
| 962 | void CPR_exit( int stat) |
| 963 | { |
| 964 | #ifdef LINUX |
| 965 | |
| 966 | if (trace_file_name[0]) |
| 967 | { |
| 968 | if (trace_file) |
| 969 | fclose(trace_file); |
| 970 | unlink(trace_file_name); |
| 971 | } |
| 972 | |
| 973 | #else |
| 974 | if (trace_file) |
| 975 | fclose(trace_file); |
| 976 | if (trace_file_name[0]) |
| 977 | unlink(trace_file_name); |
| 978 | #endif |
| 979 | |
| 980 | exit(stat); |
| 981 | } |
| 982 | |
| 983 | |
| 984 | //____________________________________________________________ |
no test coverage detected