commit | d5920027414d01cee0de1e6aea1db5f9b3ea2fce | [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 | d2b474024f1faf6968923327f5e736072c3dc7d8 | |
parent | e5f043c60547b0ed4869fa75377f3181e8e3a6f5 [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