cmd/tests: Don't convert lines with DOS endings in convert_input_data.
This commit is contained in:
parent
29b57ca82d
commit
f00aafae85
|
@ -47,6 +47,7 @@ static const char* convert_input_data(const char *data, DWORD size, DWORD *new_s
|
|||
for (i = 0; i < size; i++) {
|
||||
switch (data[i]) {
|
||||
case '\n':
|
||||
if (data[i-1] != '\r')
|
||||
*ptr++ = '\r';
|
||||
*ptr++ = '\n';
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue