svn commit: r303398 - stable/11/contrib/elftoolchain/libelftc

Ed Maste emaste at FreeBSD.org
Wed Jul 27 17:10:11 UTC 2016


Author: emaste
Date: Wed Jul 27 17:10:09 2016
New Revision: 303398
URL: https://svnweb.freebsd.org/changeset/base/303398

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

Modified:
  stable/11/contrib/elftoolchain/libelftc/libelftc_dem_gnu3.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/contrib/elftoolchain/libelftc/libelftc_dem_gnu3.c
==============================================================================
--- stable/11/contrib/elftoolchain/libelftc/libelftc_dem_gnu3.c	Wed Jul 27 16:46:48 2016	(r303397)
+++ stable/11/contrib/elftoolchain/libelftc/libelftc_dem_gnu3.c	Wed Jul 27 17:10:09 2016	(r303398)
@@ -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;


More information about the svn-src-stable mailing list