]> code.delx.au - gnu-emacs/blobdiff - src/s/sol2-3.h
(iswitchb-visit-buffer): Use `select-frame-set-input-focus'.
[gnu-emacs] / src / s / sol2-3.h
index 9d9018aa0be7e29aaf570b29b1ccf407621b7cca..a4fc6097905c5d6a4566a18f4c61038157e66d78 100644 (file)
                                                \
     sigblock (sigmask (SIGCLD));               \
     if (grantpt (fd) == -1)                    \
-      { close (fd); return -1; }               \
+      { emacs_close (fd); return -1; }         \
     sigunblock (sigmask (SIGCLD));             \
     if (unlockpt (fd) == -1)                   \
-      { close (fd); return -1; }               \
+      { emacs_close (fd); return -1; }         \
     if (!(ptyname = ptsname (fd)))             \
-      { close (fd); return -1; }               \
+      { emacs_close (fd); return -1; }         \
     strncpy (pty_name, ptyname, sizeof (pty_name)); \
     pty_name[sizeof (pty_name) - 1] = 0;       \
   }