Removed 1.5.25 and installed 1.7.0, but still cannot access filenames containing Unicode

View: New views
14 Messages — Rating Filter:   Alert me  

Removed 1.5.25 and installed 1.7.0, but still cannot access filenames containing Unicode

by Steven Monai-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello folks,

I recently removed Cygwin 1.5.25 from a WindowsXP box (as per FAQ #
2.17), and then installed the Cygwin 1.7.0 beta in its place. The
install seemed to go flawlessly. I was looking forward to having more
robust handling of filenames with Unicode chars, but unfortunately, I'm
not having much luck.

For example, the following is some output from a bash shell interaction:

$ ls -l weird/
ls: cannot access weird/Mikey12 .ai: No such file or directory
total 0
-????????? ? ? ? ?            ? Mikey12 .ai

The directory named 'weird' has a single file in it named 'Mikey12?.ai',
where '?' is the Unicode char U+0323 ("Combining Dot Below").

None of the other Cygwin command line tools I tried could access the
file either. Most importantly to me, 'rsync' can't do anything with it.
rsync always reports that the "file vanished".

I added 'set LC_ALL=en_US.UTF-8' (without the quotes) to Cygwin.bat, as
suggested in the Internationalization section of the 1.7 User Guide, but
there was no improvement.

Any ideas about what might be going wrong? I'm not seeing the same
problem on another machine (Windows 2000 SP4), where no version of
Cygwin previous to 1.7.0 was ever installed. Could it be that some
remnant of the previous Cygwin 1.5 install is causing my problem?

Output of 'cygcheck -svr' is attached.

Thanks,
-SM
--



Cygwin Configuration Diagnostics
Current System Time: Mon Oct 26 15:50:16 2009

Windows XP Professional Ver 5.1 Build 2600 Service Pack 3

Path: C:\cygwin\usr\local\bin
        C:\cygwin\bin
        C:\cygwin\bin
        C:\cygwin\usr\X11R6\bin
        C:\WINDOWS\system32
        C:\WINDOWS
        C:\WINDOWS\System32\Wbem

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 10500(Administrator)          GID: 10513(Domain Users)
545(Users)                         544(Administrators)
10512(Domain Admins)               10513(Domain Users)
10519(Enterprise Admins)           10520(Group Policy Creator Owners)
10518(Schema Admins)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 10500(Administrator)          GID: 10513(Domain Users)
545(Users)                         544(Administrators)
10512(Domain Admins)               10513(Domain Users)
10519(Enterprise Admins)           10520(Group Policy Creator Owners)
10518(Schema Admins)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

USER = 'Administrator'
PWD = '/home/Administrator'
HOME = '/home/Administrator'

HOMEPATH = '\Documents and Settings\administrator'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man'
APPDATA = 'C:\Documents and Settings\administrator\Application Data'
HOSTNAME = 'dataserver'
TERM = 'cygwin'
PROCESSOR_IDENTIFIER = 'x86 Family 15 Model 12 Stepping 0, AuthenticAMD'
WINDIR = 'C:\WINDOWS'
OLDPWD = '/usr/bin'
USERDOMAIN = 'EXAMPLE'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
!:: = '::\'
TEMP = '/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
USERNAME = 'Administrator'
PROCESSOR_LEVEL = '15'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
USERPROFILE = 'C:\Documents and Settings\administrator'
PS1 = '\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = '\\SATURN'
PROCESSOR_ARCHITECTURE = 'x86'
!C: = 'C:\cygwin\bin'
SHLVL = '1'
USERDNSDOMAIN = 'EXAMPLE.COM'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
HOMEDRIVE = 'C:'
PROMPT = '$P$G'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
TMP = '/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp'
SYSTEMROOT = 'C:\WINDOWS'
CVS_RSH = '/bin/ssh'
PROCESSOR_REVISION = '0c00'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:'
PROGRAMFILES = 'C:\Program Files'
NUMBER_OF_PROCESSORS = '1'
SESSIONNAME = 'Console'
COMPUTERNAME = 'DATASERVER'
_ = '/usr/bin/cygcheck'

HKEY_CURRENT_USER\Console\Shortcut to Cygwin.bat
  (default) = 0x00000007
  PopupColors = 0x000000f5
  ColorTable00 = 0x00000000
  ColorTable01 = 0x00800000
  ColorTable02 = 0x00008000
  ColorTable03 = 0x00808000
  ColorTable04 = 0x00000080
  ColorTable05 = 0x00800080
  ColorTable06 = 0x00008080
  ColorTable07 = 0x00c0c0c0
  ColorTable08 = 0x00808080
  ColorTable09 = 0x00ff0000
  ColorTable10 = 0x0000ff00
  ColorTable11 = 0x00ffff00
  ColorTable12 = 0x000000ff
  ColorTable13 = 0x00ff00ff
  ColorTable14 = 0x0000ffff
  ColorTable15 = 0x00ffffff
  InsertMode = 0x00000001
  QuickEdit = 0x00000001
  FullScreen = 0x00000000
  ScreenBufferSize = 0x012c0050
  WindowSize = 0x00190050
  FontSize = 0x0012000a
  FontFamily = 0x00000030
  FontWeight = 0x00000190
  FaceName = 'Terminal'
  CursorSize = 0x00000019
  HistoryBufferSize = 0x00000032
  NumberOfHistoryBuffers = 0x00000004
  HistoryNoDup = 0x00000000
HKEY_CURRENT_USER\Software\Cygwin
HKEY_CURRENT_USER\Software\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Cygwin\setup
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup
  (default) = 'C:\cygwin'

obcaseinsensitive set to 1

a:  fd             N/A    N/A                    
c:  hd  NTFS    190771Mb  75% CP CS UN PA FC    
d:  cd             N/A    N/A                    
e:  hd  NTFS    953867Mb  31% CP CS UN PA FC     2009-10-07

C:\cygwin        /          system  binary,auto
C:\cygwin\bin    /usr/bin   system  binary,auto
C:\cygwin\lib    /usr/lib   system  binary,auto
cygdrive prefix  /cygdrive  user    binary,auto

Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\awk.exe
 -> C:\cygwin\bin\gawk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Found: C:\cygwin\bin\cp.exe
