CVSROOT: /cvs/uberbaum Module name: winsup Changes by: [email protected] 2011-11-08 06:26:15
Modified files:
cygwin : ChangeLog dtable.cc fhandler.h fhandler_tty.cc
cygwin/libc : bsdlib.cc
Log message:
* fhandler.h (__ptsname): New macro.
* dtable.cc (decode_tty): Use __ptsname to generate the slave pty name.
* fhandler_tty.cc (fhandler_pty_master::ptsname_r): Ditto.
* bsdlib.cc: Add needed includes for openpty() changes.
(openpty): Use __ptsname to generate the slave pty name. Close slave
fd when
aslave == NULL.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaum&r1=1.5552&r2=1.5553
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/dtable.cc.diff?cvsroot=uberbaum&r1=1.238&r2=1.239
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler.h.diff?cvsroot=uberbaum&r1=1.443&r2=1.444
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/fhandler_tty.cc.diff?cvsroot=uberbaum&r1=1.246&r2=1.247
http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/libc/bsdlib.cc.diff?cvsroot=uberbaum&r1=1.16&r2=1.17
