* src/s/cygwin.h (PTY_OPEN): Don't try to close a bogus file descriptor.
This commit is contained in:
parent
e75e89ba41
commit
bcd86815d6
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2012-04-13 Ken Brown <kbrown@cornell.edu>
|
||||
|
||||
* s/cygwin.h (PTY_OPEN): Don't try to close a bogus file descriptor.
|
||||
|
||||
2012-04-13 Reuben Thomas <rrt@sc3d.org>
|
||||
|
||||
* indent.c (Fmove_to_column): Change interactive spec (Bug#739).
|
||||
|
|
|
@ -58,7 +58,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
|
|||
if (-1 == openpty (&fd, &dummy, pty_name, 0, 0)) \
|
||||
fd = -1; \
|
||||
sigsetmask (mask); \
|
||||
emacs_close (dummy); \
|
||||
if (fd >= 0) \
|
||||
emacs_close (dummy); \
|
||||
} \
|
||||
while (0)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue