[illumos-Developer] BEADM [WEBREV] 418 replace beadm by tbeadm with gettext support

Gordon Ross gordon.w.ross at gmail.com
Tue Dec 14 06:08:17 PST 2010


>> There may also be some lint bugs with the split-up printf calls,
>> i.e. beadm.c:659 in your latest has an extra arg.
>> Does it pass lint?
>>
>
> It probably does, because lint can't check the output of a function, which
> is what _() turns into.  Still that should be fixed as a specific found
> instance. :-)

One suggestion for making lint work might be:

#ifdef lint
#define _(S) S
#endif

or something like that.



More information about the Developer mailing list