screen/maxwin99bug.patch

20 lines
455 B
Diff

*** screen-4.0.2/window.c Fri Dec 5 14:45:41 2003
--- screen-4.0.2/window.c Mon Jan 31 12:32:18 2011
***************
*** 1117,1123 ****
{
int pid;
char tebuf[25];
! char ebuf[10];
char shellbuf[7 + MAXPATHLEN];
char *proc;
#ifndef TIOCSWINSZ
--- 1117,1123 ----
{
int pid;
char tebuf[25];
! char ebuf[25]; // WINDOW=%d needs to be at least 3 digit!
char shellbuf[7 + MAXPATHLEN];
char *proc;
#ifndef TIOCSWINSZ