diff options
author | emaste <emaste@FreeBSD.org> | 2016-07-27 17:10:09 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2016-07-27 17:10:09 +0000 |
commit | ffa9fc325a05f754c4b9e308380e8cb736fab985 (patch) | |
tree | 726c25418359bf43fbeb7bc0f990a4be2bb27e19 /contrib/elftoolchain | |
parent | 517f927ed58cc518b447d657c1b30dcf4547c4f3 (diff) | |
download | FreeBSD-src-ffa9fc325a05f754c4b9e308380e8cb736fab985.zip FreeBSD-src-ffa9fc325a05f754c4b9e308380e8cb736fab985.tar.gz |
MFC r303279: libelftc: fix demangling of wchar_t
"wchar_t" is 7 characters long, not 6.
PR: 208661
Submitted by: Daniel McRobb
Approved by: re (kib)
Obtained from: ELF Tool Chain r3480
Diffstat (limited to 'contrib/elftoolchain')
-rw-r--r-- | contrib/elftoolchain/libelftc/libelftc_dem_gnu3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/elftoolchain/libelftc/libelftc_dem_gnu3.c b/contrib/elftoolchain/libelftc/libelftc_dem_gnu3.c index 7409363..cb73ad3 100644 --- a/contrib/elftoolchain/libelftc/libelftc_dem_gnu3.c +++ b/contrib/elftoolchain/libelftc/libelftc_dem_gnu3.c @@ -2551,7 +2551,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; |