Unable to open files including Korean names

Pierre A. Humblet pierre.humblet@ieee.org
Mon Jun 14 13:57:00 GMT 2004



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



More information about the Cygwin mailing list