Date: Mon, 7 Dec 2015 21:13:59 +1100 From: Kubilay Kocak <koobs@FreeBSD.org> To: Pietro Cerutti <gahr@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org, owner-ports-committers@freebsd.org Subject: Re: svn commit: r403189 - head/devel/avro-cpp/files Message-ID: <56655BE7.4060204@FreeBSD.org> In-Reply-To: <1043f22a0733ab6b2a5f7ce5a70db6e2@gahr.ch> References: <201512070916.tB79G0up074182@repo.freebsd.org> <5665501B.1040709@FreeBSD.org> <1043f22a0733ab6b2a5f7ce5a70db6e2@gahr.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
On 7/12/2015 8:55 PM, Pietro Cerutti wrote: > On 2015-12-07 10:23, Kubilay Kocak wrote: >> On 7/12/2015 8:16 PM, Pietro Cerutti wrote: >>> 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)); >>> >> >> Good MFH candidate? > > Go ahead :) > Every one should practice :)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56655BE7.4060204>