components/bash/patches/solaris-008.xmbsrtowcs.c.patch
branchs11u3-sru
changeset 7627 4758b76d5ad5
parent 7623 d89b1c5817f5
child 7628 409696918882
--- a/components/bash/patches/solaris-008.xmbsrtowcs.c.patch	Fri Jan 27 15:04:39 2017 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
---- lib/glob/xmbsrtowcs.c	2008-08-12 10:17:54.000000000 -0400
-+++ lib/glob/xmbsrtowcs.c	2009-08-10 15:46:18.000000000 -0400
-@@ -30,7 +30,7 @@
- #if HANDLE_MULTIBYTE
- 
- #ifndef FREE
--#  define FREE(x)	do { if (x) free (x); } while (0)
-+#  define FREE(x)	do { if (x) free (x);  x = 0; } while (0)
- #endif
- /* On some locales (ex. ja_JP.sjis), mbsrtowc doesn't convert 0x5c to U<0x5c>.
-    So, this function is made for converting 0x5c to U<0x5c>. */