This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Unable to open files including Korean names

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


Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]