Explorar o código

remove stdio slave pty opening

Matthias-Christian Ott %!s(int64=17) %!d(string=hai) anos
pai
achega
40c0ecfe82
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      std.c

+ 0 - 3
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;
 }