FS#21159 - [glibc] Typo in /usr/include/netinet/ip.h
Attached to Project:
Arch Linux
Opened by Chris Brannon (cmb) - Saturday, 09 October 2010, 14:53 GMT
Last edited by Allan McRae (Allan) - Monday, 25 October 2010, 07:26 GMT
Opened by Chris Brannon (cmb) - Saturday, 09 October 2010, 14:53 GMT
Last edited by Allan McRae (Allan) - Monday, 25 October 2010, 07:26 GMT
|
Details
Description:
Whilst trying to build a package from the AUR, gcc choked on the following definition from /usr/include/netinet/ip.h: #define IPTOS_CLASS(class) ((tos) & IPTOS_CLASS_MASK) The programmer actually meant to write: #define IPTOS_CLASS(class) ((class) & IPTOS_CLASS_MASK) I made a patch, and I updated the PKGBUILD accordingly. See attached. Steps to reproduce: Try to compile the sample C program attached to this report. |
This task depends upon
Closed by Allan McRae (Allan)
Monday, 25 October 2010, 07:26 GMT
Reason for closing: Fixed
Additional comments about closing: glibc-2.12.1-3
Monday, 25 October 2010, 07:26 GMT
Reason for closing: Fixed
Additional comments about closing: glibc-2.12.1-3
Comment by Chris Brannon (cmb) -
Saturday, 09 October 2010, 14:55 GMT
Comment by
Gerardo Exequiel Pozzi (djgera) -
Saturday, 09 October 2010, 15:21 GMT
Heree is the tarball containing the patch and PKGBUILD.
- Field changed: Details
- Field changed: Status (Unconfirmed → Assigned)
- Task assigned to Allan McRae (Allan)
http://sourceware.org/ml/glibc-cvs/2010-q3/msg00053.html
[GNU C Library master sources branch, master, updated.
glibc-2.12-93-g15bac72]