stdin: Always set t->error correctly.