X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0	tests=AWL,BAYES_00,RCVD_IN_NJABL_PROXY,RP_MATCHES_RCVD,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Enrico Forestieri <forenr@lyx.org>
Subject: Re: [ANNOUNCEMENT] CALL FOR TESTING: Cygwin 1.7.10
Date: Mon, 12 Dec 2011 23:07:54 +0000 (UTC)
Lines: 20
Message-ID: <loom.20111213T000007-973@post.gmane.org>
References: <announce.20111206093746.GA6222@calimero.vinschen.de> <566vd7hfmi3j980ic4m64d7bv91b5qm6uh@4ax.com> <20111207173808.GA25743@calimero.vinschen.de> <lq9vd7hue8mef2rkdjpnljn12bm0r6ftum@4ax.com> <20111207180653.GB25743@calimero.vinschen.de> <loom.20111208T012903-910@post.gmane.org> <20111208083935.GC6602@calimero.vinschen.de> <loom.20111208T123943-226@post.gmane.org> <loom.20111208T151002-867@post.gmane.org> <20111212132633.GC23590@calimero.vinschen.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Corinna Vinschen writes:
> 
> Would it be ok if it works the old way (WIN_A uses the Cygwin codeset)
> for applications built under 1.7.9 and earlier, and the new way (WIN_A
> uses Win32 ANSI/OEM codepage) for applications built under 1.7.10 and
> later?  That means the current lyx continues to work and you can patch
> lyx upstream accordingly to follow the new behaviour.

This would certainly preserve backward compatibility, so it is Ok.
However, may I suggest to add two other enums, namely, CCP_WIN_TO_POSIX
and CCP_POSIX_TO_WIN, that preserve encoding?
This is also useful, as not always one has to convert to/from Windows
style paths for calling native APIs.

Thanks,

-- 
Enrico




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

