projects
/
profile
/
ivi
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db6c2f3
)
Don't close the pty master in forkpty child.
author
Kristian Høgsberg
<krh@redhat.com>
Mon, 23 Feb 2009 03:30:10 +0000
(22:30 -0500)
committer
Kristian Høgsberg
<krh@redhat.com>
Mon, 23 Feb 2009 03:30:10 +0000
(22:30 -0500)
terminal.c
patch
|
blob
|
history
diff --git
a/terminal.c
b/terminal.c
index
462141e
..
71c8803
100644
(file)
--- a/
terminal.c
+++ b/
terminal.c
@@
-506,7
+506,6
@@
terminal_run(struct terminal *terminal, const char *path)
pid = forkpty(&master, NULL, NULL, NULL);
if (pid == 0) {
- close(master);
setenv("TERM", "vt100", 1);
if (execl(path, path, NULL)) {
printf("exec failed: %m\n");