svn commit: r403189 - head/devel/avro-cpp/files

Kubilay Kocak koobs at FreeBSD.org
Mon Dec 7 10:14:06 UTC 2015


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 :)


More information about the svn-ports-head mailing list