On Sat, 1 May 2004, Henry Baragar wrote:
>1.  I know that you changed the parser between 1.6 and 1.7.  Did change 
>the semantics of the command line interface to make it illegal to have an 
>unqualified maildir?  If so, then this explains why 1.6 works with 

If this is the case, I'd like those affected by this problem to try the
following patch [*] to 1.2.7final, and see if it makes things work. This
patch makes the argparser ignore all unqualified arguments. It's not what
qmail-pop3d does, but it may take us a step closer to the source of the
problem.

Andy :-)

[*]

--- src/argparser.cc.orig       2004-05-02 10:23:08.000000000 +0200
+++ src/argparser.cc    2004-05-02 10:12:25.000000000 +0200
@@ -60,17 +60,13 @@
 
     for (int i = 1; i < argc; ++i) {
       string s = argv[i];
-      if (s.length() < 2) {
-       errString = "syntax error: " + s;
-       return false;
-      }
+      if (s.length() < 2)
+        continue;
 
       if (s[0] != '-') {
        // read value of last argument
-       if (lastKey == "") {
-         errString = "syntax error: " + s;
-         return false;
-       }
+       if (lastKey == "")
+          continue;
 
        if (lastIsBoolean && (s != "yes" && s != "no")) {
          errString = "syntax error: " + s;


Reply via email to