Not Found: cpp (good!)
Not Found: crontab
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\find.exe
Found: C:\WINDOWS\system32\find.exe
Warning: C:\cygwin\bin\find.exe hides C:\WINDOWS\system32\find.exe
Not Found: gcc
Not Found: gdb
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\kill.exe
Found: C:\cygwin\bin\kill.exe
Not Found: ld
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\ls.exe
Not Found: make
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\mv.exe
Not Found: patch
Not Found: perl
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Found: C:\cygwin\bin\sed.exe
Not Found: ssh
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe
Found: C:\cygwin\bin\tar.exe
Found: C:\cygwin\bin\test.exe
Found: C:\cygwin\bin\test.exe
Not Found: vi
Not Found: vim

   61k 2009/03/02 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2009/3/1 19:11
    7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypt-0.dll" v0.0 ts=2003/10/19 0:57
 1074k 2009/03/25 C:\cygwin\bin\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypto-0.9.8.dll" v0.0 ts=2009/3/25 9:45
   40k 2009/03/01 C:\cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygform-8.dll" v0.0 ts=2009/2/28 22:32
   41k 2009/03/27 C:\cygwin\bin\cygform-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygform-9.dll" v0.0 ts=2009/3/26 22:02
   44k 2009/09/29 C:\cygwin\bin\cyggcc_s-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyggcc_s-1.dll" v0.0 ts=2009/9/14 8:42
  315k 2009/06/06 C:\cygwin\bin\cyggmp-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggmp-3.dll" v0.0 ts=2009/6/6 4:23
   25k 2009/07/06 C:\cygwin\bin\cyghistory7.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory7.dll" v0.0 ts=2009/7/5 7:45
  270k 2009/05/07 C:\cygwin\bin\cygicons-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygicons-0.dll" v0.0 ts=2009/5/6 17:58
  981k 2009/05/30 C:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2009/5/30 12:05
   31k 2005/11/20 C:\cygwin\bin\cygintl-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-3.dll" v0.0 ts=2005/11/19 18:04
   31k 2009/04/03 C:\cygwin\bin\cygintl-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-8.dll" v0.0 ts=2009/4/2 18:15
    5k 2009/10/03 C:\cygwin\bin\cyglsa.dll - os=4.0 img=1.0 sys=4.0
                  "cyglsa.dll" v0.0 ts=2009/10/3 5:34
    9k 2009/10/03 C:\cygwin\bin\cyglsa64.dll - os=4.0 img=0.0 sys=5.2
   98k 2009/03/16 C:\cygwin\bin\cygmagic-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygmagic-1.dll" v0.0 ts=2009/3/16 9:32
   21k 2009/03/01 C:\cygwin\bin\cygmenu-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu-8.dll" v0.0 ts=2009/2/28 22:31
   21k 2009/03/27 C:\cygwin\bin\cygmenu-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu-9.dll" v0.0 ts=2009/3/26 22:01
  211k 2009/06/06 C:\cygwin\bin\cygmp-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygmp-3.dll" v0.0 ts=2009/6/6 4:23
   66k 2009/03/01 C:\cygwin\bin\cygncurses++-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++-8.dll" v0.0 ts=2009/2/28 22:39
  334k 2009/03/27 C:\cygwin\bin\cygncurses++-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++-9.dll" v0.0 ts=2009/3/26 22:12
  237k 2009/03/01 C:\cygwin\bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses-8.dll" v0.0 ts=2009/2/28 22:28
  164k 2009/03/27 C:\cygwin\bin\cygncurses-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses-9.dll" v0.0 ts=2009/3/26 21:58
   11k 2009/03/01 C:\cygwin\bin\cygpanel-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel-8.dll" v0.0 ts=2009/2/28 22:30
   11k 2009/03/27 C:\cygwin\bin\cygpanel-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel-9.dll" v0.0 ts=2009/3/26 22:00
  190k 2009/04/17 C:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre-0.dll" v0.0 ts=2009/4/17 9:07
    7k 2009/04/17 C:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcreposix-0.dll" v0.0 ts=2009/4/17 9:07
   22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2002/6/8 22:45
  162k 2009/07/06 C:\cygwin\bin\cygreadline7.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline7.dll" v0.0 ts=2009/7/5 7:45
  232k 2009/03/25 C:\cygwin\bin\cygssl-0.9.8.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl-0.9.8.dll" v0.0 ts=2009/3/25 9:45
   66k 2009/03/27 C:\cygwin\bin\cygtic-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygtic-9.dll" v0.0 ts=2009/3/26 21:54
   64k 2009/03/02 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2009/3/1 17:33
 2410k 2009/10/03 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2009/10/3 5:33
    Cygwin DLL version info:
        DLL version: 1.7.0
        DLL epoch: 19
        DLL old termios: 5
        DLL malloc env: 28
        Cygwin conv: 181
        API major: 0
        API minor: 214
        Shared data: 5
        DLL identifier: cygwin1
        Mount registry: 3
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygdrive default prefix:
        Build date: Sat Oct 3 14:33:20 CEST 2009
        Shared id: cygwin1S5

   61k 2009/03/02 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2009/3/1 19:11
    7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypt-0.dll" v0.0 ts=2003/10/19 0:57
 1074k 2009/03/25 C:\cygwin\bin\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypto-0.9.8.dll" v0.0 ts=2009/3/25 9:45
   40k 2009/03/01 C:\cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygform-8.dll" v0.0 ts=2009/2/28 22:32
   41k 2009/03/27 C:\cygwin\bin\cygform-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygform-9.dll" v0.0 ts=2009/3/26 22:02
   44k 2009/09/29 C:\cygwin\bin\cyggcc_s-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyggcc_s-1.dll" v0.0 ts=2009/9/14 8:42
  315k 2009/06/06 C:\cygwin\bin\cyggmp-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggmp-3.dll" v0.0 ts=2009/6/6 4:23
   25k 2009/07/06 C:\cygwin\bin\cyghistory7.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory7.dll" v0.0 ts=2009/7/5 7:45
  270k 2009/05/07 C:\cygwin\bin\cygicons-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygicons-0.dll" v0.0 ts=2009/5/6 17:58
  981k 2009/05/30 C:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2009/5/30 12:05
   31k 2005/11/20 C:\cygwin\bin\cygintl-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-3.dll" v0.0 ts=2005/11/19 18:04
   31k 2009/04/03 C:\cygwin\bin\cygintl-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-8.dll" v0.0 ts=2009/4/2 18:15
    5k 2009/10/03 C:\cygwin\bin\cyglsa.dll - os=4.0 img=1.0 sys=4.0
                  "cyglsa.dll" v0.0 ts=2009/10/3 5:34
    9k 2009/10/03 C:\cygwin\bin\cyglsa64.dll - os=4.0 img=0.0 sys=5.2
   98k 2009/03/16 C:\cygwin\bin\cygmagic-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygmagic-1.dll" v0.0 ts=2009/3/16 9:32
   21k 2009/03/01 C:\cygwin\bin\cygmenu-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu-8.dll" v0.0 ts=2009/2/28 22:31
   21k 2009/03/27 C:\cygwin\bin\cygmenu-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu-9.dll" v0.0 ts=2009/3/26 22:01
  211k 2009/06/06 C:\cygwin\bin\cygmp-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygmp-3.dll" v0.0 ts=2009/6/6 4:23
   66k 2009/03/01 C:\cygwin\bin\cygncurses++-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++-8.dll" v0.0 ts=2009/2/28 22:39
  334k 2009/03/27 C:\cygwin\bin\cygncurses++-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++-9.dll" v0.0 ts=2009/3/26 22:12
  237k 2009/03/01 C:\cygwin\bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses-8.dll" v0.0 ts=2009/2/28 22:28
  164k 2009/03/27 C:\cygwin\bin\cygncurses-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses-9.dll" v0.0 ts=2009/3/26 21:58
   11k 2009/03/01 C:\cygwin\bin\cygpanel-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel-8.dll" v0.0 ts=2009/2/28 22:30
   11k 2009/03/27 C:\cygwin\bin\cygpanel-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel-9.dll" v0.0 ts=2009/3/26 22:00
  190k 2009/04/17 C:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre-0.dll" v0.0 ts=2009/4/17 9:07
    7k 2009/04/17 C:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcreposix-0.dll" v0.0 ts=2009/4/17 9:07
   22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2002/6/8 22:45
  162k 2009/07/06 C:\cygwin\bin\cygreadline7.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline7.dll" v0.0 ts=2009/7/5 7:45
  232k 2009/03/25 C:\cygwin\bin\cygssl-0.9.8.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl-0.9.8.dll" v0.0 ts=2009/3/25 9:45
   66k 2009/03/27 C:\cygwin\bin\cygtic-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygtic-9.dll" v0.0 ts=2009/3/26 21:54
   64k 2009/03/02 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2009/3/1 17:33
 2410k 2009/10/03 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2009/10/3 5:33
    Cygwin DLL version info:
        DLL version: 1.7.0
        DLL epoch: 19
        DLL old termios: 5
        DLL malloc env: 28
        Cygwin conv: 181
        API major: 0
        API minor: 214
        Shared data: 5
        DLL identifier: cygwin1
        Mount registry: 3
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygdrive default prefix:
        Build date: Sat Oct 3 14:33:20 CEST 2009
        Shared id: cygwin1S5


Can't find the cygrunsrv utility, skipping services check.


Cygwin Package Information
Last downloaded files to:
Last downloaded files from:

Package              Version
_update-info-dir     00833-1
alternatives         1.3.30c-10
base-cygwin          2.0-1
base-files           3.8-4
base-passwd          3.1-1
bash                 3.2.49-23
bzip2                1.0.5-10
coreutils            7.0-2
crypt                1.1-1
cygutils             1.4.0-1
cygwin               1.7.0-62
cygwin-doc           1.5-1
dash                 0.5.5.1-2
editrights           1.01-2
email                3.1.2-2
file                 5.00-3
findutils            4.5.4-1
gawk                 3.1.7-1
gettext              0.17-11
grep                 2.5.3-1
groff                1.19.2-2
gzip                 1.3.12-2
ipc-utils            1.0-1
less                 429-1
libbz2_1             1.0.5-10
libgcc1              4.3.4-1
libgmp3              4.3.1-3
libiconv2            1.13-10
libintl3             0.14.5-1
libintl8             0.17-11
libncurses8          5.5-10
libncurses9          5.7-14
libpcre0             7.9-1
libpopt0             1.6.4-4
libreadline7         6.0.3-2
login                1.10-10
man                  1.6e-1
nano                 2.0.9-1
openssl              0.9.8k-2
rebase               3.0.1-1
rsync                3.0.6-1
run                  1.1.12-10
screen               4.0.3-4
sed                  4.1.5-2
tar                  1.22-1
termcap              20050421-1
terminfo             5.7_20090228-10
terminfo0            5.5_20061104-10
texinfo              4.13-3
tzcode               2009k-1
which                2.20-2
zlib                 1.2.3-10
zlib-devel           1.2.3-10
zlib0                1.2.3-10
Use -h to see help about each section


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

Re: Removed 1.5.25 and installed 1.7.0, but still cannot access filenames containing Unicode

by Corinna Vinschen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Oct 26 19:26, Steven Monai wrote:

> Hello folks,
>
> I recently removed Cygwin 1.5.25 from a WindowsXP box (as per FAQ #
> 2.17), and then installed the Cygwin 1.7.0 beta in its place. The
> install seemed to go flawlessly. I was looking forward to having more
> robust handling of filenames with Unicode chars, but unfortunately, I'm
> not having much luck.
>
> For example, the following is some output from a bash shell interaction:
>
> $ ls -l weird/
> ls: cannot access weird/Mikey12 .ai: No such file or directory
> total 0
> -????????? ? ? ? ?            ? Mikey12 .ai
>
> The directory named 'weird' has a single file in it named 'Mikey12?.ai',
> where '?' is the Unicode char U+0323 ("Combining Dot Below").
>
> None of the other Cygwin command line tools I tried could access the
> file either. Most importantly to me, 'rsync' can't do anything with it.
> rsync always reports that the "file vanished".
>
> I added 'set LC_ALL=en_US.UTF-8' (without the quotes) to Cygwin.bat, as
> suggested in the Internationalization section of the 1.7 User Guide, but
> there was no improvement.

