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

Joerg Schilling Joerg.Schilling at fokus.fraunhofer.de
Tue Dec 14 06:11:56 PST 2010


Gordon Ross <gordon.w.ross at gmail.com> wrote:

> >> 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.

This is something alreday defined in various include files found in /usr/include

Jörg

-- 
 EMail:joerg at schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js at cs.tu-berlin.de                (uni)  
       joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



More information about the Developer mailing list