delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/14/09:56:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <40CDAE70.86F50279@ieee.org>
Date: Mon, 14 Jun 2004 09:56:00 -0400
From: "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org>
Reply-To: pierre DOT humblet AT ieee DOT org
MIME-Version: 1.0
To: Jaeho Shin <netj AT sparcs DOT kaist DOT ac DOT kr>
CC: cygwin AT cygwin DOT com
Subject: Re: Unable to open files including Korean names
References: <20040612183000 DOT GA1628 AT sab DOT mazic DOT org> <20040612183000 DOT GA1628 AT sab DOT mazic DOT org> <3 DOT 0 DOT 5 DOT 32 DOT 20040613145523 DOT 00805ce0 AT incoming DOT verizon DOT net> <20040614111257 DOT GA3736 AT sab DOT mazic DOT org>


> >
> > Can you run some very simple program demonstrating the problem under
> > strace, something like
> > strace -o strace-10.txt touch "some short Korean path"
> > both under 1.5.10 and 1.5.9?
> 
> Sure.  strace-{10,9}.txt are attached, and strace-env.txt, too.
> It's the output of ``env'' where I ran strace.

1.5.10 fails after calling NtCreateFile, as expected.
I agree with Corinna's explanation.

  374   38792 [main] touch 4888 seterrno_from_win_error: /netrel/src/cygwin-1.5.10-3/winsup/cygwin/fhandler.cc:651 windows error 123

   53   38910 [main] touch 4888 geterrno_from_win_error: windows error 123 == errno 2

  208   39118 [main] touch 4888 fhandler_base::open: 0 = fhandler_base::open (D:\netj\tmp\ÇѱÛ.txt, 0x10C201)


The Windows file name (displayed in single byte chars) D:\netj\tmp\ÇѱÛ.txt
is the same is 1.5.9 and 1.5.10

Windows error 123 is:
The filename, directory name, or volume label syntax is incorrect.

I am surprised that ls -l works, as it also calls NtCreateFile.
Could you strace it too?

Pierre

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