delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/12/12/18:08:34

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com
From: Enrico Forestieri <forenr AT lyx DOT 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 DOT 20111206093746 DOT GA6222 AT calimero DOT vinschen DOT de> <566vd7hfmi3j980ic4m64d7bv91b5qm6uh AT 4ax DOT com> <20111207173808 DOT GA25743 AT calimero DOT vinschen DOT de> <lq9vd7hue8mef2rkdjpnljn12bm0r6ftum AT 4ax DOT com> <20111207180653 DOT GB25743 AT calimero DOT vinschen DOT de> <loom DOT 20111208T012903-910 AT post DOT gmane DOT org> <20111208083935 DOT GC6602 AT calimero DOT vinschen DOT de> <loom DOT 20111208T123943-226 AT post DOT gmane DOT org> <loom DOT 20111208T151002-867 AT post DOT gmane DOT org> <20111212132633 DOT GC23590 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019