=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mail/head.c,v retrieving revision 1.1 retrieving revision 1.2 diff -c -r1.1 -r1.2 *** src/usr.bin/mail/head.c 1995/10/18 08:45:39 1.1 --- src/usr.bin/mail/head.c 1996/06/11 12:53:42 1.2 *************** *** 1,3 **** --- 1,6 ---- + /* $OpenBSD: head.c,v 1.2 1996/06/11 12:53:42 deraadt Exp $ */ + /* $NetBSD: head.c,v 1.5 1996/06/08 19:48:26 christos Exp $ */ + /* * Copyright (c) 1980, 1993 * The Regents of the University of California. All rights reserved. *************** *** 32,39 **** */ #ifndef lint ! static char sccsid[] = "from: @(#)head.c 8.1 (Berkeley) 6/6/93"; ! static char rcsid[] = "$Id: head.c,v 1.1 1995/10/18 08:45:39 deraadt Exp $"; #endif /* not lint */ #include "rcv.h" --- 35,45 ---- */ #ifndef lint ! #if 0 ! static char sccsid[] = "@(#)head.c 8.1 (Berkeley) 6/6/93"; ! #else ! static char rcsid[] = "$OpenBSD: head.c,v 1.2 1996/06/11 12:53:42 deraadt Exp $"; ! #endif #endif /* not lint */ #include "rcv.h" *************** *** 140,146 **** char *top; top = cp = *space; ! while (*cp++ = *src++) ; *space = cp; return (top); --- 146,152 ---- char *top; top = cp = *space; ! while ((*cp++ = *src++) != '\0') ; *space = cp; return (top);