This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/2103] New: net/if_arph.h: ARPHDR_HWX25 instead of ARPHRD_HWX25 (note the swapped DR and DR)


net/if_arph.h contains:

#define ARPHDR_HWX25    272             /* Boards with X.25 in firmware.  */

instead of the correct:

#define ARPHRD_HWX25    272             /* Boards with X.25 in firmware.  */

HRD (hardware) instead of HDR (header?)


Apparently this was introduced back on 1st of November 1999:
http://sourceware.org/ml/glibc-cvs/1999-q4/msg00788.html

Suggested fix:
Replace:
 ARPHDR_HWX25 with ARPHRD_HWX25
Add:
 #define ARPHRD_HWX25 ARPHDR_HWX25
or define it as PLEASE_FIX_YOUR_SPELLING_MISTAKE or something like that.

Version Info:
libc6-dev: /usr/include/net/if_arp.h

dis:/usr/include# dpkg --list libc6-dev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                   Version                Description
+++-======================-======================-============================================================
ii  libc6-dev              2.3.5-8                GNU C Library: Development
Libraries and Header Files

-- 
           Summary: net/if_arph.h: ARPHDR_HWX25 instead of ARPHRD_HWX25
                    (note the swapped DR and DR)
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: minor
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: jeroen at unfix dot org
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=2103

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]