Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 201979

Summary: sys-libs/glibc could use headers from this century [sys/queue.h]
Product: Gentoo Linux Reporter: Doug Goldstein (RETIRED) <cardoe>
Component: New packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal CC: gengor
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Doug Goldstein (RETIRED) gentoo-dev 2007-12-11 21:18:01 UTC
sys/queue.h is the original BSD 4.4 copy from 12 years ago. Time to get with the times and update it. FreeBSD, OpenBSD, and NetBSD pretty much all share their headers.

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sys/queue.h

With the above update, an update to the man page provided by man-pages would have to be made (current man-pages queue(3) is completely wrong from the current glibc version as well, I have contacted upstream about this).

http://www.freebsd.org/cgi/cvsweb.cgi/src/share/man/man3/queue.3

On a related note, sys/tree.h would be hawt as well. It's only 2 clause BSD.

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sys/tree.h
http://www.freebsd.org/cgi/cvsweb.cgi/src/share/man/man3/tree.3
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2007-12-11 21:19:39 UTC
<vapier> i thought it was already updated
<vapier> but maybe i did it for uClibc
<vapier> yes glibc has a retarded ancient copy
<vapier> open a bug please cause i cant get to it now
<vapier> i agree they're outdated so at least Gentoo will get updated ones
Comment 2 SpanKY gentoo-dev 2008-03-23 15:13:22 UTC
fixed in glibc-2.7-r2