Re: debug statements to debugs statements

From: Adrian Chadd <adrian@dont-contact.us>
Date: Sun, 22 Apr 2007 22:03:37 +0800

On Sun, Apr 22, 2007, Tsantilas Christos wrote:
> I do a first conversion from debug statements to debugs statements.
> The patch is big (~750K) to post it to mailing list so I put the result
> here:
> http://www.chtsanti.net/others/CONVER_DEBUGS.diff

Check this:

void
Debug::finishDebug() {
    _db_print("%s\n", CurrentDebug->str().c_str());
    delete CurrentDebug;
    CurrentDebug = NULL;
}

There's now an implied \n (ie, eol) in the debug path; your patch has
\n's in there.

Good start though!

Adrian
Received on Sun Apr 22 2007 - 07:51:07 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Apr 29 2007 - 12:00:03 MDT