delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/04/04:43:39

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 <corinna-cygwin AT cygwin DOT com>
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
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
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 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/

- Raw text -


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