Uh oh, I guess this must be changed again in the docs.  Cygwin is using
UTF-8 throughout as default charset so there should be no reason to
do that.

> Any ideas about what might be going wrong? I'm not seeing the same
> problem on another machine (Windows 2000 SP4), where no version of
> Cygwin previous to 1.7.0 was ever installed. Could it be that some
> remnant of the previous Cygwin 1.5 install is causing my problem?

This is... weird.  For testing I created a file with the same name on XP
SP3, 2008 SP2, and W7.  On neither system I have problems with this file
name:

  $ ls | od -tx1
  0000000 4d 69 6b 65 79 31 32 cc a3 2e 61 69 0a
  0000015

The cygcheck contains nothing which would point to a potential problem.
There's no trace to see from a previous 1.5 install and the registry
mount entries which have been created by 1.5 have no meaning in 1.7.

I'm seriously puzzled.  Could you please run

  $ strace -o ls.trace ls -l weird/

and send the ls.trace file as attachment?  Maybe there's some hint
in it.


Corinna

--
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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


Re: Removed 1.5.25 and installed 1.7.0, but still cannot access filenames containing Unicode

by Andy Koppe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/10/27 Corinna Vinschen:
>> I added 'set LC_ALL=en_US.UTF-8' (without the quotes) to Cygwin.bat, as
>> suggested in the Internationalization section of the 1.7 User Guide, but
>> there was no improvement.
>
> Uh oh, I guess this must be changed again in the docs.  Cygwin is using
> UTF-8 throughout as default charset so there should be no reason to
> do that.

I think it's still a good idea to set it, so that things work
correctly when connecting to a remote machine, and also for local apps
that have their own (wrong) ideas about the default locale.

Andy

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


Re: Removed 1.5.25 and installed 1.7.0, but still cannot access filenames containing Unicode

by Thomas Wolff-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ext Andy Koppe wrote:

> 2009/10/27 Corinna Vinschen:
>  
>>> I added 'set LC_ALL=en_US.UTF-8' (without the quotes) to Cygwin.bat, as
>>> suggested in the Internationalization section of the 1.7 User Guide, but
>>> there was no improvement.
>>>      
>> Uh oh, I guess this must be changed again in the docs.  Cygwin is using
>> UTF-8 throughout as default charset so there should be no reason to
>> do that.
>>    
>
> I think it's still a good idea to set it, so that things work
> correctly when connecting to a remote machine, and also for local apps
> that have their own (wrong) ideas about the default locale.
>  
I agree absolutely. This setting is needed for many apps and I suggest
adding it to the default cygwin.bat, where it should probably be
'set LC_CTYPE=C.UTF-8' to be more specific and to avoid a national
preference.

Thomas

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


Re: Removed 1.5.25 and installed 1.7.0, but still cannot access filenames containing Unicode

by paul.hermeneutic :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Oct 27, 2009 at 09:11, Thomas Wolff <towo@...> wrote:
> I agree absolutely. This setting is needed for many apps and I suggest
> adding it to the default cygwin.bat, where it should probably be
> 'set LC_CTYPE=C.UTF-8' to be more specific and to avoid a national
> preference.

If it is to be added to the default cygwin.bat script, then it should
be created based on the user and/or system settings.  Perhaps this
should become part of the settings verified in the setup.exe process.

Applications that use LANG may depend on the country and language
setting.  Setting only the "C" locale would probably ensure an
assumption of en_US, the developer's locale only, or encourage
avoidance of i18n issues as a whole.  Surely these are not the right
direction.

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


Re: Removed 1.5.25 and installed 1.7.0, but still cannot access filenames containing Unicode

by Steven Monai-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Corinna Vinschen wrote:
> I'm seriously puzzled.  Could you please run
>
>   $ strace -o ls.trace ls -l weird/
>
> and send the ls.trace file as attachment?  Maybe there's some hint
> in it.

Done.

-SM
--


    3       3 [main] ls 288 open_shared: name shared.5, n 5, shared 0x60FC0000 (wanted 0x60FC0000), h 0x770
  198     201 [main] ls 288 heap_init: heap base 0x680000, heap top 0x680000
   59     260 [main] ls 288 open_shared: name S-1-5-21-1343024091-688789844-1708537768-500.1, n 1, shared 0x60FD0000 (wanted 0x60FD0000), h 0x76C
   33     293 [main] ls 288 user_shared_create: opening user shared for 'S-1-5-21-1343024091-688789844-1708537768-500' at 0x60FD0000
   29     322 [main] ls 288 user_shared_create: user shared version 2E710001
   47     369 [main] ls 288 events_init: windows_system_directory 'C:\WINDOWS\system32\', windows_system_directory_length 20
  115     484 [main] ls 288 dll_crt0_0: finished dll_crt0_0 initialization
   73     557 [main] ls 288 _cygtls::remove: wait 0xFFFFFFFF
   32     589 [main] ls 288 _cygtls::remove: removed 0x22CE64 element 0
   43     632 [main] ls 288 _cygtls::remove: wait 0xFFFFFFFF
   21     653 [main] ls 288 _cygtls::remove: removed 0x22CE64 element 0
  166     819 [sig] ls 288 wait_sig: entering ReadFile loop, my_readsig 0x74C, my_sendsig 0x748
