Author: emaste
Date: Mon Aug  1 16:16:48 2016
New Revision: 303618
URL: https://svnweb.freebsd.org/changeset/base/303618

Log:
  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

Modified:
  stable/10/contrib/libcxxrt/libelftc_dem_gnu3.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/contrib/libcxxrt/libelftc_dem_gnu3.c
==============================================================================
--- stable/10/contrib/libcxxrt/libelftc_dem_gnu3.c      Mon Aug  1 16:03:20 
2016        (r303617)
+++ stable/10/contrib/libcxxrt/libelftc_dem_gnu3.c      Mon Aug  1 16:16:48 
2016        (r303618)
@@ -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;
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to