*** empty log message ***
authorayin <ayin>
Thu, 19 Jan 2006 18:53:05 +0000 (18:53 +0000)
committerayin <ayin>
Thu, 19 Jan 2006 18:53:05 +0000 (18:53 +0000)
src/ptytty.C

index 7734e8c4c75ba97bc9296b7d04e112e16fe8ce0c..668322739c92b8358582169a563fd1aedb42c881 100644 (file)
@@ -103,7 +103,7 @@ get_pty_openpty (int *fd_tty, char **ttydev)
 #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)