aab03089ee
I'm not sure how this passed my code inspection and initial testing, it's obviously wrong. Found when debugging csh.