]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r205008 and 205009:
authored <ed@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 25 Mar 2010 08:33:56 +0000 (08:33 +0000)
committered <ed@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 25 Mar 2010 08:33:56 +0000 (08:33 +0000)
commit4d4493791444fc6850fe9c58c9cc65cb779e33bc
tree1dbaa5d69870cf24549fe3eee2da0638bdf086bb
parent7748cf944802ea98944fcbf3d5dd59fa6eb2d064
MFC r205008 and 205009:

  Make script(1) a little less broken.

  Close the file descriptor to the TTY. There is no reason why the parent
  process should keep track of the descriptor. This ensures that the
  application inside properly drains the TTY during exit(2).

  Reported by:  alfred

git-svn-id: svn://svn.freebsd.org/base/stable/8@205635 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.bin/script/script.c