Re: Is that an acceptable interface change?
From: Olivier Galibert
Date: Mon Mar 06 2006 - 10:47:58 EST
On Mon, Mar 06, 2006 at 08:52:48AM +0100, Arjan van de Ven wrote:
> On Mon, 2006-03-06 at 02:17 +0100, Olivier Galibert wrote:
> > I'm looking at the changes in the asound.h file, and especially at
> > commit 512bbd6a85230f16389f0dd51925472e72fc8a91, and I've been
> > wondering if it's acceptable compatibility-wise. All the structures
> > passed through ioctl (and ALSA is 100% ioctl) have been renamed from
> > sndrv_* to snd_*. That breaks source compatibility but not binary
> > compatibility.
>
> only if you are "stupid" enough to use kernel headers in your userspace!
> Which you shouldn't do normally
Does that mean it is the responsability of whoever packages the
headers for userspace consumption to rename the structs back? Or that
every application should come with its own copy of the kernel headers
it may need and be ready for massive source-level breakage when
rebasing?
I'm just trying to understand if we care about source compatibility
for userspace or not.
OG.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/