rewrite getpty to make use openpty when its found, save the slave fd so that cleanopen can use it if its available
rewrite getpty to make use openpty when its found, save the slave fd
so that cleanopen can use it if its available


git-svn-id: 193148810cf65385f3a195dbc9a8b504846da3a2@14848 ec53bebd-3082-4978-b11e-865c3cabbd6b

madscientist159/heimdal,madscientist159/heimdal,madscientist159/heimdal,madscientist159/heimdal,madscientist159/heimdal,madscientist159/heimdal,madscientist159/heimdal