version 1.6, 1997/07/13 21:21:13 |
version 1.7, 1997/07/13 23:54:00 |
|
|
mailsize = fsize(ibuf); |
mailsize = fsize(ibuf); |
if ((otf = fopen(tempMesg, "w")) == NULL) |
if ((otf = fopen(tempMesg, "w")) == NULL) |
err(1, tempMesg); |
err(1, tempMesg); |
(void) fcntl(fileno(otf), F_SETFD, 1); |
(void)fcntl(fileno(otf), F_SETFD, 1); |
if ((itf = fopen(tempMesg, "r")) == NULL) |
if ((itf = fopen(tempMesg, "r")) == NULL) |
err(1, tempMesg); |
err(1, tempMesg); |
(void) fcntl(fileno(itf), F_SETFD, 1); |
(void)fcntl(fileno(itf), F_SETFD, 1); |
rm(tempMesg); |
rm(tempMesg); |
setptr(ibuf, 0); |
setptr(ibuf, 0); |
setmsize(msgCount); |
setmsize(msgCount); |
|
|
char linebuf[LINESIZE]; |
char linebuf[LINESIZE]; |
#if __GNUC__ |
#if __GNUC__ |
/* Avoid longjmp clobbering */ |
/* Avoid longjmp clobbering */ |
(void) &eofloop; |
(void)&eofloop; |
#endif |
#endif |
|
|
if (!sourcing) { |
if (!sourcing) { |
|
|
{ |
{ |
|
|
if (msgvec != 0) |
if (msgvec != 0) |
free((char *) msgvec); |
(void)free(msgvec); |
msgvec = (int *) calloc((unsigned) (sz + 1), sizeof(*msgvec)); |
msgvec = (int *)calloc(sz + 1, sizeof(*msgvec)); |
} |
} |
|
|
/* |
/* |