diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2009-06-13 15:56:52 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2009-06-13 15:56:52 -0400 |
commit | b818f048bb5edca2bde3b33fdbe7e42451eb3c6e (patch) | |
tree | 72d7765f8e0285ed385c32f22ed1a0268520ef57 | |
parent | 6a7dc7d9c3df7d5d722f0702a0a0c8d55591006e (diff) | |
download | systemtap-steved-b818f048bb5edca2bde3b33fdbe7e42451eb3c6e.tar.gz systemtap-steved-b818f048bb5edca2bde3b33fdbe7e42451eb3c6e.tar.xz systemtap-steved-b818f048bb5edca2bde3b33fdbe7e42451eb3c6e.zip |
PR10277: fix \octal escaping of utf-8 characters in path names etc.
* util.h (lex_cast_qstring): Use unsigned rather than signed chars.
-rw-r--r-- | util.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -70,7 +70,7 @@ lex_cast_qstring(IN const & in) out2 += '"'; for (unsigned i=0; i<out.length(); i++) { - char c = out[i]; + unsigned char c = out[i]; if (! isprint(c)) { out2 += '\\'; |