=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/window/Attic/xx.c,v retrieving revision 1.7 retrieving revision 1.8 diff -c -r1.7 -r1.8 *** src/usr.bin/window/Attic/xx.c 2003/07/18 23:11:43 1.7 --- src/usr.bin/window/Attic/xx.c 2007/09/02 15:19:36 1.8 *************** *** 1,4 **** ! /* $OpenBSD: xx.c,v 1.7 2003/07/18 23:11:43 david Exp $ */ /* $NetBSD: xx.c,v 1.3 1995/09/28 10:36:03 tls Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: xx.c,v 1.8 2007/09/02 15:19:36 deraadt Exp $ */ /* $NetBSD: xx.c,v 1.3 1995/09/28 10:36:03 tls Exp $ */ /* *************** *** 37,43 **** #if 0 static char sccsid[] = "@(#)xx.c 8.1 (Berkeley) 6/6/93"; #else ! static char rcsid[] = "$OpenBSD: xx.c,v 1.7 2003/07/18 23:11:43 david Exp $"; #endif #endif /* not lint */ --- 37,43 ---- #if 0 static char sccsid[] = "@(#)xx.c 8.1 (Berkeley) 6/6/93"; #else ! static char rcsid[] = "$OpenBSD: xx.c,v 1.8 2007/09/02 15:19:36 deraadt Exp $"; #endif #endif /* not lint */ *************** *** 55,61 **** /* ccinit may choose to change xxbufsize */ if (tt.tt_ntoken > 0 && ccinit() < 0) return -1; ! xxbuf = malloc(xxbufsize * sizeof *xxbuf); if (xxbuf == 0) { wwerrno = WWE_NOMEM; return -1; --- 55,61 ---- /* ccinit may choose to change xxbufsize */ if (tt.tt_ntoken > 0 && ccinit() < 0) return -1; ! xxbuf = calloc(xxbufsize, sizeof *xxbuf); if (xxbuf == 0) { wwerrno = WWE_NOMEM; return -1;