--- rxvt-unicode/src/ptytty.C 2006/01/19 16:43:36 1.50 +++ rxvt-unicode/src/ptytty.C 2006/01/19 20:30:36 1.52 @@ -103,7 +103,7 @@ #ifdef PTYS_ARE_OPENPTY int pfd; int res; - char tty_name[sizeof "/dev/pts/????\0"]; + char tty_name[32]; res = openpty (&pfd, fd_tty, tty_name, NULL, NULL); if (res != -1) @@ -387,7 +387,6 @@ rxvt_ptytty_unix::rxvt_ptytty_unix () { - pty = tty = -1; name = 0; #if UTMP_SUPPORT cmd_pid = 0;