bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug due to multi-byte to wchar macro - PATCH


From: Sunil
Subject: Bug due to multi-byte to wchar macro - PATCH
Date: Sun, 22 Feb 2004 12:07:37 -0800 (PST)

Hi,

coreutils compile failed on solaris 2.6 because
MBRTOWC is not defined. Its just about parenthesis in
wrong place and because on GNU systems MBRTOWC is
defined, th e code compiles.

############### PATCH BEGIN ################

--- src/cut.c.ORG       2004-02-08 16:25:32.888099000
-0800
+++ src/cut.c   2004-02-08 16:19:54.673963000 -0800
@@ -1207,8 +1207,8 @@
       mbdelim[0] = '\t';
       mbdelim[1] = '\0';
       delimlen = 1;
-    }
 #endif
+    }

   if (output_delimiter_string == NULL)
     {
--- src/join.c.ORG      2004-02-08 16:25:54.958277000
-0800
+++ src/join.c  2004-02-08 16:22:04.945347000 -0800
@@ -1069,8 +1069,8 @@
                tablen = 1;
            }
          else
-           {
 #endif
+           {
              tablen = 1;
            }
          break;

############### PATCH BEGIN ################



__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools




reply via email to

[Prev in Thread] Current Thread [Next in Thread]