]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r205008 and 205009:
authored <ed@FreeBSD.org>
Thu, 25 Mar 2010 08:33:56 +0000 (08:33 +0000)
committered <ed@FreeBSD.org>
Thu, 25 Mar 2010 08:33:56 +0000 (08:33 +0000)
commit77977448377db3188ea9b7dd362b6f186b5c3f9f
tree1dbaa5d69870cf24549fe3eee2da0638bdf086bb
parentcf7d024643689761f71dcb3f7f3bcd87fbb36bdd
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
usr.bin/script/script.c