10895   11714 [main] ls 288 _cygwin_istext_for_stdio: fd 0: not open
  112   11826 [main] ls 288 _cygwin_istext_for_stdio: fd 1: not open
   18   11844 [main] ls 288 _cygwin_istext_for_stdio: fd 2: not open
  180   12024 [main] ls 288 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\home\Administrator, no-keep-rel, no-add-slash)
   42   12066 [main] ls 288 normalize_win32_path: C:\cygwin\home\Administrator = normalize_win32_path (C:\cygwin\home\Administrator)
   25   12091 [main] ls 288 mount_info::conv_to_posix_path: /home/Administrator = conv_to_posix_path (C:\cygwin\home\Administrator)
   77   12168 [main] ls (288) open_shared: name cygpid.288, n 288, shared 0x60FF0000 (wanted 0x60FF0000), h 0x724
  161   12329 [main] ls 288 **********************************************
   18   12347 [main] ls 288 Program name: C:\cygwin\bin\ls.exe (pid 288, ppid 1)
   16   12363 [main] ls 288 App version:  1007.0, api: 0.189
   17   12380 [main] ls 288 DLL version:  1007.0, api: 0.214
   16   12396 [main] ls 288 DLL build:    2009-10-03 14:33
   21   12417 [main] ls 288 OS version:   Windows NT-5.1
   16   12433 [main] ls 288 Heap size:    402653184
   17   12450 [main] ls 288 **********************************************
   16   12466 [main] ls 288 pinfo::thisproc: myself->dwProcessId 288
   19   12485 [main] ls 288 time: 1256742369 = time (0)
  293   12778 [main] ls 288 parse_options: glob (called func)
   41   12819 [main] ls 288 parse_options: returning
   18   12837 [main] ls 288 environ_init: GetEnvironmentStrings returned 0x10000
   33   12870 [main] ls 288 environ_init: 0x6A8298: !::=::\
   32   12902 [main] ls 288 environ_init: 0x6A82A8: !C:=C:\cygwin\bin
   35   12937 [main] ls 288 environ_init: 0x6A82C0: ALLUSERSPROFILE=C:\Documents and Settings\All Users
   34   12971 [main] ls 288 environ_init: 0x6A8300: APPDATA=C:\Documents and Settings\administrator\Application Data
   34   13005 [main] ls 288 environ_init: 0x6A8348: COMMONPROGRAMFILES=C:\Program Files\Common Files
   34   13039 [main] ls 288 environ_init: 0x6A8380: COMPUTERNAME=DATASERVER
   33   13072 [main] ls 288 environ_init: 0x6A83A0: COMSPEC=C:\WINDOWS\system32\cmd.exe
   34   13106 [main] ls 288 environ_init: 0x6A83D0: CVS_RSH=/bin/ssh
   33   13139 [main] ls 288 environ_init: 0x6A83E8: CYGWIN=noglob
   31   13170 [main] ls 288 environ_init: 0x6A8400: EDITOR=nano
   31   13201 [main] ls 288 environ_init: 0x6A8418: FP_NO_HOST_CHECK=NO
   33   13234 [main] ls 288 getwinenv: can't set native for HOME= since no environ yet
   22   13256 [main] ls 288 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\home\Administrator, no-keep-rel, no-add-slash)
   22   13278 [main] ls 288 normalize_win32_path: C:\cygwin\home\Administrator = normalize_win32_path (C:\cygwin\home\Administrator)
   18   13296 [main] ls 288 mount_info::conv_to_posix_path: /home/Administrator = conv_to_posix_path (C:\cygwin\home\Administrator)
   47   13343 [main] ls 288 win_env::add_cache: posix /home/Administrator
   88   13431 [main] ls 288 win_env::add_cache: native HOME=C:\cygwin\home\Administrator
   20   13451 [main] ls 288 posify: env var converted to HOME=/home/Administrator
   43   13494 [main] ls 288 environ_init: 0x6A84A0: HOME=/home/Administrator
   33   13527 [main] ls 288 environ_init: 0x6A8438: HOMEDRIVE=C:
   34   13561 [main] ls 288 environ_init: 0x6A84C0: HOMEPATH=\Documents and Settings\administrator
   34   13595 [main] ls 288 environ_init: 0x6A84F8: HOSTNAME=dataserver
   32   13627 [main] ls 288 environ_init: 0x6A8518: INFOPATH=/usr/local/info:/usr/share/info:/usr/info:
   32   13659 [main] ls 288 environ_init: 0x6A8558: LOGONSERVER=\\SINCLAR
   32   13691 [main] ls 288 environ_init: 0x6A8578: MANPATH=/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man
   34   13725 [main] ls 288 environ_init: 0x6A85C0: NUMBER_OF_PROCESSORS=1
   31   13756 [main] ls 288 environ_init: 0x6A85E0: OLDPWD=/usr/bin
   32   13788 [main] ls 288 environ_init: 0x6A85F8: OS=Windows_NT
   36   13824 [main] ls 288 getwinenv: can't set native for PATH= since no environ yet
   40   13864 [main] ls 288 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\usr\local\bin, keep-rel, no-add-slash)
   19   13883 [main] ls 288 normalize_win32_path: C:\cygwin\usr\local\bin = normalize_win32_path (C:\cygwin\usr\local\bin)
   17   13900 [main] ls 288 mount_info::conv_to_posix_path: /usr/local/bin = conv_to_posix_path (C:\cygwin\usr\local\bin)
   17   13917 [main] ls 288 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\bin, keep-rel, no-add-slash)
   18   13935 [main] ls 288 normalize_win32_path: C:\cygwin\bin = normalize_win32_path (C:\cygwin\bin)
   16   13951 [main] ls 288 mount_info::conv_to_posix_path: /usr/bin = conv_to_posix_path (C:\cygwin\bin)
   16   13967 [main] ls 288 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\bin, keep-rel, no-add-slash)
   17   13984 [main] ls 288 normalize_win32_path: C:\cygwin\bin = normalize_win32_path (C:\cygwin\bin)
   16   14000 [main] ls 288 mount_info::conv_to_posix_path: /usr/bin = conv_to_posix_path (C:\cygwin\bin)
   17   14017 [main] ls 288 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\usr\X11R6\bin, keep-rel, no-add-slash)
   17   14034 [main] ls 288 normalize_win32_path: C:\cygwin\usr\X11R6\bin = normalize_win32_path (C:\cygwin\usr\X11R6\bin)
   16   14050 [main] ls 288 mount_info::conv_to_posix_path: /usr/X11R6/bin = conv_to_posix_path (C:\cygwin\usr\X11R6\bin)
   17   14067 [main] ls 288 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WINDOWS\system32, keep-rel, no-add-slash)
   17   14084 [main] ls 288 normalize_win32_path: C:\WINDOWS\system32 = normalize_win32_path (C:\WINDOWS\system32)
   17   14101 [main] ls 288 mount_info::conv_to_posix_path: /cygdrive/c/WINDOWS/system32 = conv_to_posix_path (C:\WINDOWS\system32)
   17   14118 [main] ls 288 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WINDOWS, keep-rel, no-add-slash)
   17   14135 [main] ls 288 normalize_win32_path: C:\WINDOWS = normalize_win32_path (C:\WINDOWS)
   16   14151 [main] ls 288 mount_info::conv_to_posix_path: /cygdrive/c/WINDOWS = conv_to_posix_path (C:\WINDOWS)
   17   14168 [main] ls 288 mount_info::conv_to_posix_path: conv_to_posix_path (C:\WINDOWS\System32\Wbem, keep-rel, no-add-slash)
   17   14185 [main] ls 288 normalize_win32_path: C:\WINDOWS\System32\Wbem = normalize_win32_path (C:\WINDOWS\System32\Wbem)
   16   14201 [main] ls 288 mount_info::conv_to_posix_path: /cygdrive/c/WINDOWS/System32/Wbem = conv_to_posix_path (C:\WINDOWS\System32\Wbem)
   46   14247 [main] ls 288 win_env::add_cache: posix /usr/local/bin:/usr/bin:/usr/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem
   17   14264 [main] ls 288 win_env::add_cache: native PATH=C:\cygwin\usr\local\bin;C:\cygwin\bin;C:\cygwin\bin;C:\cygwin\usr\X11R6\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
   17   14281 [main] ls 288 posify: env var converted to PATH=/usr/local/bin:/usr/bin:/usr/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem
   75   14356 [main] ls 288 environ_init: 0x6B87C0: PATH=/usr/local/bin:/usr/bin:/usr/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem
   36   14392 [main] ls 288 environ_init: 0x6A8610: PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
   35   14427 [main] ls 288 environ_init: 0x6A8650: PROCESSOR_ARCHITECTURE=x86
   37   14464 [main] ls 288 environ_init: 0x6B8850: PROCESSOR_IDENTIFIER=x86 Family 15 Model 12 Stepping 0, AuthenticAMD
   35   14499 [main] ls 288 environ_init: 0x6A8670: PROCESSOR_LEVEL=15
   37   14536 [main] ls 288 environ_init: 0x6B88A0: PROCESSOR_REVISION=0c00
   37   14573 [main] ls 288 environ_init: 0x6B88C0: PROGRAMFILES=C:\Program Files
   36   14609 [main] ls 288 environ_init: 0x6A8688: PROMPT=$P$G
   39   14648 [main] ls 288 environ_init: 0x6B88E8: PS1=\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$
   37   14685 [main] ls 288 environ_init: 0x6B8930: PWD=/home/Administrator
   33   14718 [main] ls 288 environ_init: 0x6B8950: SESSIONNAME=Console
   32   14750 [main] ls 288 environ_init: 0x6A8450: SHLVL=1
   32   14782 [main] ls 288 environ_init: 0x6B8970: SYSTEMDRIVE=C:
   33   14815 [main] ls 288 environ_init: 0x6B8988: SYSTEMROOT=C:\WINDOWS
   33   14848 [main] ls 288 getwinenv: can't set native for TEMP= since no environ yet
   16   14864 [main] ls 288 mount_info::conv_to_posix_path: conv_to_posix_path (C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp, no-keep-rel, no-add-slash)
   17   14881 [main] ls 288 normalize_win32_path: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp = normalize_win32_path (C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp)
   17   14898 [main] ls 288 mount_info::conv_to_posix_path: /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp = conv_to_posix_path (C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp)
   44   14942 [main] ls 288 win_env::add_cache: posix /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp
   16   14958 [main] ls 288 win_env::add_cache: native TEMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
   16   14974 [main] ls 288 posify: env var converted to TEMP=/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp
   43   15017 [main] ls 288 environ_init: 0x6B8A38: TEMP=/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp
   32   15049 [main] ls 288 environ_init: 0x6B89A8: TERM=cygwin
   33   15082 [main] ls 288 getwinenv: can't set native for TMP= since no environ yet
   16   15098 [main] ls 288 mount_info::conv_to_posix_path: conv_to_posix_path (C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp, no-keep-rel, no-add-slash)
   17   15115 [main] ls 288 normalize_win32_path: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp = normalize_win32_path (C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp)
   17   15132 [main] ls 288 mount_info::conv_to_posix_path: /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp = conv_to_posix_path (C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp)
   46   15178 [main] ls 288 win_env::add_cache: posix /cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp
   16   15194 [main] ls 288 win_env::add_cache: native TMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
   16   15210 [main] ls 288 posify: env var converted to TMP=/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp
   44   15254 [main] ls 288 environ_init: 0x6B8B00: TMP=/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp
   31   15285 [main] ls 288 environ_init: 0x6B89C0: USER=Administrator
   32   15317 [main] ls 288 environ_init: 0x6B8A70: USERDNSDOMAIN=EXAMPLE.COM
   32   15349 [main] ls 288 environ_init: 0x6B8B38: USERDOMAIN=EXAMPLE
   31   15380 [main] ls 288 environ_init: 0x6B8B50: USERNAME=Administrator
   33   15413 [main] ls 288 environ_init: 0x6B8B70: USERPROFILE=C:\Documents and Settings\administrator
   32   15445 [main] ls 288 environ_init: 0x6B8BB0: WINDIR=C:\WINDOWS
   31   15476 [main] ls 288 environ_init: 0x6B8BC8: _=/usr/bin/strace
   23   15499 [main] ls 288 pinfo_init: Set nice to 0
   18   15517 [main] ls 288 pinfo_init: pid 288, pgid 288
   68   15585 [main] ls 288 dtable::extend: size 32, fds 0x61209464
  323   15908 [main] ls 288 pwdgrp::load: \etc\passwd curr_lines 49
   26   15934 [main] ls 288 pwdgrp::load: \etc\passwd load succeeded
  231   16165 [main] ls 288 pwdgrp::load: \etc\group curr_lines 35
   21   16186 [main] ls 288 pwdgrp::load: \etc\group load succeeded
   21   16207 [main] ls 288 cygheap_user::ontherange: what 2, pw 0x6BA3E8
   18   16225 [main] ls 288 cygheap_user::ontherange: HOME is already in the environment /home/Administrator
   18   16243 [main] ls 288 wait_for_sigthread: wait_sig_inited 0x7D4
   19   16262 [main] ls 288 wait_for_sigthread: process/signal handling enabled, state 0x41
   65   16327 [main] ls 288 build_argv: argv[0] = 'ls'
   17   16344 [main] ls 288 build_argv: argv[1] = '-l'
   17   16361 [main] ls 288 build_argv: argv[2] = 'weird/'
   15   16376 [main] ls 288 build_argv: argc 3
   60   16436 [main] ls 288 build_fh_pc: fh 0x612095BC
   60   16496 [main] ls 288 open_shared: name (null), n 0, shared 0x60FE0000 (wanted 0x60FE0000), h 0x7D4
   30   16526 [main] ls 288 _pinfo::set_ctty: old no ctty
   22   16548 [main] ls 288 _pinfo::set_ctty: attaching ctty /dev/console sid 288, pid 288, pgid 288, tty->pgid 0, tty->sid 288
  955   17503 [main] ls 288 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   54   17557 [main] ls 288 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   17   17574 [main] ls 288 fhandler_base::set_flags: filemode set to binary
   83   17657 [main] ls 288 init_cygheap::manage_console_count: fhandler_console::open: console_count 1, amount 1, ctty /dev/console, avoid_freeing_console 0
   38   17695 [main] ls 288 fhandler_console::open: opened conin$ 0x23, conout$ 0x27
   31   17726 [main] ls 288 fhandler_console::output_tcsetattr: 0 = tcsetattr (,60FE001C) (ENABLE FLAGS 3) (lflag 107 oflag 9)
   59   17785 [main] ls 288 build_fh_pc: fh 0x61209814
   21   17806 [main] ls 288 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   17   17823 [main] ls 288 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   16   17839 [main] ls 288 fhandler_base::set_flags: filemode set to binary
   33   17872 [main] ls 288 init_cygheap::manage_console_count: fhandler_console::open: console_count 2, amount 1, ctty /dev/console, avoid_freeing_console 0
   28   17900 [main] ls 288 fhandler_console::open: opened conin$ 0xB, conout$ 0x2B
   26   17926 [main] ls 288 fhandler_console::output_tcsetattr: 0 = tcsetattr (,60FE001C) (ENABLE FLAGS 3) (lflag 107 oflag 9)
   50   17976 [main] ls 288 build_fh_pc: fh 0x61209A6C
   19   17995 [main] ls 288 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   17   18012 [main] ls 288 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   16   18028 [main] ls 288 fhandler_base::set_flags: filemode set to binary
   33   18061 [main] ls 288 init_cygheap::manage_console_count: fhandler_console::open: console_count 3, amount 1, ctty /dev/console, avoid_freeing_console 0
   28   18089 [main] ls 288 fhandler_console::open: opened conin$ 0x13, conout$ 0x2F
   25   18114 [main] ls 288 fhandler_console::output_tcsetattr: 0 = tcsetattr (,60FE001C) (ENABLE FLAGS 3) (lflag 107 oflag 9)
   45   18159 [main] ls 288 fhandler_console::need_invisible: invisible_console 0
   34   18193 [main] ls 288 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\bin\cygiconv-2.dll, keep-rel, no-add-slash)
   23   18216 [main] ls 288 normalize_win32_path: C:\cygwin\bin\cygiconv-2.dll = normalize_win32_path (C:\cygwin\bin\cygiconv-2.dll)
   19   18235 [main] ls 288 mount_info::conv_to_posix_path: /usr/bin/cygiconv-2.dll = conv_to_posix_path (C:\cygwin\bin\cygiconv-2.dll)
   46   18281 [main] ls 288 mount_info::conv_to_posix_path: conv_to_posix_path (C:\cygwin\bin\cygintl-8.dll, keep-rel, no-add-slash)
   18   18299 [main] ls 288 normalize_win32_path: C:\cygwin\bin\cygintl-8.dll = normalize_win32_path (C:\cygwin\bin\cygintl-8.dll)
   16   18315 [main] ls 288 mount_info::conv_to_posix_path: /usr/bin/cygintl-8.dll = conv_to_posix_path (C:\cygwin\bin\cygintl-8.dll)
   31   18346 [main] ls 288 dll_crt0_1: user_data->main 0x406370
   16   18362 [main] ls 288 __set_errno: void dll_crt0_1(void*):935 val 0
  301   18663 [main] ls 288 isatty: 1 = isatty (1)
  115   18778 [main] ls 288 ioctl: fd 1, cmd 5401
   30   18808 [main] ls 288 fhandler_console::ioctl: WINSZ: (row=25,col=80)
   18   18826 [main] ls 288 ioctl: returning 0
  244   19070 [main] ls 288 lstat64: entering
   26   19096 [main] ls 288 normalize_posix_path: src weird/
   23   19119 [main] ls 288 cwdstuff::get: posix /home/Administrator
   18   19137 [main] ls 288 cwdstuff::get: (/home/Administrator) = cwdstuff::get (0x680038, 32768, 1, 0), errno 0
   18   19155 [main] ls 288 normalize_posix_path: /home/Administrator/weird/ = normalize_posix_path (weird/)
   20   19175 [main] ls 288 mount_info::conv_to_win32_path: conv_to_win32_path (/home/Administrator/weird)
   26   19201 [main] ls 288 set_flags: flags: binary (0x2)
   20   19221 [main] ls 288 mount_info::conv_to_win32_path: src_path /home/Administrator/weird, dst C:\cygwin\home\Administrator\weird, flags 0x3000A, rc 0
   91   19312 [main] ls 288 symlink_info::check: not a symlink
   32   19344 [main] ls 288 symlink_info::check: 0 = symlink.check (C:\cygwin\home\Administrator\weird, 0x22B788) (0x3000A)
   21   19365 [main] ls 288 path_conv::check: this->path(C:\cygwin\home\Administrator\weird), has_acls(1)
   26   19391 [main] ls 288 build_fh_pc: fh 0x61209D54
   23   19414 [main] ls 288 stat_worker: (\??\C:\cygwin\home\Administrator\weird, 0x6BB730, 0x61209D54), file_attributes 16
   27   19441 [main] ls 288 fhandler_base::open: (\??\C:\cygwin\home\Administrator\weird, 0x110000)
   37   19478 [main] ls 288 fhandler_base::set_flags: flags 0x110000, supplied_bin 0x10000
   21   19499 [main] ls 288 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   16   19515 [main] ls 288 fhandler_base::set_flags: filemode set to binary
   15   19530 [main] ls 288 fhandler_base::open: 0 = NtCreateFile (0x6E8, 20080, \??\C:\cygwin\home\Administrator\weird, io, NULL, 0, 7, 1, 4000, NULL, 0)
   19   19549 [main] ls 288 fhandler_base::open: 1 = fhandler_base::open (\??\C:\cygwin\home\Administrator\weird, 0x110000)
   24   19573 [main] ls 288 fhandler_base::open_fs: 1 = fhandler_disk_file::open (\??\C:\cygwin\home\Administrator\weird, 0x10000)
   78   19651 [main] ls 288 cygpsid::debug_print: get_sids_info: owner SID = S-1-5-21-1343024091-688789844-1708537768-500
  158   19809 [main] ls 288 cygpsid::debug_print: get_sids_info: group SID = S-1-5-21-1343024091-688789844-1708537768-513
   22   19831 [main] ls 288 get_info_from_sd: ACL 41ED, uid 10500, gid 10513
   32   19863 [main] ls 288 fhandler_base::fstat_helper: 0 = fstat (, 0x6BB730) st_atime=4AE7FD35 st_size=0, st_mode=0x41ED, st_ino=844424930239256, sizeof=96
   20   19883 [main] ls 288 fhandler_base::close: closing '/home/Administrator/weird' handle 0x6E8
   34   19917 [main] ls 288 stat_worker: 0 = (\??\C:\cygwin\home\Administrator\weird, 0x6BB730)
   28   19945 [main] ls 288 normalize_posix_path: src weird/
   20   19965 [main] ls 288 cwdstuff::get: posix /home/Administrator
   16   19981 [main] ls 288 cwdstuff::get: (/home/Administrator) = cwdstuff::get (0x680038, 32768, 1, 0), errno 134
   18   19999 [main] ls 288 normalize_posix_path: /home/Administrator/weird/ = normalize_posix_path (weird/)
   16   20015 [main] ls 288 mount_info::conv_to_win32_path: conv_to_win32_path (/home/Administrator/weird)
   17   20032 [main] ls 288 set_flags: flags: binary (0x2)
   17   20049 [main] ls 288 mount_info::conv_to_win32_path: src_path /home/Administrator/weird, dst C:\cygwin\home\Administrator\weird, flags 0x3000A, rc 0
   43   20092 [main] ls 288 symlink_info::check: not a symlink
   24   20116 [main] ls 288 symlink_info::check: 0 = symlink.check (C:\cygwin\home\Administrator\weird, 0x22B708) (0x3000A)
   19   20135 [main] ls 288 path_conv::check: this->path(C:\cygwin\home\Administrator\weird), has_acls(1)
   18   20153 [main] ls 288 build_fh_pc: fh 0x61209D54
   19   20172 [main] ls 288 fhandler_base::open: (\??\C:\cygwin\home\Administrator\weird, 0x110000)
   30   20202 [main] ls 288 fhandler_base::set_flags: flags 0x110000, supplied_bin 0x10000
   19   20221 [main] ls 288 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   21   20242 [main] ls 288 fhandler_base::set_flags: filemode set to binary
   15   20257 [main] ls 288 fhandler_base::open: 0 = NtCreateFile (0x6E8, 20000, \??\C:\cygwin\home\Administrator\weird, io, NULL, 0, 7, 1, 4000, NULL, 0)
   19   20276 [main] ls 288 fhandler_base::open: 1 = fhandler_base::open (\??\C:\cygwin\home\Administrator\weird, 0x110000)
   20   20296 [main] ls 288 fhandler_base::open_fs: 1 = fhandler_disk_file::open (\??\C:\cygwin\home\Administrator\weird, 0x10000)
   50   20346 [main] ls 288 getacl: 4 = getacl (\??\C:\cygwin\home\Administrator\weird)
   32   20378 [main] ls 288 fhandler_base::close: closing '/home/Administrator/weird' handle 0x6E8
   22   20400 [main] ls 288 acl_worker: 4 = acl (weird/)
   32   20432 [main] ls 288 normalize_posix_path: src weird/
   15   20447 [main] ls 288 cwdstuff::get: posix /home/Administrator
   16   20463 [main] ls 288 cwdstuff::get: (/home/Administrator) = cwdstuff::get (0x680038, 32768, 1, 0), errno 134
   17   20480 [main] ls 288 normalize_posix_path: /home/Administrator/weird/ = normalize_posix_path (weird/)
   17   20497 [main] ls 288 mount_info::conv_to_win32_path: conv_to_win32_path (/home/Administrator/weird)
   16   20513 [main] ls 288 set_flags: flags: binary (0x2)
   16   20529 [main] ls 288 mount_info::conv_to_win32_path: src_path /home/Administrator/weird, dst C:\cygwin\home\Administrator\weird, flags 0x3000A, rc 0
   40   20569 [main] ls 288 symlink_info::check: not a symlink
   24   20593 [main] ls 288 symlink_info::check: 0 = symlink.check (C:\cygwin\home\Administrator\weird, 0x22B708) (0x3000A)
   18   20611 [main] ls 288 path_conv::check: this->path(C:\cygwin\home\Administrator\weird), has_acls(1)
   17   20628 [main] ls 288 build_fh_pc: fh 0x61209D54
   18   20646 [main] ls 288 fhandler_base::open: (\??\C:\cygwin\home\Administrator\weird, 0x110000)
   30   20676 [main] ls 288 fhandler_base::set_flags: flags 0x110000, supplied_bin 0x10000
   18   20694 [main] ls 288 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   16   20710 [main] ls 288 fhandler_base::set_flags: filemode set to binary
   16   20726 [main] ls 288 fhandler_base::open: 0 = NtCreateFile (0x6E8, 20000, \??\C:\cygwin\home\Administrator\weird, io, NULL, 0, 7, 1, 4000, NULL, 0)
   18   20744 [main] ls 288 fhandler_base::open: 1 = fhandler_base::open (\??\C:\cygwin\home\Administrator\weird, 0x110000)
   21   20765 [main] ls 288 fhandler_base::open_fs: 1 = fhandler_disk_file::open (\??\C:\cygwin\home\Administrator\weird, 0x10000)
   43   20808 [main] ls 288 getacl: 4 = getacl (\??\C:\cygwin\home\Administrator\weird)
   31   20839 [main] ls 288 fhandler_base::close: closing '/home/Administrator/weird' handle 0x6E8
   23   20862 [main] ls 288 acl_worker: 4 = acl (weird/)
   40   20902 [main] ls 288 normalize_posix_path: src /etc
   18   20920 [main] ls 288 normalize_posix_path: /etc = normalize_posix_path (/etc)
   17   20937 [main] ls 288 mount_info::conv_to_win32_path: conv_to_win32_path (/etc)
   17   20954 [main] ls 288 set_flags: flags: binary (0x2)
   17   20971 [main] ls 288 mount_info::conv_to_win32_path: src_path /etc, dst C:\cygwin\etc, flags 0x3000A, rc 0
   42   21013 [main] ls 288 symlink_info::check: not a symlink
   25   21038 [main] ls 288 symlink_info::check: 0 = symlink.check (C:\cygwin\etc, 0x22B6B8) (0x3000A)
   18   21056 [main] ls 288 path_conv::check: this->path(C:\cygwin\etc), has_acls(1)
  292   21348 [main] ls 288 normalize_posix_path: src weird/
   18   21366 [main] ls 288 cwdstuff::get: posix /home/Administrator
   15   21381 [main] ls 288 cwdstuff::get: (/home/Administrator) = cwdstuff::get (0x680038, 32768, 1, 0), errno 0
   16   21397 [main] ls 288 normalize_posix_path: /home/Administrator/weird/ = normalize_posix_path (weird/)
   16   21413 [main] ls 288 mount_info::conv_to_win32_path: conv_to_win32_path (/home/Administrator/weird)
   16   21429 [main] ls 288 set_flags: flags: binary (0x2)
   16   21445 [main] ls 288 mount_info::conv_to_win32_path: src_path /home/Administrator/weird, dst C:\cygwin\home\Administrator\weird, flags 0x3000A, rc 0
   44   21489 [main] ls 288 symlink_info::check: not a symlink
   26   21515 [main] ls 288 symlink_info::check: 0 = symlink.check (C:\cygwin\home\Administrator\weird, 0x22B7C8) (0x3000A)
   19   21534 [main] ls 288 path_conv::check: this->path(C:\cygwin\home\Administrator\weird), has_acls(1)
   18   21552 [main] ls 288 build_fh_pc: fh 0x61209D54
  115   21667 [main] ls 288 fhandler_base::set_close_on_exec: set close_on_exec for /home/Administrator/weird to 1
   22   21689 [main] ls 288 fhandler_disk_file::opendir: 0x6BE698 = opendir (/home/Administrator/weird)
   62   21751 [main] ls 288 fhandler_disk_file::readdir: 0 = readdir (0x6BE698, 0x22C914) (.)
   25   21776 [main] ls 288 normalize_posix_path: src /home/Administrator/weird/..
   18   21794 [main] ls 288 normalize_posix_path: /home/Administrator/ = normalize_posix_path (/home/Administrator/weird/..)
   16   21810 [main] ls 288 mount_info::conv_to_win32_path: conv_to_win32_path (/home/Administrator)
   17   21827 [main] ls 288 set_flags: flags: binary (0x2)
   16   21843 [main] ls 288 mount_info::conv_to_win32_path: src_path /home/Administrator, dst C:\cygwin\home\Administrator, flags 0x3000A, rc 0
   44   21887 [main] ls 288 symlink_info::check: not a symlink
   95   21982 [main] ls 288 symlink_info::check: 0 = symlink.check (C:\cygwin\home\Administrator, 0x22B518) (0x3000A)
   25   22007 [main] ls 288 path_conv::check: this->path(C:\cygwin\home\Administrator), has_acls(1)
   42   22049 [main] ls 288 fhandler_disk_file::readdir: 0 = readdir (0x6BE698, 0x22C914) (..)
   21   22070 [main] ls 288 fhandler_disk_file::readdir: 0 = readdir (0x6BE698, 0x22C914) (Mikey12 .ai)
   19   22089 [main] ls 288 lstat64: entering
   16   22105 [main] ls 288 normalize_posix_path: src weird/Mikey12 .ai
   16   22121 [main] ls 288 cwdstuff::get: posix /home/Administrator
   16   22137 [main] ls 288 cwdstuff::get: (/home/Administrator) = cwdstuff::get (0x680038, 32768, 1, 0), errno 0
   18   22155 [main] ls 288 normalize_posix_path: /home/Administrator/weird/Mikey12 .ai = normalize_posix_path (weird/Mikey12 .ai)
   17   22172 [main] ls 288 mount_info::conv_to_win32_path: conv_to_win32_path (/home/Administrator/weird/Mikey12 .ai)
   16   22188 [main] ls 288 set_flags: flags: binary (0x2)
   17   22205 [main] ls 288 mount_info::conv_to_win32_path: src_path /home/Administrator/weird/Mikey12 .ai, dst C:\cygwin\home\Administrator\weird\Mikey12 .ai, flags 0x3000A, rc 0
   41   22246 [main] ls 288 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\home\Administrator\weird\Mikey12 .ai)
   40   22286 [main] ls 288 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\home\Administrator\weird\Mikey12 .ai.exe)
   36   22322 [main] ls 288 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\home\Administrator\weird\Mikey12 .ai.lnk)
   36   22358 [main] ls 288 symlink_info::check: 0xC0000034 = NtQueryInformationFile (\??\C:\cygwin\home\Administrator\weird\Mikey12 .ai.exe.lnk)
   21   22379 [main] ls 288 symlink_info::check: 0 = symlink.check (C:\cygwin\home\Administrator\weird\Mikey12 .ai, 0x22B538) (0x3000A)
   18   22397 [main] ls 288 mount_info::conv_to_win32_path: conv_to_win32_path (/home/Administrator/weird)
   17   22414 [main] ls 288 set_flags: flags: binary (0x2)
   16   22430 [main] ls 288 mount_info::conv_to_win32_path: src_path /home/Administrator/weird, dst C:\cygwin\home\Administrator\weird, flags 0x3000A, rc 0
   39   22469 [main] ls 288 symlink_info::check: not a symlink
   44   22513 [main] ls 288 symlink_info::check: 0 = symlink.check (C:\cygwin\home\Administrator\weird, 0x22B538) (0x3000A)
   60   22573 [main] ls 288 path_conv::check: this->path(C:\cygwin\home\Administrator\weird\Mikey12 .ai), has_acls(1)
   22   22595 [main] ls 288 __set_errno: int stat_worker(path_conv&, __stat64*):1494 val 2
   17   22612 [main] ls 288 stat_worker: -1 = (\??\C:\cygwin\home\Administrator\weird\Mikey12 .ai, 0x6BB730)
  204   22816 [main] ls 288 fhandler_console::write: 22CD90, 2
   20   22836 [main] ls 288 fhandler_console::write: at 108(l) state is 0
   93   22929 [main] ls 288 fhandler_console::write: 2 = fhandler_console::write (,..2)
   54   22983 [main] ls 288 fhandler_console::write: 42015E, 2
   17   23000 [main] ls 288 fhandler_console::write: at 58(:) state is 0
   31   23031 [main] ls 288 fhandler_console::write: 2 = fhandler_console::write (,..2)
  171   23202 [main] ls 288 fhandler_console::write: 22BF98, 31
   18   23220 [main] ls 288 fhandler_console::write: at 99(c) state is 0
   38   23258 [main] ls 288 fhandler_console::write: 31 = fhandler_console::write (,..31)
   83   23341 [main] ls 288 fhandler_console::write: 420149, 2
   18   23359 [main] ls 288 fhandler_console::write: at 58(:) state is 0
   28   23387 [main] ls 288 fhandler_console::write: 2 = fhandler_console::write (,..2)
   46   23433 [main] ls 288 fhandler_console::write: 22C374, 25
   17   23450 [main] ls 288 fhandler_console::write: at 78(N) state is 0
   30   23480 [main] ls 288 fhandler_console::write: 25 = fhandler_console::write (,..25)
   81   23561 [main] ls 288 fhandler_console::write: 61149BF7, 1
   16   23577 [main] ls 288 fhandler_console::write: at 10(0x20) state is 0
   50   23627 [main] ls 288 fhandler_console::write: 1 = fhandler_console::write (,..1)
   96   23723 [main] ls 288 geterrno_from_win_error: windows error 18 == errno 89
   16   23739 [main] ls 288 fhandler_disk_file::readdir: 89 = readdir (0x6BE698, 0x22C914) (***)
   46   23785 [main] ls 288 fhandler_disk_file::closedir: 0 = closedir (0x6BE698, /home/Administrator/weird)
   59   23844 [main] ls 288 closedir: 0 = closedir (0x22CE64)
   70   23914 [main] ls 288 fhandler_base::fstat: here
   19   23933 [main] ls 288 fstat64: 0 = fstat (1, 0x22C968)
   43   23976 [main] ls 288 isatty: 1 = isatty (1)
   88   24064 [main] ls 288 fhandler_console::write: 6CDD28, 8
   16   24080 [main] ls 288 fhandler_console::write: at 116(t) state is 0
   51   24131 [main] ls 288 fhandler_console::write: 8 = fhandler_console::write (,..8)
  152   24283 [main] ls 288 sig_send: sendsig 0x748, pid 288, signal -34, its_me 1
   23   24306 [main] ls 288 sig_send: wakeup 0x6D4
   26   24332 [main] ls 288 sig_send: Waiting for pack.wakeup 0x6D4
   38   24370 [sig] ls 288 wait_sig: signalling pack.wakeup 0x6D4
   30   24400 [main] ls 288 sig_send: returning 0x0 from sending signal -34
   20   24420 [main] ls 288 open: open (/usr/share/zoneinfo/posixrules, 0x10000)
   21   24441 [main] ls 288 normalize_posix_path: src /usr/share/zoneinfo/posixrules
   18   24459 [main] ls 288 normalize_posix_path: /usr/share/zoneinfo/posixrules = normalize_posix_path (/usr/share/zoneinfo/posixrules)
   18   24477 [main] ls 288 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/share/zoneinfo/posixrules)
   19   24496 [main] ls 288 set_flags: flags: binary (0x2)
   17   24513 [main] ls 288 mount_info::conv_to_win32_path: src_path /usr/share/zoneinfo/posixrules, dst C:\cygwin\usr\share\zoneinfo\posixrules, flags 0x3000A, rc 0
   72   24585 [main] ls 288 symlink_info::check: not a symlink
   29   24614 [main] ls 288 symlink_info::check: 0 = symlink.check (C:\cygwin\usr\share\zoneinfo\posixrules, 0x2271E8) (0x3000A)
   19   24633 [main] ls 288 path_conv::check: this->path(C:\cygwin\usr\share\zoneinfo\posixrules), has_acls(1)
   22   24655 [main] ls 288 build_fh_pc: fh 0x61209D54
   20   24675 [main] ls 288 fhandler_base::open: (\??\C:\cygwin\usr\share\zoneinfo\posixrules, 0x110000)
   33   24708 [main] ls 288 fhandler_base::set_flags: flags 0x110000, supplied_bin 0x10000
   19   24727 [main] ls 288 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   16   24743 [main] ls 288 fhandler_base::set_flags: filemode set to binary
   16   24759 [main] ls 288 fhandler_base::open: 0 = NtCreateFile (0x6D4, 80100000, \??\C:\cygwin\usr\share\zoneinfo\posixrules, io, NULL, 0, 7, 1, 4020, NULL, 0)
   18   24777 [main] ls 288 fhandler_base::open: 1 = fhandler_base::open (\??\C:\cygwin\usr\share\zoneinfo\posixrules, 0x110000)
   22   24799 [main] ls 288 fhandler_base::open_fs: 1 = fhandler_disk_file::open (\??\C:\cygwin\usr\share\zoneinfo\posixrules, 0x10000)
   90   24889 [main] ls 288 open: 3 = open (/usr/share/zoneinfo/posixrules, 0x10000)
   22   24911 [main] ls 288 readv: readv (3, 0x2285B4, 1) blocking, sigcatchers 0
   18   24929 [main] ls 288 readv: no need to call ready_for_read
   65   24994 [main] ls 288 fhandler_base::read: returning 3519, binary mode
   20   25014 [main] ls 288 readv: 3519 = readv (3, 0x2285B4, 1), errno 0
   17   25031 [main] ls 288 close: close (3)
   17   25048 [main] ls 288 fhandler_base::close: closing '/usr/share/zoneinfo/posixrules' handle 0x6D4
   24   25072 [main] ls 288 close: 0 = close (3)
  145   25217 [main] ls 288 fhandler_console::write: 6CDD28, 44
   18   25235 [main] ls 288 fhandler_console::write: at 45(-) state is 0
  110   25345 [main] ls 288 fhandler_console::write: 44 = fhandler_console::write (,..44)
  162   25507 [main] ls 288 close: close (1)
   31   25538 [main] ls 288 init_cygheap::manage_console_count: fhandler_console::close: console_count 2, amount -1, ctty /dev/console, avoid_freeing_console 0
   21   25559 [main] ls 288 close: 0 = close (1)
  128   25687 [main] ls 288 close: close (2)
   26   25713 [main] ls 288 init_cygheap::manage_console_count: fhandler_console::close: console_count 1, amount -1, ctty /dev/console, avoid_freeing_console 0
   20   25733 [main] ls 288 close: 0 = close (2)
  176   25909 [main] ls 288 close: close (0)
   28   25937 [main] ls 288 init_cygheap::manage_console_count: fhandler_console::close: console_count 0, amount -1, ctty /dev/console, avoid_freeing_console 0
   20   25957 [main] ls 288 close: 0 = close (0)
   69   26026 [main] ls 288 do_exit: do_exit (256), exit_state 0
   19   26045 [main] ls 288 void: 0x0 = signal (20, 0x1)
   18   26063 [main] ls 288 void: 0x0 = signal (1, 0x1)
   15   26078 [main] ls 288 void: 0x0 = signal (2, 0x1)
   15   26093 [main] ls 288 void: 0x0 = signal (3, 0x1)
   38   26131 [main] ls 288 sigproc_terminate: entering
   17   26148 [main] ls 288 sig_send: sendsig 0x748, pid 288, signal -42, its_me 1
   24   26172 [main] ls 288 sig_send: Not waiting for sigcomplete.  its_me 1 signal -42
   18   26190 [main] ls 288 sig_send: returning 0x0 from sending signal -42
   17   26207 [main] ls 288 proc_terminate: nprocs 0
   16   26223 [main] ls 288 proc_terminate: leaving
   21   26244 [main] ls 288 __to_clock_t: dwHighDateTime 0, dwLowDateTime 156250
   19   26263 [main] ls 288 __to_clock_t: total 00000000 0000000F
   18   26281 [main] ls 288 __to_clock_t: dwHighDateTime 0, dwLowDateTime 156250
   16   26297 [main] ls 288 __to_clock_t: total 00000000 0000000F
  168   26465 [sig] ls 288 wait_sig: saw __SIGEXIT
   29   26494 [sig] ls 288 wait_sig: signal thread exiting
  291   26785 [main] ls 288 pinfo::exit: Calling ExitProcess n 0x100, exitcode 0x1


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

