Explorar el Código

remove stdio slave pty opening

Matthias-Christian Ott hace 17 años
padre
commit
40c0ecfe82
Se han modificado 1 ficheros con 0 adiciones y 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;
 }