svn commit: r303619 - stable/11/contrib/libcxxrt

Ed Maste emaste at FreeBSD.org
Mon Aug 1 16:18:02 UTC 2016


Author: emaste
Date: Mon Aug  1 16:18:01 2016
New Revision: 303619
URL: https://svnweb.freebsd.org/changeset/base/303619

Log:
  iMFC r303400: libcxxrt: fix demangling of wchar_t
  
  'wchar_t' is 7 characters long, not 6. r303297 (MFC'd in r303398) fixed
  this in libelftc, but not the second copy of this file that we have in
  libcxxrt.
  
  PR:		208661
  Approved by:	re (gjb)

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

Modified: stable/11/contrib/libcxxrt/libelftc_dem_gnu3.c
==============================================================================
--- stable/11/contrib/libcxxrt/libelftc_dem_gnu3.c	Mon Aug  1 16:16:48 2016	(r303618)
+++ stable/11/contrib/libcxxrt/libelftc_dem_gnu3.c	Mon Aug  1 16:18:01 2016	(r303619)
@@ -2842,7 +2842,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