ash: fix "(cat < file)" hang introduced by rev 22944.

3 files changed