Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Dec 2015 09:16:00 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r403189 - head/devel/avro-cpp/files
Message-ID:  <201512070916.tB79G0up074182@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Mon Dec  7 09:16:00 2015
New Revision: 403189
URL: https://svnweb.freebsd.org/changeset/ports/403189

Log:
  devel/avro-cpp - fix escaping of unicode characters
  
  PR:		204991
  Submitted by:	gahr
  Approved by:	maintainer
  Obtained from:	https://issues.apache.org/jira/browse/AVRO-1191

Added:
  head/devel/avro-cpp/files/patch-impl_json_JsonIO.hh   (contents, props changed)

Added: head/devel/avro-cpp/files/patch-impl_json_JsonIO.hh
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/avro-cpp/files/patch-impl_json_JsonIO.hh	Mon Dec  7 09:16:00 2015	(r403189)
@@ -0,0 +1,11 @@
+--- impl/json/JsonIO.hh.orig	2015-12-02 18:53:55 UTC
++++ impl/json/JsonIO.hh
+@@ -159,7 +159,7 @@ class AVRO_DECL JsonGenerator {
+ 
+     void escapeCtl(char c) {
+         out_.write('\\');
+-        out_.write('U');
++        out_.write('u'); // https://issues.apache.org/jira/browse/AVRO-1191
+         out_.write('0');
+         out_.write('0');
+         out_.write(toHex((static_cast<unsigned char>(c)) / 16));



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