Author: emaste
Date: Sun Jul 24 23:40:33 2016
New Revision: 303279
URL: https://svnweb.freebsd.org/changeset/base/303279

Log:
  libelftc: fix demangling of wchar_t
  
  "wchar_t" is 7 characters long, not 6.
  
  PR:           208661
  Submitted by: Daniel McRobb
  Obtained from:        ELF Tool Chain r3480
  MFC after:    3 days

Modified:
  head/contrib/elftoolchain/libelftc/libelftc_dem_gnu3.c

Modified: head/contrib/elftoolchain/libelftc/libelftc_dem_gnu3.c
==============================================================================
--- head/contrib/elftoolchain/libelftc/libelftc_dem_gnu3.c      Sun Jul 24 
20:54:30 2016        (r303278)
+++ head/contrib/elftoolchain/libelftc/libelftc_dem_gnu3.c      Sun Jul 24 
23:40:33 2016        (r303279)
@@ -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;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to