Re: OFFTOPIC: e2fsprogs and +2Gb partitions

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 13 Jun 1998 21:23:39 +0100 (BST)


> Well, I am not a programmer and never learned skill of programming,
> but I always believed, that every first year student
> or hacker knows: one thing is allowed to be present
> in one place. If it is duplicate, it is bug.
>
> The fact, that "struct sockaddr" is defined both in kernel
> and in glibc is bug. What party is buggy is another question,
> but it is bug and it must be fixed.

Only if the exposed interface uses the kernel object. If glibc presents
all the socket API's with POSIX compliant calls and does things like correct
for the BSD and Linux noncompliance with the draft API in places etc then
Ulrich is right.

However we _need_ an _LINUX_SOURCE. And perhaps all _LINUX_SOURCE should do
is guarantee you can choose to include <linux/*.h> files without clashes.

Looking at the glibc headers that isnt too hard to arrange.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu