[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ioctl() and libc 2.1



--- Begin Message ---
I need some programmer opinions here...

Glibc 2.1 has a compulsive tendency to redefine structs in libc headers
instead of including headers from /usr/include/linux.  This causes a
few BIG problems.  In particular, take a gander at
/usr/include/sys/termios.h and /usr/include/linux/termbits.h.  Note
that termios has changed size.  Then notice that the definition of
TCGETS depends on the size of struct termios.

This is....badly broken, and I'm not sure what to do about it at all. 
ioctl() is not likely to work in such a situation.  Perhaps libc's
ioctl() could do something about this?

Dan


--  
To UNSUBSCRIBE, email to debian-powerpc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


--  
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


--- End Message ---

Reply to: