svn commit: r303279 - head/contrib/elftoolchain/libelftc

Ed Maste emaste at FreeBSD.org
Sun Jul 24 23:40:35 UTC 2016


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;


More information about the svn-src-all mailing list