]> Pileus Git - ~andy/fetchmail/commitdiff
Ready to ship 5.0.0.
authorEric S. Raymond <esr@thyrsus.com>
Sun, 28 Feb 1999 00:31:27 +0000 (00:31 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Sun, 28 Feb 1999 00:31:27 +0000 (00:31 -0000)
svn path=/trunk/; revision=2393

INSTALL
Makefile.in
NEWS
env.c
fetchmail.c
fetchmail.man
fetchmailconf
imap.c
rcfile_l.l

diff --git a/INSTALL b/INSTALL
index 54b25382efce2d7d0e1c86ff6091ead1eb00997a..2d9809951e7805fcb65da5d9acf1e03d8d5432f0 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -109,7 +109,8 @@ Run
        make
 
 This should compile fetchmail for your system.  If fetchmail fails to build
-properly, see the FAQ section B on build-time problems.
+properly, see the FAQ section B on build-time problems.  Note: parallelized
+make (e.g. make -j 4) fails due to some weirdness in the yacc productions.
 
 4. INSTALL
 
index e042233ac4a3bfa51cfb88230ca55e0c5cfc6b94..8ba0a55ec32a08f79d8494643a3e4619bedff5a0 100644 (file)
@@ -4,7 +4,7 @@
 # So just uncomment all the lines marked QNX.
 
 PACKAGE = fetchmail
-VERSION = 4.7.8
+VERSION = 5.0.0
 
 SUBDIRS = @INTLSUB@ @POSUB@  
 
diff --git a/NEWS b/NEWS
index 68389020b7b359a987d19ee52fd8e7592ebbb96c..c5b251fec4d86e38b4762be71404337560ef7afe 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,12 @@
 
                                Release Notes:
 
+fetchmail-5.0.0 ():
+* Patch by Dan Root to solve an endianness problem in IMAP-K4.
+* Fix lexical-analyzer bug that rejected `set nobouncemail',
+
+There are 262 people on fetchmail-friends and 356 on fetchmail-announce.
+
 fetchmail-4.7.8 (Mon Feb 22 10:06:04 EST 1999):
 * FreeBSD support for interface and monitor options by Andy Doran <ad@psn.ie>.
 * Fixed server-deletion bug in fetchmailconf.  Also, handle `port' properly.
@@ -15,7 +21,7 @@ fetchmail-4.7.8 (Mon Feb 22 10:06:04 EST 1999):
   postmaster.
 * Suppress dancing progress dots when syslog is on.
 * es.po update by Javier Kohen.
-* Added FAQ material on what to do for a "do not relay" sendmail error.
+* Added FAQ material on what to do for a "do not relay" sendmail response.
 * Can now build under Lynx 3.0.0.
 
 There are 261 people on fetchmail-friends and 358 on fetchmail-announce.
diff --git a/env.c b/env.c
index 2e8749ff7b8f447b2dd848214e115d00e9803a8b..4b0df547a274d2c5c6d4024ac84e5ae71e71f2d2 100644 (file)
--- a/env.c
+++ b/env.c
@@ -168,20 +168,20 @@ const char *showproto(int proto)
 {
     switch (proto)
     {
-    case P_AUTO: return("auto"); break;
+    case P_AUTO: return("auto");
 #ifdef POP2_ENABLE
-    case P_POP2: return("POP2"); break;
+    case P_POP2: return("POP2");
 #endif /* POP2_ENABLE */
-    case P_POP3: return("POP3"); break;
-    case P_IMAP: return("IMAP"); break;
-    case P_IMAP_K4: return("IMAP-K4"); break;
+    case P_POP3: return("POP3");
+    case P_IMAP: return("IMAP");
+    case P_IMAP_K4: return("IMAP-K4");
 #ifdef GSSAPI
-    case P_IMAP_GSS: return("IMAP-GSS"); break;
+    case P_IMAP_GSS: return("IMAP-GSS");
 #endif /* GSSAPI */
-    case P_APOP: return("APOP"); break;
-    case P_RPOP: return("RPOP"); break;
-    case P_ETRN: return("ETRN"); break;
-    default: return("unknown?!?"); break;
+    case P_APOP: return("APOP");
+    case P_RPOP: return("RPOP");
+    case P_ETRN: return("ETRN");
+    default: return("unknown?!?");
     }
 }
 
index cfbbb86346c7b96bb75ee66cfa4c0fe694d96275..11d3d9da8d3369b94a58629974171177141d6b03 100644 (file)
@@ -1284,7 +1284,6 @@ static int query_host(struct query *ctl)
        }
        ctl->server.protocol = P_AUTO;
        return(st);
-       break;
     case P_POP2:
 #ifdef POP2_ENABLE
        return(doPOP2(ctl));
@@ -1314,7 +1313,6 @@ static int query_host(struct query *ctl)
        report(stderr, _("IMAP support is not configured.\n"));
        return(PS_PROTOCOL);
 #endif /* IMAP_ENABLE */
-       break;
     case P_ETRN:
 #ifndef ETRN_ENABLE
        report(stderr, _("ETRN support is not configured.\n"));
index 8005cc6e41b22eda4b33555185aee3da739a6f97..876a44bec82c3062d11c2617d1b514c44b98786d 100644 (file)
@@ -962,7 +962,7 @@ T}
 set postmaster         \&      T{
 Give the name of the last-resort mail recipient
 T}
-set nobouncemail       \&      T{
+set no bouncemail      \&      T{
 Direct error mail to postmaster rather than sender
 T}
 set logfile    \&      T{
index 247d9ef4b9b5b7bf6187ad3deffa8711eb1d9d1c..52682593865a91dbe4b17e7a4a1afbdce706bf39 100755 (executable)
@@ -1046,7 +1046,7 @@ class ServerEdit(Frame, MyWidget):
             rightwin.pack(side=LEFT, anchor=N);
 
     def autoprobe(self):
-        # Note: this only handles case (1) near fetchmail.c:892
+        # Note: this only handles case (1) near fetchmail.c:1032
         # We're assuming people smart enough to set up ssh tunneling
         # won't need autoprobing.
         if self.server.via:
diff --git a/imap.c b/imap.c
index 3332cd3bb7250bc734be3e489d43c391da10de97..ad6543207b0ce76a668eecbbe630fee3d64ce1c2 100644 (file)
--- a/imap.c
+++ b/imap.c
@@ -239,6 +239,14 @@ static int do_rfc1731(int sock, char *truename)
        return result;
     }
 
+    /* this patch by Dan Root <dar@thekeep.org> solves an endianess problem. */
+    {
+       char tmp[4];
+
+       *(int *)tmp = ntohl(*(int *) challenge1.cstr);
+       memcpy(challenge1.cstr, tmp, sizeof(tmp));
+    }
+
     len = from64tobits(challenge1.cstr, buf1);
     if (len < 0) {
        report(stderr, _("could not decode initial BASE64 challenge\n"));
index 9246631697986c98ba3ec451b4c9bb1e3862432f..f275e5a6a582ae08aa8d644da011656b06d20e35 100644 (file)
@@ -78,7 +78,7 @@ to            { return TO; }
 =              { return MAP; }
 "*"            { return WILDCARD; }
 
-no/[kfrsduc \t].*      { return NO;}
+no/[a-z \t].*  { return NO;}
 
 keep           { return KEEP; }
 flush          { return FLUSH; }