[Python-checkins] python/dist/src/Lib pty.py,1.15,1.16
akuchling at users.sourceforge.net
akuchling at users.sourceforge.net
Sat Jun 5 12:27:18 EDT 2004
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24391
Modified Files:
pty.py
Log Message:
[Bug #897935] Fix fd leak in pty.spawn(). Reported by James Henstridge; 2.3 bugfix candidate.
Index: pty.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/pty.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** pty.py 27 Feb 2003 20:14:38 -0000 1.15
--- pty.py 5 Jun 2004 16:27:16 -0000 1.16
***************
*** 176,177 ****
--- 176,179 ----
if restore:
tty.tcsetattr(STDIN_FILENO, tty.TCSAFLUSH, mode)
+
+ os.close(master_fd)
More information about the Python-checkins
mailing list