[BusyBox] debug stuff

Vladimir N. Oleynik dzo at simtreas.ru
Sun Mar 18 16:09:42 UTC 2001


Dear mantainers.

I saw, that you do not like mine debug stuff in mine applets. 
As libbb already as though is, I offer small "function" to it and removal debug
stuff 
from mine applets in applied patch.


% cat libbb/debug_stuff.c
/*
 * Specialy stuff for test applets with libbb in standalone mode
 */

#include "libbb.h"

const char *applet_name = "debug stuff usage";
const char *memory_exhausted = "Memory exhausted";

extern void show_usage(void)
{
        error_msg_and_die("show_usage()");
}
 

--w
vodz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove_debug_stuff.patch.gz
Type: application/octet-stream
Size: 1201 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20010318/610779b4/attachment.obj 


More information about the busybox mailing list