[mycpp/runtime] call clearerr() after getline() fails with a signal