DEBUG Docs.

Jeremy Allison jallison at cthulhu.engr.sgi.com
Thu Jul 30 23:35:56 GMT 1998


Christopher R. Hertel wrote:
> 
> I have *documented* the stuff I'm doing with Debug.
> 
> (cool, eh?)
> 
> See http://ruby.nts.umn.edu/crh/samba/debug.html
> 
> NOTE:  This is a DRAFT.  I like the design and have it working here, but
> have not checked it in yet because it still needs a bit of polish and
> testing.  I also have to finish ripping the debug stuff out of util.c and
> putting it into debug.c.
> 
> So, now's your chance.  If you don't like what I've done, let me know
> before I commit it.
> 

Chris,

	Looks good - only one comment :

> format_debug_text() 
>     This is a static function in debug.c. It stores the output text for the body of the message in a buffer until it
>     encounters a newline. 

Just make sure it checks for buffer overruns.

Call me paranoid but.... :-).

Cheers,

	Jeremy.


-- 
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------


More information about the samba-technical mailing list