Various handy utility functions: ------------------------------------------------------------------------------ find all \ in a path and convert them in place to /
| 180 | //------------------------------------------------------------------------------ |
| 181 | // find all \ in a path and convert them in place to / |
| 182 | static void ForwardSlash(char *str) |
| 183 | { |
| 184 | while(*str) |
| 185 | { |
| 186 | if(*str == '\\') |
| 187 | *str = '/'; |
| 188 | str++; |
| 189 | } |
| 190 | } |
| 191 | |
| 192 | //------------------------------------------------------------------------------ |
| 193 | // copy a file from src to dest |
no outgoing calls
no test coverage detected