diff options
author | Gregory Neil Shapiro <gshapiro@FreeBSD.org> | 2013-04-21 17:08:44 +0000 |
---|---|---|
committer | Gregory Neil Shapiro <gshapiro@FreeBSD.org> | 2013-04-21 17:08:44 +0000 |
commit | 552d4955b823634ed151c69903f0b9d33e76e78e (patch) | |
tree | ab52d50bcac2932bf5e37126b12ef0d2886488f1 /contrib/sendmail/makemap/makemap.c | |
parent | d4bb04f686cc4600af4de408523b19917ace663f (diff) | |
parent | e388eedd7a4356992c2ecf5dcc8e77368cd9c391 (diff) | |
download | src-552d4955b823634ed151c69903f0b9d33e76e78e.tar.gz src-552d4955b823634ed151c69903f0b9d33e76e78e.zip |
Merge sendmail 8.14.7 to HEAD
MFC after: 4 days
Notes
Notes:
svn path=/head/; revision=249729
Diffstat (limited to 'contrib/sendmail/makemap/makemap.c')
-rw-r--r-- | contrib/sendmail/makemap/makemap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/sendmail/makemap/makemap.c b/contrib/sendmail/makemap/makemap.c index f06ed0760080..f494ba03e2ec 100644 --- a/contrib/sendmail/makemap/makemap.c +++ b/contrib/sendmail/makemap/makemap.c @@ -20,7 +20,7 @@ SM_IDSTR(copyright, Copyright (c) 1992, 1993\n\ The Regents of the University of California. All rights reserved.\n") -SM_IDSTR(id, "@(#)$Id: makemap.c,v 8.180 2010/11/23 02:35:08 gshapiro Exp $") +SM_IDSTR(id, "@(#)$Id: makemap.c,v 8.181 2013/03/12 15:24:51 ca Exp $") #include <sys/types.h> @@ -242,7 +242,7 @@ main(argc, argv) cfile, sm_errstring(errno)); exit(EX_NOINPUT); } - while (sm_io_fgets(cfp, SM_TIME_DEFAULT, buf, sizeof(buf)) != NULL) + while (sm_io_fgets(cfp, SM_TIME_DEFAULT, buf, sizeof(buf)) >= 0) { register char *b; @@ -392,7 +392,7 @@ main(argc, argv) { lineno = 0; while (sm_io_fgets(smioin, SM_TIME_DEFAULT, ibuf, sizeof ibuf) - != NULL) + >= 0) { register char *p; |