| 46 | |
| 47 | #if 0 |
| 48 | void monitor(char* s, int mode) |
| 49 | { |
| 50 | if (feProt) |
| 51 | { |
| 52 | fclose(feProtFile); |
| 53 | feProt = 0; |
| 54 | } |
| 55 | if ((s!=NULL) && (*s!='\0')) |
| 56 | { |
| 57 | feProtFile = myfopen(s,"w"); |
| 58 | if (feProtFile==NULL) |
| 59 | { |
| 60 | Werror("cannot open %s",s); |
| 61 | feProt=0; |
| 62 | } |
| 63 | else |
| 64 | feProt = mode; |
| 65 | } |
| 66 | } |
| 67 | #else |
| 68 | void monitor(void *F, int mode) |
| 69 | { |
no test coverage detected