Re: Removed 1.5.25 and installed 1.7.0, but still cannot access filenames containing Unicode

by Corinna Vinschen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Oct 28 12:58, Steven Monai wrote:
> Corinna Vinschen wrote:
> > I'm seriously puzzled.  Could you please run
> >
> >   $ strace -o ls.trace ls -l weird/
> >
> > and send the ls.trace file as attachment?  Maybe there's some hint
> > in it.
>
> Done.

Thanks.  Unfortunately it's not very helpful to figure out what the
problem is on your machine.  Can I send you a link to another Cygwin
DLL in private email, which I tweaked to get better debug output?


Thanks,
Corinna

--
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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


Re: Removed 1.5.25 and installed 1.7.0, but still cannot access filenames containing Unicode

by Steven Monai-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Corinna Vinschen wrote:
> Can I send you a link to another Cygwin
> DLL in private email, which I tweaked to get better debug output?

Yes, of course.

I greatly appreciate your interest in trying to resolve this problem.

-SM
--


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


SOLVED: Removed 1.5.25 and installed 1.7.0, but still cannot access filenames containing Unicode

by Steven Monai-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Corinna Vinschen wrote:
>>    22   12422 [main] ls 1300 fhandler_disk_file::readdir_helper: wchar filename: "Mikey12\xf020.ai"
>
> That's the problem.  The character in that file is *not* U+0323, but
> U+f020, a character in the Unicode private use range, which is used in
> Cygwin to map ASCII characters invalid in Windows filenames but valid
> in POSIX filenames.  It's also used to map multibyte characters > 0x80
> which are invalid in the current charset.  

