commit | b45a175cdc1fa00245ba13031b54d27074653f31 | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Tue Feb 28 09:20:31 2017 -0800 |
committer | Mark Salyzyn <salyzyn@google.com> | Wed Mar 01 08:48:33 2017 -0800 |
tree | 2cf1cb9c0d3175adc76559bff6626286d4d76251 | |
parent | de022a841f61b8aae1abadb46755867da5e4f2df [diff] |
liblogcat: -v and ${ANDROID_PRINTF_LOG} support comma separated list Deal with yet another reentrancy issue with strtok() and do not treat optarg as fungible data, allocate a temporary copy. Add support in the -v flag and environmental variable ANDROID_PRINTF_LOG for a comma-separated list of format and format modifiers. Test: manual + gTest logcat-unit-tests Bug: 35326290 Change-Id: I073e5676d59ba41bfd36df86942342766ef730f1