[PATCH 0/6] Add a unit-testing framework to Busybox

Bartosz Gołaszewski bartekgola at gmail.com
Thu Jun 26 13:14:22 UTC 2014


2014-06-26 14:12 GMT+02:00 Rich Felker <dalias at libc.org>:
> On Thu, Jun 26, 2014 at 12:35:53PM +0200, Denys Vlasenko wrote:
>> Global data is initialized to zero at program load time.
>
> And even if you need a non-zero initial value, static initialization
> is usually suitable; there's no need for code for this kind of thing.
>
> Rich

I wasn't sure of that, thanks.

If we only use the INIT_LAST macro, I propose to rename it to
INIT_FUNC and not use the priority argument for constructor attribute.
Please see the patch in attachment.

Bartosz Gołaszewski
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Rename-INIT_LAST-to-INIT_FUNC-to-avoid-confusion.patch
Type: application/octet-stream
Size: 1610 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20140626/0eb7095b/attachment.obj>


More information about the busybox mailing list