summary |
tags |
clone url |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7b3820e)
SCCS-vsn: usr.sbin/sendmail/src/collect.c 6.19
SCCS-vsn: usr.sbin/sendmail/src/queue.c 6.60
-static char sccsid[] = "@(#)collect.c 6.18 (Berkeley) %G%";
+static char sccsid[] = "@(#)collect.c 6.19 (Berkeley) %G%";
#endif /* not lint */
# include <errno.h>
#endif /* not lint */
# include <errno.h>
readerr:
if (fflush(tf) != 0)
tferror(tf, e);
readerr:
if (fflush(tf) != 0)
tferror(tf, e);
+ (void) fsync(fileno(tf));
(void) fclose(tf);
/* An EOF when running SMTP is an error */
(void) fclose(tf);
/* An EOF when running SMTP is an error */
#ifndef lint
#ifdef QUEUE
#ifndef lint
#ifdef QUEUE
-static char sccsid[] = "@(#)queue.c 6.59 (Berkeley) %G% (with queueing)";
+static char sccsid[] = "@(#)queue.c 6.60 (Berkeley) %G% (with queueing)";
-static char sccsid[] = "@(#)queue.c 6.59 (Berkeley) %G% (without queueing)";
+static char sccsid[] = "@(#)queue.c 6.60 (Berkeley) %G% (without queueing)";
#endif
#endif /* not lint */
#endif
#endif /* not lint */
if (ferror(tfp))
{
if (newid)
if (ferror(tfp))
{
if (newid)
if (LogLevel > 79)
syslog(LOG_DEBUG, "%s: queueup, qf=%s, df=%s\n", e->e_id, qf, e->e_df);
# endif /* LOG */
if (LogLevel > 79)
syslog(LOG_DEBUG, "%s: queueup, qf=%s, df=%s\n", e->e_id, qf, e->e_df);
# endif /* LOG */