1 --- ../cache/screen-4.4.0/utmp.c 2016-06-19 19:41:03.000000000 +0000
2 +++ ./utmp.c 2016-12-20 04:10:53.775426042 +0000
14 +#define DEAD_PROCESS 8
17 extern struct display *display;
20 static int initutmp __P((void));
21 static void setutent __P((void));
24 #if defined(linux) && defined(GETUTENT)
25 static struct utmp *xpututline __P((struct utmp *utmp));
26 # define pututline xpututline
32 static char UtmpName[] = UTMPFILE;
34 bzero((char *)&u, sizeof(u));
35 strncpy(u.ut_line, slot, sizeof(u.ut_line));
37 - return getutline(&u);
42 return *retbuf ? retbuf : NULL;
44 # endif /* BUGGYGETLOGIN */
47 #if defined(linux) && defined(GETUTENT)
51 return u->ut_type == u2->ut_type ? u : 0;