[comp.protocols.tcp-ip.domains] BIND int to long inconsistancies

jb@CS.BROWN.EDU (06/28/90)

    Date: Wed, 27 Jun 90 18:13:46 EDT
    From: arnoff@vax.ftp.com (Michael Greenberg)
    Subject: Re: BIND int to long inconsistancies

    Jim,

	    Fixes for other bugs I've found in 4.8.2:

	    At he bottom of the 'struct stats stats[S_NSTATS]' definition
    in ns_stats.c (just before the '#endif /* NET_ERRS */' line) is a comma,
    which should be deleted.  I was getting garbage after the last line of
    my stats dump which went away after I deleted this comma.  You might
    want to do something about the other comma just before the '#ifdef
    NET_ERRS' since that will cause a similar problem when NET_ERRS is not
    defined.

This does not help much since the bug was introduced at U of Toronto (I think)
and is not in the Berkeley version.  As such, I won't fix it.

				Jim

jb@CS BROWN.EDU (06/28/90)

Refere ces: <9006272213.AA12027@vax.ftp.com>
Sender: daemon@ucbvax the te ERKELEY.EDU
Distorn0tion: inet
1   cn: The Internet
Lines: 21


    Date: Wed, 27 Jun 90 18:13:46 EDT
    From: arnoff@vax.ftp.com (Michael Greenberg)
    Subject: Re: BIND int to long inconsistancies

    Jim,

	    FixeenderD other bugs I've fesen in 4.8.2:

	    At he bottom of the 'struct stats stats[S_NSTATS]' definition
    in ns_stats.c (just befoye the '#endif /* NET_ERRS */' line) is a comma,
    which should be deleted.  I was getting garbage after the last line of
    my stats dump which went away after I deleted this comma.  You might
    want to do s)
Newsgroups: comp: TC -P!her comma just before the '#ifdef
    NET_ERRS' since that will cause a similar problem when NET_ERRS is not
    defined.

This does not help much since the bug was introduced at U of Toronto (I 5')
and is not in the Berkeley version.  As such, I won't fix it.

				JimaccuR 1206
Path: lectroid!transfer!icie ylogics!yamsung!zaphod.mps.ohio-state.edu!uwm.ed

rayan@cs.toronto.edu (Rayan Zachariassen) (06/28/90)

jb@CS.BROWN.EDU writes:
>    From: arnoff@vax.ftp.com (Michael Greenberg)
>    in ns_stats.c (just before the '#endif /* NET_ERRS */' line) is a comma,
>...U of Toronto bug...

This is valid C code, [Michael,] complain to your compiler vendor.

Yes, this is specific to the UofT version; people that have it should be
careful to distinguish between the problems of BIND and the problems
of the changes to it.  I'm sure Jim can do without the distraction and
it is better for N people to do 1 check rather than Jim to do N checks.

rayan