| 216 | */ |
| 217 | |
| 218 | void nt_regularize(char* s) /* normalize file name */ |
| 219 | { |
| 220 | unsigned char *lp; |
| 221 | |
| 222 | for (lp = (unsigned char *) s; *lp; lp++) |
| 223 | if (*lp == '?' || *lp == '"' || *lp == '\\' || *lp == '/' |
| 224 | || *lp == '>' || *lp == '<' || *lp == '*' || *lp == '|' |
| 225 | || *lp == ':' || (*lp > 127)) |
| 226 | *lp = '_'; |
| 227 | } |
| 228 | |
| 229 | #if 0 |
| 230 | char *getxxx(void) |
nothing calls this directly
no outgoing calls
no test coverage detected