X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 	tests=AWL,BAYES_00,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: "jojelino" <jojelino@gmail.com>
Subject:  Re: it works well
Date:  Sat, 2 Jan 2010 15:52:43 +0900
Lines: 48
Message-ID: <hhmqfs$trf$1@ger.gmane.org>
References:  <hhhlmo$68u$1@ger.gmane.org>  <20091231162553.GC4737@ednor.casa.cgf.cx> <20100101191658.GA32463@ednor.casa.cgf.cx>
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

now it doesn't complains.
thank you sincerely.

"Christopher Faylor" <cgf-use-the-mailinglist-please@cygwin.com> wrote in 
message news:20100101191658.GA32463@ednor.casa.cgf.cx...
> On Thu, Dec 31, 2009 at 11:25:53AM -0500, Christopher Faylor wrote:
>>On Thu, Dec 31, 2009 at 05:00:25PM +0900, jojelino wrote:
>>>hi
>>>here is testcase to reproduce the problem
>>>
>>>#include <stdio.h>
>>>#include <assert.h>
>>>int main(int argc, char**argv)
>>>{
>>>printf("argv %s",argv[1]);
>>>open(argv[1],"r");
>>>assert(fp);
>>>return 0;
>>>}
>>>build
>>>make .txt in directory.
>>>and run in cmd.exe
>>>type,
>>>a ".txt"
>>>
>>>and it complains file can't be opened.
>>>and you can see argv[1]  is passed with preserved quote (") although it 
>>>is
>>>invoked in winshell
>>>it must be eliminted when it is transduced to cygwin environment.
>>
>>I don't see preserved quotes but I do see that ARGV has apparently been
>>changed to UTF-8 and is represented as: --.txt
>>
>>Try setting LANG to something appropriate in your MS-DOS session and see
>>if that makes things work better.
>
> I think I've fixed this problem in the upcoming cygwin snapshot at:
>
> http://cygwin.com/snapshots/
>
> if you want to give it a try.  It will be in *today's* snapshot, not the
> one from 12/29.
>
> cgf
> 




--
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

