FreeBSD Bugzilla – Attachment 163810 Details for
Bug 204991
devel/avro-cpp: correct escaping of Unicode characters
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Correct escape of Unicode character
avro-cpp-escape.diff.txt (text/plain), 995 bytes, created by
Pietro Cerutti
on 2015-12-03 10:45:24 UTC
(
hide
)
Description:
Correct escape of Unicode character
Filename:
MIME Type:
Creator:
Pietro Cerutti
Created:
2015-12-03 10:45:24 UTC
Size:
995 bytes
patch
obsolete
>Index: files/patch-impl_json_JsonIO.hh >=================================================================== >--- files/patch-impl_json_JsonIO.hh (nonexistent) >+++ files/patch-impl_json_JsonIO.hh (working copy) >@@ -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)); > >Property changes on: files/patch-impl_json_JsonIO.hh >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 204991
: 163810