#8071: ls bug compairing filenames with certain chars -----------------------+------------------------- Reporter: ribbonz | Owner: nobody Type: bug | Status: new Priority: normal | Milestone: R1 Component: - General | Version: R1/alpha3 Keywords: | Blocked By: Blocking: | Has a Patch: 0 Platform: x86 | -----------------------+------------------------- This is probably just an ls bug, but I'm adding a ticket just in case. Here's the output from Terminal that gives a simple way to produce the error: ~> mkdir tmp[[br]] ~> cd tmp[[br]] ~/tmp> touch 'Efigênia' [[br]] ~/tmp> ll[[br]] total 2[[br]] -rw-r--r-- 1 user root 0 Oct 30 12:50 Efigênia[[br]] ~/tmp> touch abc[[br]] ~/tmp> ll[[br]] ls: cannot compare file names 'Efig\303\252nia' and 'abc': Invalid Argument[[br]] total 4[[br]] -rw-r--r-- 1 user root 0 Oct 30 12:50 Efigênia[[br]] -rw-r--r-- 1 user root 0 Oct 30 12:51 abc[[br]] ~/tmp> ls --version[[br]] ls (GNU coreutils) 8.4[[br]] Copyright (C) 2010 Free Software Foundation, Inc.[[br]] License GPLv3+: GNU GPL version 3 or later [[br]]<http://gnu.org/licenses/gpl.html>.[[br]] This is free software: you are free to change and redistribute it.[[br]] There is NO WARRANTY, to the extent permitted by law.[[br]] Written by Richard M. Stallman and David MacKenzie.[[br]] ~/tmp> uname -a[[br]] Haiku shredder 1 42211 Jun 18 2011 08:26:42 BePC Haiku[[br]] ~/tmp> [[br]] The "cannot compare file names..." error message came up after I had downloaded a jpeg file that had 'Efigênia' as part of the name. I'm using a stock alpha3. I don't know if coreutils has been updated since then (I'm guessing not). -- Ticket URL: <http://dev.haiku-os.org/ticket/8071> Haiku <http://dev.haiku-os.org> Haiku - the operating system.