remove stdio slave pty opening - st - Simple Terminal
Log
Files
Refs
README
LICENSE
---
commit 40c0ecfe821036a3eefc210e6f5dc09e846ae5bf
parent e2ac1676b10e71dcc2c11614637ea8f00d3ba9a1
Author: Matthias-Christian Ott 
Date:   Mon,  2 Jun 2008 18:41:23 +0200

remove stdio slave pty opening

Diffstat:
  std.c                               |       3 ---

1 file changed, 0 insertions(+), 3 deletions(-)
---
diff --git 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;
 }