Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jul 2016 17:10:10 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r303398 - stable/11/contrib/elftoolchain/libelftc
Message-ID:  <201607271710.u6RHAAGw011780@repo.freebsd.org>

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



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