Sleep-deprived debugging successful
Jeffrey M. Vinocur
jeff at litech.org
Sat Dec 21 05:25:39 UTC 2002
Debugging while sleep-deprived sometimes give you tremendous insight.
I think I found at least a part of my problems. I added a single line of
code, as follows:
--- makehistory.c 2002/12/09 07:11:46 1.101
+++ makehistory.c 2002/12/21 05:11:17
@@ -609,6 +609,7 @@
(void)SMcancel(*art->token);
return;
}
+ fprintf(stderr, "Got Message-ID: %s\n", MessageID);
/*
And then ran `makehistory -F | & tail -n1` which produced the following
output:
Got Message-ID:
<a9883p$f4j$1 at web1.cup.hp.com>ader>demon.co.uk>>om.au>>>.com>net>ed.net>>t>net>s.ca>ris.net>
Now, I haven't tracked down everywhere that buffer gets fed, but I have a
feeling it really ought to be NUL-terminated, shouldn't it?
I don't know when exactly this broke, but can somebody at least tell me if
this is wrong?
--
Jeffrey M. Vinocur
jeff at litech.org
More information about the inn-workers
mailing list