Windows: Fix infinite loop when piping to cling with < operator.

This commit is contained in:
Frederich Munch 2017-06-28 22:25:37 -04:00 committed by Axel Naumann
parent aad084a75a
commit 329de59275

View File

@ -188,7 +188,10 @@ namespace textinput {
case ERROR_BROKEN_PIPE:
break;
}
NRead = 0;
}
}
if (NRead == 0) {
in.SetExtended(InputData::kEIEOF);
return true;
}