Thanks for diagnosing my problem. My assumption that the char was U+0323
was based on scrolling through the Windows Character Map app for
something that visually matched what I was seeing in the filename. Not
having any other way to quantify the char, I jumped to an incorrect
conclusion.

This also explains why my test on another machine produced the correct
result. Instead of actually copying the troublesome file over to that
machine, I lazily created a filename there containing the char (U+0323)
I presumed to be causing trouble on the first machine. I have since
verified that the char U+0323 works fine in filenames on all my Cygwin
1.7 boxes, while the char U+f020 fails on all of them.

> You must not use characters
> in this range from U+f000 up to U+f0ff.  There's no solution to this
> except for "don't use these characters in filenames if they are not
> explicitely written there by either Cygwin or Microsoft's SUA".

The above two sentences should probably go into the UG.

> See http://cygwin.com/1.7/cygwin-ug-net/using-specialnames.html#pathnames-specialchars

That section of the UG only says that certain special chars are mapped
by Cygwin into the 0xf000 to 0xf0ff range. It does not explicitly say
that Cygwin may not be able to deal with filenames containing arbitrary
chars from that range, hence my suggestion that the UG be updated.

Thanks again,
-SM
--


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


Re: SOLVED: Removed 1.5.25 and installed 1.7.0, but still cannot access filenames containing Unicode

