wrong htons() used?
Grant Edwards
grante@visi.com
Sun Oct 24 18:31:00 GMT 1999
On Mon, Oct 25, 1999 at 10:51:56AM +1000, Andrew Cagney wrote:
>
> > > I thing the best option is to rename rdi-share/endian.h so that it
> > > doesn't shadow /usr/include/endian.h. rdi-share/endian.h doesn't
> > > appeart to be some strictly local stuff and not intented as a
> > > replacement for /usr/include/endian.h.
> >
> > And maybe while they are fixing it they can track down and shoot the glibc
> > person who put another non-standard header in a standard place...
>
> Unfortunatly you would have to go back a long way. Endian.h has a (C)
> date of 1992.
>
> More seriously, why is <netinet/in.h> picking up the wrong endian.h?
> Has this always happened or has something else recently changed?
It seems that it's been this way for quite a while. The e-mail I got
from the JTAG interface box vendor said that in the past, people just
changed the #define for the port number so that it worked.
Apparently there was only one spot where it mattered.
--
Grant Edwards
grante@visi.com
More information about the Gdb
mailing list