Howdy,
env.c:rfc822timestamp tests that HAVE_STRFTIME is defined within
an #ifdef HAVE_STRFTIME block.
Matt
P.S. The web site states
Fetchmail is fast and lightweight. It packs all its standard
features (POP3, IMAP, and ETRN support) in K of core on a
Pentium under Linux.
I assume there is supposed to be a number before `K'.
--- fetchmail-5.9.10/env.c Thu Feb 14 19:21:06 2002
+++ fetchmail/env.c Fri Mar 29 08:03:15 2002
@@ -213,12 +213,12 @@ char *rfc822timestamp(void)
* weird multibyte i18n characters (such as kanji) from showing up
* in your Received headers.
*/
-#if defined(HAVE_SETLOCALE) && defined(ENABLE_NLS) && defined(HAVE_STRFTIME)
+#if defined(HAVE_SETLOCALE) && defined(ENABLE_NLS)
setlocale (LC_TIME, "C");
#endif
strftime(buf, sizeof(buf)-1,
"%a, %d %b %Y %H:%M:%S XXXXX (%Z)", localtime(&now));
-#if defined(HAVE_SETLOCALE) && defined(ENABLE_NLS) && defined(HAVE_STRFTIME)
+#if defined(HAVE_SETLOCALE) && defined(ENABLE_NLS)
setlocale (LC_TIME, "");
#endif
strncpy(strstr(buf, "XXXXX"), tzoffset(&now), 5);
pgpKY24ETDLRR.pgp
Description: PGP signature