mirror of
https://git.freebsd.org/ports.git
synced 2025-06-19 19:50:31 -04:00
PR: 204991 Submitted by: gahr Approved by: maintainer Obtained from: https://issues.apache.org/jira/browse/AVRO-1191
11 lines
409 B
C++
11 lines
409 B
C++
--- 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));
|