projects
/
dana
/
urxvt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f114674
)
*** empty log message ***
author
root
<root>
Wed, 11 Jan 2006 20:46:46 +0000
(20:46 +0000)
committer
root
<root>
Wed, 11 Jan 2006 20:46:46 +0000
(20:46 +0000)
src/ptytty.C
patch
|
blob
|
history
diff --git
a/src/ptytty.C
b/src/ptytty.C
index
77a9aef
..
a63e2a6
100644
(file)
--- a/
src/ptytty.C
+++ b/
src/ptytty.C
@@
-89,17
+89,6
@@
get_pty (int *fd_tty, char **ttydev)
return pfd;
#endif
-#ifdef PTYS_ARE_GETPTY
- char *ptydev;
-
- while ((ptydev = getpty ()) != NULL)
- if ((pfd = open (ptydev, O_RDWR | O_NOCTTY, 0)) >= 0)
- {
- *ttydev = ptydev;
- return pfd;
- }
-#endif
-
#if defined(HAVE_GRANTPT) && defined(HAVE_UNLOCKPT)
# if defined(PTYS_ARE_GETPT) || defined(PTYS_ARE_PTMX)