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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 > > 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/