comparison options.html @ 148:bac9c3b01692

Check that the ttyrec stream has an fd before passing it to fstat. The stream might not have an fd, presumably if the open isn't complete. Calling fstat then causes crashes.
author John "Elwin" Edwards
date Mon, 06 Jan 2014 09:11:35 -0500
parents 99fbc7c55b81
children
comparison
equal deleted inserted replaced
147:8d6bf19d8227 148:bac9c3b01692