mirror of https://github.com/djcb/mu.git
1db7c5e263
When this function is declared const or pure, clang at -O1 or higher optimizes away the call to mu_str_size_s() inside mu_str_size(), so that it ignores its argument and returns whatever is in mu_str_size_s()'s static buffer. Found when test-mu-str failed while testing an update of mu in OpenBSD's ports tree. |
||
---|---|---|
.. | ||
Makefile.am | ||
mu-command-parser.cc | ||
mu-command-parser.hh | ||
mu-date.c | ||
mu-date.h | ||
mu-error.hh | ||
mu-log.c | ||
mu-log.h | ||
mu-sexp-parser.cc | ||
mu-sexp-parser.hh | ||
mu-str.c | ||
mu-str.h | ||
mu-util.c | ||
mu-util.h | ||
mu-utils.cc | ||
mu-utils.hh | ||
test-command-parser.cc | ||
test-mu-str.c | ||
test-mu-util.c | ||
test-sexp-parser.cc | ||
test-utils.cc |