Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <40CDAE70.86F50279@ieee.org> Date: Mon, 14 Jun 2004 09:56:00 -0400 From: "Pierre A. Humblet" Reply-To: pierre DOT humblet AT ieee DOT org MIME-Version: 1.0 To: Jaeho Shin 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> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit > > > > 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/