diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2015-12-07 09:16:00 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2015-12-07 09:16:00 +0000 |
commit | 8ccc21607bdb3acacfd9e4355b34fa53c9e86949 (patch) | |
tree | 64fa72923eb206b5935ab6ed98e2c27a7f65970d | |
parent | 8277f6638ef00a633967dce86ff87f5f9b437ab5 (diff) | |
download | freebsd-ports-8ccc21607bdb3acacfd9e4355b34fa53c9e86949.zip |
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
-rw-r--r-- | devel/avro-cpp/files/patch-impl_json_JsonIO.hh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/avro-cpp/files/patch-impl_json_JsonIO.hh b/devel/avro-cpp/files/patch-impl_json_JsonIO.hh new file mode 100644 index 000000000000..ee3df3f4b6ae --- /dev/null +++ b/devel/avro-cpp/files/patch-impl_json_JsonIO.hh @@ -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)); |