>>>>> "Andreas" == Andreas Aardal Hanssen <[EMAIL PROTECTED]> writes:
Andreas> If this is the case, I'd like those affected by this
Andreas> problem to try the following patch [*] to 1.2.7final, and
Andreas> see if it makes things work. This patch makes the
Andreas> argparser ignore all unqualified arguments. It's not what
Andreas> qmail-pop3d does, but it may take us a step closer to the
Andreas> source of the problem.
Hi Andy
I cannot get your patch to apply cleanly. I get this in
argparser.cc.rej
***************
*** 60,76 ****
for (int i = 1; i < argc; ++i) {
string s = argv[i];
- if (s.length() < 2) {
- errString = "syntax error: " + s;
- return false;
- }
if (s[0] != '-') {
// read value of last argument
- if (lastKey == "") {
- errString = "syntax error: " + s;
- return false;
- }
if (lastIsBoolean && (s != "yes" && s != "no")) {
errString = "syntax error: " + s;
--- 60,72 ----
for (int i = 1; i < argc; ++i) {
string s = argv[i];
+ if (s.length() < 2)
+ continue;
if (s[0] != '-') {
// read value of last argument
+ if (lastKey == "")
+ continue;
if (lastIsBoolean && (s != "yes" && s != "no")) {
errString = "syntax error: " + s;
/Hasse