Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jul 2016 23:40:34 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r303279 - head/contrib/elftoolchain/libelftc
Message-ID:  <201607242340.u6ONeYwD015720@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607242340.u6ONeYwD015720>