by Andy Koppe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/10/31 Steven Monai:

>> That's the problem.  The character in that file is *not* U+0323, but
>> U+f020, a character in the Unicode private use range, which is used in
>> Cygwin to map ASCII characters invalid in Windows filenames but valid
>> in POSIX filenames.  It's also used to map multibyte characters > 0x80
>> which are invalid in the current charset.
>
> Thanks for diagnosing my problem. My assumption that the char was U+0323
> was based on scrolling through the Windows Character Map app for
> something that visually matched what I was seeing in the filename. Not
> having any other way to quantify the char, I jumped to an incorrect
> conclusion.

Any idea how that U+f020 character had got in there in the first place?

>> You must not use characters
>> in this range from U+f000 up to U+f0ff.  There's no solution to this
>> except for "don't use these characters in filenames if they are not
>> explicitely written there by either Cygwin or Microsoft's SUA".

Actually there is a possible solution: when translating a U+F0xx
character, first check whether the xx byte really is illegal in the
target charset. If it's not, it won't roundtrip correctly, so encode
the U+F0xx as a ^X sequence instead. Doesn't seem worth the effort
though.

Andy

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


Re: SOLVED: Removed 1.5.25 and installed 1.7.0, but still cannot access filenames containing Unicode

by Steven Monai-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andy Koppe wrote:
> Any idea how that U+f020 character had got in there in the first place?

