[886] in Athena Bugs

home help back first fref pref prev next nref lref last post

(RT/PC) Version 6.0C: /lib/libc.a(xdr_stdio.o)

daemon@ATHENA.MIT.EDU (aaron@ATHENA.MIT.EDU)
Sat Sep 10 00:45:21 1988

From: <aaron@ATHENA.MIT.EDU>
Date: Sat, 10 Sep 88 00:44:37 EDT
To: Raid co. "Bugs check in, features check out." <bugs@ATHENA.MIT.EDU>
Cc: Jon Rochlis <jon@ATHENA.MIT.EDU>

System type, version:	(RT/PC) Version 6.0C
System name:		snorkelwacker
What's wrong:

ntohl and htonl should not be referenced in xdr_stdio, since they do not
exist on the RT and are just macros:

snorkelwacker% nm -pgo /lib/libc.a | grep ntohl
/lib/libc.a:xdr_stdio.o:         U _ntohl
/lib/libc.a:xdr_stdio.o:         U _.ntohl
snorkelwacker% nm -pgo /lib/libc.a | grep htonl
/lib/libc.a:xdr_stdio.o:         U _htonl
/lib/libc.a:xdr_stdio.o:         U _.htonl
snorkelwacker%

What should have happened:

snorkelwacker% nm -pgo /lib/libc.a | grep ntohl
snorkelwacker% nm -pgo /lib/libc.a | grep htonl
snorkelwacker%


This looks a little like a missing include file.  Perhaps other routines
which use ntoh? and hton? should be checked as well.

Thanks,

  
    Aaron Goodisman
    SIPB

home help back first fref pref prev next nref lref last post