This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [1.7] cygwin inet_ntop prints IPv6 addresses in upper-case.
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 27 Mar 2009 16:22:21 +0100
- Subject: Re: [1.7] cygwin inet_ntop prints IPv6 addresses in upper-case.
- References: <18892.24881.513832.816162@amman.clic.cs.columbia.edu>
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/