unifdef.c script does not respect "UCLIBC_HAS_BSD_ERR is not set"

Kevin Day thekevinday at gmail.com
Mon Jan 19 17:06:20 UTC 2009


On Sun, Jan 18, 2009 at 9:34 PM, Denys Vlasenko
<vda.linux at googlemail.com> wrote:
> On Monday 19 January 2009 00:21, Rob Landley wrote:
>> On Friday 16 January 2009 19:46:49 Kevin Day wrote:
>> > The file: uClibc-0.9.30/extra/scripts/unifdef.c
>> > There is a bsd header: err.h and bsd code err() errx(), warnx() vwarnc(),
>> > etc..
>> >
>> > When the BSD options, namely UCLIBC_HAS_BSD_ERR, are disabled the
>> > unifdef.c script still tries to use them.
>
> Patch?
>
>> You're aware that the Linux kernel has a scripts/unifdef.c, right?  Is any
>> effort being made to keep in sync with that?
>
> By now, ours is better than kernel's. :)
> --
> vda

Actually, the kernel's is almost identical and a patch against your
unifdef.c applies cleanly to the kernels

-- 
Kevin Day


More information about the uClibc mailing list