summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2016-08-01 16:16:48 +0000
committeremaste <emaste@FreeBSD.org>2016-08-01 16:16:48 +0000
commitfa63f081edf3aec7a0e3fc9d981e6b032b70553d (patch)
treede5b13eb32dac580713a544555f64b2bcc33ede2
parent149ca8a20eb68bec247117dbbf71ad671af73407 (diff)
downloadFreeBSD-src-fa63f081edf3aec7a0e3fc9d981e6b032b70553d.zip
FreeBSD-src-fa63f081edf3aec7a0e3fc9d981e6b032b70553d.tar.gz
MFC r303400: libcxxrt: fix demangling of wchar_t
'wchar_t' is 7 characters long, not 6. r303297 fixed this (in head) in libelftc, but not the second copy of this file that we have in libcxxrt. PR: 208661
-rw-r--r--contrib/libcxxrt/libelftc_dem_gnu3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libcxxrt/libelftc_dem_gnu3.c b/contrib/libcxxrt/libelftc_dem_gnu3.c
index 70ef3e8..2b38c73 100644
--- a/contrib/libcxxrt/libelftc_dem_gnu3.c
+++ b/contrib/libcxxrt/libelftc_dem_gnu3.c
@@ -2842,7 +2842,7 @@ again:
case 'w':
/* wchar_t */
- if (!cpp_demangle_push_str(ddata, "wchar_t", 6))
+ if (!cpp_demangle_push_str(ddata, "wchar_t", 7))
goto clean;
++ddata->cur;
goto rtn;
OpenPOWER on IntegriCloud