[PATCH] pstree: New applet, v2

Lauri Kasanen curaga at operamail.com
Sat Nov 6 09:26:45 UTC 2010


Hi

v2:

- struct globals
- removed unneeded if() from maybe_free_buffers
- use xzalloc instead of xmalloc
- properly indent out_args
- xmalloc, sprintf -> xasprintf
- write the guru ?:?:?: open

$ size procps/pstree.o
   text    data     bss     dec     hex filename
   3053       0       0    3053     bed procps/pstree.o

Sorry 'bout the indent, it wasn't my code in the first place ;)

- Lauri

-- 
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-pstree-New-applet.patch
Type: application/octet-stream
Size: 11281 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20101106/63ffd21b/attachment.obj>


More information about the busybox mailing list