summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias-Christian Ott2008-06-02 18:41:23 +0200
committerMatthias-Christian Ott2008-06-02 18:41:23 +0200
commit40c0ecfe821036a3eefc210e6f5dc09e846ae5bf (patch)
treef13b30ddc162fd064241b968d751036d6eddb740
parente2ac1676b10e71dcc2c11614637ea8f00d3ba9a1 (diff)
downloadst-40c0ecfe821036a3eefc210e6f5dc09e846ae5bf.tar.gz
st-40c0ecfe821036a3eefc210e6f5dc09e846ae5bf.tar.xz
st-40c0ecfe821036a3eefc210e6f5dc09e846ae5bf.zip
remove stdio slave pty opening
-rw-r--r--std.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/std.c b/std.c
index ef946dd..080c490 100644
--- a/std.c
+++ b/std.c
@@ -319,8 +319,5 @@ main(int argc, char *argv[]) {
eprint("usage: st [-v]\n");
getpty();
shell();
- fdopen(fptm, "r+");
- if(!fptm)
- eprintn("cannot open slave pty");
return 0;
}