1 --- screen-4.0.2/fileio.c.xx 2005-04-08 13:37:18.823774606 +0200
2 +++ screen-4.0.2/fileio.c 2005-04-08 13:37:25.948324113 +0200
5 signal(SIGPIPE, SIG_DFL);
7 - execl("/bin/sh", "sh", "-c", cmd, 0);
8 + execl("/bin/sh", "sh", "-c", cmd, (char*)0);
9 Panic(errno, "/bin/sh");
12 --- screen-4.0.2/utmp.c.orig 2005-10-28 22:01:14.105418912 +0000
13 +++ screen-4.0.2/utmp.c 2005-10-28 22:02:30.065801507 +0000
14 @@ -604,6 +604,7 @@ struct utmp *u;
19 u->ut_type = USER_PROCESS;
20 strncpy(u->ut_user, user, sizeof(u->ut_user));
21 /* Now the tricky part... guess ut_id */
22 @@ -618,7 +619,8 @@ int pid;
24 strncpy(u->ut_line, line, sizeof(u->ut_line));
26 - (void)time((time_t *)&u->ut_time);
32 @@ -726,9 +728,11 @@ struct utmp *u;
37 strncpy(u->ut_line, line, sizeof(u->ut_line));
38 strncpy(u->ut_name, user, sizeof(u->ut_name));
39 - (void)time((time_t *)&u->ut_time);