| 176 | } |
| 177 | |
| 178 | int PU::QuoteLocalPath(const TCHAR * path, TCHAR * buffer, int buffersize) { |
| 179 | int len = lstrlen(path); |
| 180 | if (buffersize < len+3) |
| 181 | return -1; |
| 182 | |
| 183 | lstrcpy(buffer, TEXT("\"")); |
| 184 | lstrcat(buffer, path); |
| 185 | lstrcat(buffer, TEXT("\"")); |
| 186 | return 0; |
| 187 | } |
| 188 | |
| 189 | int PU::QuoteExternalPath(const char * path, char * buffer, int buffersize) { |
| 190 | int len = strlen(path); |
nothing calls this directly
no outgoing calls
no test coverage detected