]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/LibC/Stdio/fputwc.c
StdLib: Add multi-byte character support. The normal "narrow" character set is now...
[mirror_edk2.git] / StdLib / LibC / Stdio / fputwc.c
index 8bbd407362f3346801047380132b9cbdaa074567..76ed839203a02f234acce350f8674f4fa5f9cdd9 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-    Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>\r
+    Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>\r
     This program and the accompanying materials are licensed and made available\r
     under the terms and conditions of the BSD License that accompanies this\r
     distribution.  The full text of the license may be found at\r
@@ -81,7 +81,6 @@ __fputwc_unlock(wchar_t wc, FILE *fp)
 \r
   size = wcrtomb(buf, wc, st);\r
   if (size == (size_t)-1) {\r
-    errno = EILSEQ;\r
     return WEOF;\r
   }\r
 \r