From 28f831b74bc31d1e5033baf7b60231a0481932d8 Mon Sep 17 00:00:00 2001 From: Matthias-Christian Ott Date: Mon, 2 Jun 2008 18:41:23 +0200 Subject: remove stdio slave pty opening --- std.c | 3 --- 1 file changed, 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; } -- cgit v1.2.3