delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Fri, 27 Mar 2009 16:22:21 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: [1.7] cygwin inet_ntop prints IPv6 addresses in upper-case. |
Message-ID: | <20090327152221.GE12738@calimero.vinschen.de> |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <18892 DOT 24881 DOT 513832 DOT 816162 AT amman DOT clic DOT cs DOT columbia DOT edu> |
MIME-Version: | 1.0 |
In-Reply-To: | <18892.24881.513832.816162@amman.clic.cs.columbia.edu> |
User-Agent: | Mutt/1.5.19 (2009-02-20) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Mar 27 01:16, lennox AT cs DOT columbia DOT 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |