From: Matthias-Christian Ott <ott@enolink.de>
Date: Mon, 2 Jun 2008 16:41:23 +0000 (+0200)
Subject: remove stdio slave pty opening
X-Git-Url: https://git.owens.tech/assets/editable-focus.html/assets/editable-focus.html/git?a=commitdiff_plain;h=40c0ecfe821036a3eefc210e6f5dc09e846ae5bf;p=st.git

remove stdio slave pty opening
---

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;
 }