[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061209232805.GP8693@postel.suug.ch>
Date: Sun, 10 Dec 2006 00:28:05 +0100
From: Thomas Graf <tgraf@...g.ch>
To: David Miller <davem@...emloft.net>
Cc: drow@...se.org, stefan@...lof.de, dwmw2@...radead.org,
joseph@...esourcery.com, netdev@...r.kernel.org,
libc-alpha@...rceware.org, akpm@...l.org
Subject: Re: [NETLINK]: Schedule removal of old macros exported to userspace
* David Miller <davem@...emloft.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.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists