ENH: remove warning on borland
This commit is contained in:
parent
78cc9adbd2
commit
2cf4a0270a
|
@ -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: ";
|
||||
|
|
Loading…
Reference in New Issue