From eb86f615066e71738f8f9ab924118e789380c873 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 30 Dec 1996 21:02:16 +0000 Subject: Cleaned up ticker dots code. svn path=/trunk/; revision=708 --- NEWS | 4 ++++ configure.in | 4 ++++ driver.c | 1 + fetchmail.h | 1 + 4 files changed, 10 insertions(+) diff --git a/NEWS b/NEWS index 6dae6bf9..19561f74 100644 --- a/NEWS +++ b/NEWS @@ -14,6 +14,10 @@ features -- bugs -- +* Fixed a minor bug introduced into From handling by 2.6. + +There are 169 people on the fetchmail-friends list. + ------------------------------------------------------------------------------ fetchmail-2.6 (Fri Dec 27 12:42:56 EST 1996) diff --git a/configure.in b/configure.in index 6dea56c5..b8950a8e 100644 --- a/configure.in +++ b/configure.in @@ -81,6 +81,10 @@ if test $opt_enable_stdio = unset; then *-*-*freebsd*) AC_DEFINE(USE_STDIO) ;; + case $host in + *-*-*linux*) + AC_DEFINE(USE_STDIO) + ;; esac elif test $opt_enable_stdio = yes; then AC_DEFINE(USE_STDIO) diff --git a/driver.c b/driver.c index 9bc208c2..b545cde1 100644 --- a/driver.c +++ b/driver.c @@ -874,6 +874,7 @@ const struct method *proto; /* protocol method table */ tagnum = 0; tag[0] = '\0'; /* nuke any tag hanging out from previous query */ ok = 0; + error_init(poll_interval == 0 && !logfile); /* set up the server-nonresponse timeout */ sigsave = signal(SIGVTALRM, vtalarm_handler); diff --git a/fetchmail.h b/fetchmail.h index 905bc211..7b194c24 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -164,6 +164,7 @@ extern int smtp_response; /* numeric value of SMTP response code */ /* prototypes for globally callable functions */ #if defined(HAVE_STDARG_H) +void error_init(int foreground); void error (int status, int errnum, const char *format, ...); void error_build (const char *format, ...); void error_complete (int status, int errnum, const char *format, ...); -- cgit v1.2.3