=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mail/lex.c,v retrieving revision 1.6 retrieving revision 1.7 diff -c -r1.6 -r1.7 *** src/usr.bin/mail/lex.c 1997/07/13 21:21:13 1.6 --- src/usr.bin/mail/lex.c 1997/07/13 23:54:00 1.7 *************** *** 1,4 **** ! /* $OpenBSD: lex.c,v 1.6 1997/07/13 21:21:13 millert Exp $ */ /* $NetBSD: lex.c,v 1.10 1997/05/17 19:55:13 pk Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: lex.c,v 1.7 1997/07/13 23:54:00 millert Exp $ */ /* $NetBSD: lex.c,v 1.10 1997/05/17 19:55:13 pk Exp $ */ /* *************** *** 38,44 **** #if 0 static char sccsid[] = "@(#)lex.c 8.2 (Berkeley) 4/20/95"; #else ! static char rcsid[] = "$OpenBSD: lex.c,v 1.6 1997/07/13 21:21:13 millert Exp $"; #endif #endif /* not lint */ --- 38,44 ---- #if 0 static char sccsid[] = "@(#)lex.c 8.2 (Berkeley) 4/20/95"; #else ! static char rcsid[] = "$OpenBSD: lex.c,v 1.7 1997/07/13 23:54:00 millert Exp $"; #endif #endif /* not lint */ *************** *** 140,149 **** mailsize = fsize(ibuf); if ((otf = fopen(tempMesg, "w")) == NULL) err(1, tempMesg); ! (void) fcntl(fileno(otf), F_SETFD, 1); if ((itf = fopen(tempMesg, "r")) == NULL) err(1, tempMesg); ! (void) fcntl(fileno(itf), F_SETFD, 1); rm(tempMesg); setptr(ibuf, 0); setmsize(msgCount); --- 140,149 ---- mailsize = fsize(ibuf); if ((otf = fopen(tempMesg, "w")) == NULL) err(1, tempMesg); ! (void)fcntl(fileno(otf), F_SETFD, 1); if ((itf = fopen(tempMesg, "r")) == NULL) err(1, tempMesg); ! (void)fcntl(fileno(itf), F_SETFD, 1); rm(tempMesg); setptr(ibuf, 0); setmsize(msgCount); *************** *** 210,216 **** char linebuf[LINESIZE]; #if __GNUC__ /* Avoid longjmp clobbering */ ! (void) &eofloop; #endif if (!sourcing) { --- 210,216 ---- char linebuf[LINESIZE]; #if __GNUC__ /* Avoid longjmp clobbering */ ! (void)&eofloop; #endif if (!sourcing) { *************** *** 489,496 **** { if (msgvec != 0) ! free((char *) msgvec); ! msgvec = (int *) calloc((unsigned) (sz + 1), sizeof(*msgvec)); } /* --- 489,496 ---- { if (msgvec != 0) ! (void)free(msgvec); ! msgvec = (int *)calloc(sz + 1, sizeof(*msgvec)); } /*