• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/corennnnn


Commit MetaInfo

修訂16d46d081d1161f0c3807f680c1bcbdbaefaff77 (tree)
時間2016-07-27 03:54:20
作者Mark Salyzyn <salyzyn@goog...>
CommiterJaap Jan Meijer

Log Message

liblog: logprint: printable nul

Change-Id: I57d1f86ce040ad196c558bb72ac0464af793c214

Change Summary

差異

--- a/liblog/logprint.c
+++ b/liblog/logprint.c
@@ -774,7 +774,7 @@ WEAK ssize_t utf8_character_length(const char *src, size_t len)
774774 uint32_t utf32;
775775
776776 if ((first_char & 0x80) == 0) { /* ASCII */
777- return 1;
777+ return first_char ? 1 : -1;
778778 }
779779
780780 /*