| 187 | } |
| 188 | |
| 189 | int PU::QuoteExternalPath(const char * path, char * buffer, int buffersize) { |
| 190 | int len = strlen(path); |
| 191 | if (buffersize < len+3) |
| 192 | return -1; |
| 193 | |
| 194 | strcpy(buffer, "\""); |
| 195 | strcat(buffer, path); |
| 196 | strcat(buffer, "\""); |
| 197 | return 0; |
| 198 | } |
| 199 | |
| 200 | int PU::CreateLocalDir(const TCHAR * local) { |
| 201 |
nothing calls this directly
no outgoing calls
no test coverage detected