Carl-Daniel Hailfinger wrote:
I fully agree. I looked at the code repeatedly and I can't find a nice and readable way to do it. Sure, there are hackish ways to achieve the goal, but vtxprintf is already complicated enough to let me stop before such a trick. "<%03x near NULL>" would be an alternative with mostly readable code.
I think this looks nice.
The new message reads "<near NULL>".
Ok. I'll look at adding the address in a separate patch.
OK to commit?
Go for it.
//Peter