[haiku-commits] r34154 - haiku/trunk/src/bin/coreutils/src

  • From: axeld@xxxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 20 Nov 2009 12:58:17 +0100 (CET)

Author: axeld
Date: 2009-11-20 12:58:17 +0100 (Fri, 20 Nov 2009)
New Revision: 34154
Changeset: http://dev.haiku-os.org/changeset/34154/haiku

Modified:
   haiku/trunk/src/bin/coreutils/src/ls.c
Log:
* This is a temporary work-around to let "ls" show UTF-8 characters, even
  though it won't determine the correct display width.
* The actual fix would be to have the wide character API working, though.


Modified: haiku/trunk/src/bin/coreutils/src/ls.c
===================================================================
--- haiku/trunk/src/bin/coreutils/src/ls.c      2009-11-20 11:26:15 UTC (rev 
34153)
+++ haiku/trunk/src/bin/coreutils/src/ls.c      2009-11-20 11:58:17 UTC (rev 
34154)
@@ -1520,7 +1520,9 @@
         {
           format = many_per_line;
           /* See description of qmark_funny_chars, above.  */
+#ifndef __HAIKU__
           qmark_funny_chars = true;
+#endif
         }
       else
         {


Other related posts: