aboutsummaryrefslogtreecommitdiff
path: root/std.c
diff options
context:
space:
mode:
authorMatthias-Christian Ott <ott@enolink.de>2008-06-02 18:41:23 +0200
committerMatthias-Christian Ott <ott@enolink.de>2008-06-02 18:41:23 +0200
commit28f831b74bc31d1e5033baf7b60231a0481932d8 (patch)
treef13b30ddc162fd064241b968d751036d6eddb740 /std.c
parent38c5ff876d0ee3c3aec17e2f0cf6f8dbea29588f (diff)
downloadst-28f831b74bc31d1e5033baf7b60231a0481932d8.tar.gz
st-28f831b74bc31d1e5033baf7b60231a0481932d8.tar.bz2
remove stdio slave pty opening
Diffstat (limited to 'std.c')
-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;
}