Author: Kev <klmitch@mit.edu>
Log message:
Remove msgq_map(), since we're using only msgq_mapiov(). Tweak some buffer
length calculations to prevent off-by-one errors. Unfortunately, these
possible off-by-one errors cannot possibly cause the problems we're seeing,
so add some extra asserts and an incredibly ugly hack to detect the
problem's signature--a pointer transmuted to 0x8000a0d, corresponding to
\r\n\0 (+ first byte of pointer) as stored in memory.
Testing:
The changes compile and run--but we *want* this patch to dump core! Make
absolutely sure you compile with -g. Hopefully this'll catch the culprit,
or at least bring us one step closer to finding the problem.
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@380
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c