commit | e526127cbd2f8ad88fb41229df0c9b850c722830 | [log] [tgz] |
---|---|---|
author | Darren Tucker <dtucker@dtucker.net> | Fri Oct 12 16:43:35 2018 +1100 |
committer | Darren Tucker <dtucker@dtucker.net> | Fri Oct 12 16:43:35 2018 +1100 |
tree | 75c38b21102ba2980c33e101fb4f4c018c78522a | |
parent | cf39f875191708c5f2f1a3c1c9019f106e74aea3 [diff] |
Check if snprintf understands %zu. If the platforms snprintf and friends don't understand %zu, use the compat replacement. Prevents segfaults on those platforms.