Someone probably discovered the Windows Character Map app, and decided
it would be fun to put some weird chars into their filenames. I guess
I'll have to ask my colleagues not to use chars from the Unicode private
use range (U+f000 to U+f0ff) when they do this.

-SM
--


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


Re: SOLVED: Removed 1.5.25 and installed 1.7.0, but still cannot access filenames containing Unicode

by Corinna Vinschen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Oct 31 20:33, Andy Koppe wrote:

> >> You must not use characters
> >> in this range from U+f000 up to U+f0ff.  There's no solution to this
> >> except for "don't use these characters in filenames if they are not
> >> explicitely written there by either Cygwin or Microsoft's SUA".
>
> Actually there is a possible solution: when translating a U+F0xx
> character, first check whether the xx byte really is illegal in the
> target charset. If it's not, it won't roundtrip correctly, so encode
> the U+F0xx as a ^X sequence instead. Doesn't seem worth the effort
> though.

I was contemplating this over the weekend.  I just applied a patch to
do this.  I tested this with various filenames containing all sorts
of characters, including f000, which would represent an ASCII NUL, if
used wrongly.


Corinna

--
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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


Re: SOLVED: Removed 1.5.25 and installed 1.7.0, but still cannot access filenames containing Unicode

by Andy Koppe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/11/2 Corinna Vinschen:

>> >> You must not use characters
>> >> in this range from U+f000 up to U+f0ff.  There's no solution to this
>> >> except for "don't use these characters in filenames if they are not
>> >> explicitely written there by either Cygwin or Microsoft's SUA".
>>
>> Actually there is a possible solution: when translating a U+F0xx
>> character, first check whether the xx byte really is illegal in the
>> target charset. If it's not, it won't roundtrip correctly, so encode
>> the U+F0xx as a ^X sequence instead. Doesn't seem worth the effort
>> though.
>
> I was contemplating this over the weekend.  I just applied a patch to
> do this.  I tested this with various filenames containing all sorts
> of characters, including f000, which would represent an ASCII NUL, if
> used wrongly.

I've had a look at the patch. It improves roundtrip transparency for
Windows filenames at the cost of reduced transparency for POSIX
filenames.

Single U+F0xx's are now fine, but sequences of them still will not
necessarily roundtrip correctly, e.g., with a UTF-8 locale:

U+F0C3 U+F084 -> 0xC3 0x84 -> U+00C4  ('Ä')

And U+F0xx's on the POSIX side now won't roundtrip if they get mapped
to single bytes on the way back, e.g:

0xEF 0x80 0x8A -> U+F00A -> 0x0A  (newline)
0xEF 0x81 0xBC -> U+F07C -> 0x7C (pipe)
0xEF 0x82 0x80 -> U+F080 -> 0x80 (invalid UTF-8)

Andy

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


Re: SOLVED: Removed 1.5.25 and installed 1.7.0, but still cannot access filenames containing Unicode

by Corinna Vinschen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Nov  2 19:16, Andy Koppe wrote:

> 2009/11/2 Corinna Vinschen:
> >> >> You must not use characters
> >> >> in this range from U+f000 up to U+f0ff.  There's no solution to this
> >> >> except for "don't use these characters in filenames if they are not
> >> >> explicitely written there by either Cygwin or Microsoft's SUA".
> >>
> >> Actually there is a possible solution: when translating a U+F0xx
> >> character, first check whether the xx byte really is illegal in the
> >> target charset. If it's not, it won't roundtrip correctly, so encode
> >> the U+F0xx as a ^X sequence instead. Doesn't seem worth the effort
> >> though.
> >
> > I was contemplating this over the weekend.  I just applied a patch to
> > do this.  I tested this with various filenames containing all sorts
> > of characters, including f000, which would represent an ASCII NUL, if
> > used wrongly.
>
> I've had a look at the patch. It improves roundtrip transparency for
> Windows filenames at the cost of reduced transparency for POSIX
> filenames.
>
> Single U+F0xx's are now fine, but sequences of them still will not
> necessarily roundtrip correctly, e.g., with a UTF-8 locale:
>
> U+F0C3 U+F084 -> 0xC3 0x84 -> U+00C4  ('Ä')
>
> And U+F0xx's on the POSIX side now won't roundtrip if they get mapped
> to single bytes on the way back, e.g:
>
> 0xEF 0x80 0x8A -> U+F00A -> 0x0A  (newline)
> 0xEF 0x81 0xBC -> U+F07C -> 0x7C (pipe)
> 0xEF 0x82 0x80 -> U+F080 -> 0x80 (invalid UTF-8)

Yes, you cannot have everything.  Keep in mind that U+F0xx sequences
with xx >= 0x80 are representing invalid multibyte bytes anyway.  It's
still not such a great idea to use the characters in this range for
anoher purpose.


Corinna

--
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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