Subject: Re: sockaddr_snprintf
To: None <tech-userlevel@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-userlevel
Date: 11/17/2004 00:39:49
> [IN_WITHSCOPEID has] been local add-on not adopted by standard.  It
> should just go, any code should have been using #ifdef or it would be
> broken on non-KAME stacks.

Um.  Why wasn't this documented in the getnameinfo() manpage?  It did
call it "experimental", but that's the closest it got to any indication
that it's not something to rely on - especially since the notation
described in the manpage does not match the notation actually generated
and accepted by the code, implying that the manpage was out of date in
at least one respect and thus probably in others.  (The manpage used @,
the reality used %.)

At least that's how the manpage and code were back when I first started
writing get????info()-aware code, and (like, I daresay, most coders) I
don't constantly recheck the manpage for interfaces I remember how to
use.

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B