mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-29 02:19:18 -05:00
ENH: remove warning on borland
This commit is contained in:
@@ -456,8 +456,7 @@ static BOOL RealPopenCreateProcess(const char *cmdstring,
|
||||
|
||||
// Free the buffer.
|
||||
|
||||
char* str = 0;
|
||||
str = strcpy(new char[strlen((char*)lpMsgBuf)+1], (char*)lpMsgBuf);
|
||||
char* str = strcpy(new char[strlen((char*)lpMsgBuf)+1], (char*)lpMsgBuf);
|
||||
LocalFree( lpMsgBuf );
|
||||
|
||||
output += "CreateProcessError: ";
|
||||
|
||||
Reference in New Issue
Block a user