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.
|
// Free the buffer.
|
||||||
|
|
||||||
char* str = 0;
|
char* str = strcpy(new char[strlen((char*)lpMsgBuf)+1], (char*)lpMsgBuf);
|
||||||
str = strcpy(new char[strlen((char*)lpMsgBuf)+1], (char*)lpMsgBuf);
|
|
||||||
LocalFree( lpMsgBuf );
|
LocalFree( lpMsgBuf );
|
||||||
|
|
||||||
output += "CreateProcessError: ";
|
output += "CreateProcessError: ";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user