[PATCH] pstree: New applet, v2

Lauri Kasanen curaga at operamail.com
Sun Nov 7 09:56:03 UTC 2010


Hi

> BTW: xasprintf("%s/%d/stat", PROC_BASE, pid);
> may be bigger than xasprintf(PROC_BASE"/%d/stat", pid);

It wasn't, doing that grew bb by 8 bytes here.


Other than that, I hope I got everything.

v4:

- bb_error*: remove \n
- unexpand read_proc
- remove assignments inside if

- 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: 11418 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20101107/66341b0a/attachment-0001.obj>


More information about the busybox mailing list