Neal Norwitz <neal@metaslash.com> writes: > Don't you need to restore the saved signal if grantpt()/unlockpt() fail? Ah, right. Fixed. Martin