=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/last/last.c,v retrieving revision 1.16 retrieving revision 1.17 diff -c -r1.16 -r1.17 *** src/usr.bin/last/last.c 2001/07/18 17:17:39 1.16 --- src/usr.bin/last/last.c 2001/11/05 09:42:13 1.17 *************** *** 1,4 **** ! /* $OpenBSD: last.c,v 1.16 2001/07/18 17:17:39 pvalchev Exp $ */ /* $NetBSD: last.c,v 1.6 1994/12/24 16:49:02 cgd Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: last.c,v 1.17 2001/11/05 09:42:13 deraadt Exp $ */ /* $NetBSD: last.c,v 1.6 1994/12/24 16:49:02 cgd Exp $ */ /* *************** *** 44,50 **** #if 0 static char sccsid[] = "@(#)last.c 8.2 (Berkeley) 4/2/94"; #endif ! static char rcsid[] = "$OpenBSD: last.c,v 1.16 2001/07/18 17:17:39 pvalchev Exp $"; #endif /* not lint */ #include --- 44,50 ---- #if 0 static char sccsid[] = "@(#)last.c 8.2 (Berkeley) 4/2/94"; #endif ! static char rcsid[] = "$OpenBSD: last.c,v 1.17 2001/11/05 09:42:13 deraadt Exp $"; #endif /* not lint */ #include *************** *** 651,656 **** --- 651,657 ---- { char *ct; + /* XXX signal race */ ct = ctime(&buf[0].ut_time); printf("\ninterrupted %10.10s %8.8s \n", ct, ct + 11); if (signo == SIGINT)