X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 4 May 2009 10:43:11 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Bug: Cygwin won't export environ vars to win32 programs, when the current work dir contains non-ascii characters. Message-ID: <20090504084311.GB21324@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <49F80DBF DOT 7080300 AT bodz DOT net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49F80DBF.7080300@bodz.net> 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 Apr 29 16:20, Lenik wrote: > (Following example is based on bash, but the same to ash, tcsh, ksh, > etc., so this should be bug of cygwin.) > [...] > (2) With Chinese characters, most variables are lost: > C:\Profiles\Shecti\??????>bash -c "cmd /c set" > COMSPEC=C:\WINDOWS\system32\cmd.exe > PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.JS;.WS > PROMPT=$P$G > > C:\Profiles\Shecti\??????> > [...] > "cygwin1.dll" v0.0 ts=2009/1/27 23:49 > Cygwin DLL version info: > DLL version: 1.7.0 > DLL epoch: 19 > DLL old termios: 5 > DLL malloc env: 28 > API major: 0 > API minor: 192 > Shared data: 5 > DLL identifier: cygwin1 > Mount registry: 3 > Cygwin registry name: Cygwin > Program options name: Program Options > Cygdrive default prefix: > Build date: Tue Jan 27 16:49:28 CET 2009 > Shared id: cygwin1S5 Try with the latest Cygwin 1.7 DLL. Yours from January still has a bug which results in a broken environment when using native chars in environment variables. This bug has been fixed in 1.7.0-46. 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/