This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [NETLINK]: Schedule removal of old macros exported to userspace


* David Miller <davem@davemloft.net> 2006-12-09 13:45
> You can't deprecate stuff visible to userspace, sorry Thomas,
> we just can't do it.

It has been done before but I don't want to drag this on
any further. I did what I found to be right and obviously
I've hit a wall.

> Once idea I have is that you could tag these things as
> "deprecated" by making them use inline functions or similar
> and adding the deprecated GCC attribute to them.  I'd be
> very happy to include a patch like that.
> 
> This way userland gets the warning and people building it (and
> in particular the developer) will see that they have something
> to fix up.

I'm not going to spend any time on patching broken interfaces. I've
provided an alternative for those able and willing to switch, that's
as far as I'll go.

I had a short glance at dhcpclient's netlink code and found half
a dozen bugs within five minutes all caused by cut and pasting
sniplets from other netlink code. It is my opinion that people
will continue to drag along bugs this way unless the interface is
removed. I never believed in providing backward compatibility to
broken code.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]