This is the mail archive of the cygwin mailing list for the Cygwin 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]

Re: [1.7] cygwin inet_ntop prints IPv6 addresses in upper-case.


On Mar 27 01:16, lennox@cs.columbia.edu wrote:
Content-Description: message body and .signature
> This is fairly superficial, but I noticed that cygwin 1.7's inet_ntop
> function prints hex bytes in IPv6 addresses in upper-case.
> 
> This is inconsistent with what inet_ntop does on every other platform I've
> tested, and a recent Internet-Draft
> <http://www.ietf.org/internet-drafts/draft-kawamura-ipv6-text-representation-00.txt>
> also recommends printing IPv6 addresses in lower-case, among other reasons
> because upper-case "D" is harder to distinguish visually from "0".

I fixed that in CVS by converting to lower case letters on the fly.  I'm
not sure it's a good idea to change small_sprintf to produce lowercase
hex digits.  Something, somewhere might rely on the letters being
uppercase.


Thanks for the report and the testcase,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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