[dovecot/core] 92cb1e: lib: printf_format_fix*() - Use the same 4 digits ...
GitHub
noreply at github.com
Thu Oct 19 18:30:09 EEST 2017
Branch: refs/heads/master
Home: https://github.com/dovecot/core
Commit: 92cb1ef4f68f48c4b58d3949edb952158024af9d
https://github.com/dovecot/core/commit/92cb1ef4f68f48c4b58d3949edb952158024af9d
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2017-10-19 (Thu, 19 Oct 2017)
Changed paths:
M src/lib/printf-format-fix.c
M src/lib/test-printf-format-fix.c
Log Message:
-----------
lib: printf_format_fix*() - Use the same 4 digits as maximum precision length
I forgot the precision can also be used to truncate strings, not just
specify the precision for floating point numbers. So it makes more sense
that the limit is the same as for minimum field width.
Commit: 686a3be710a464396cbfbc7b05eaa7fe16f3cd1c
https://github.com/dovecot/core/commit/686a3be710a464396cbfbc7b05eaa7fe16f3cd1c
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2017-10-19 (Thu, 19 Oct 2017)
Changed paths:
M src/lib/printf-format-fix.c
Log Message:
-----------
lib: printf_format_fix*() - Move minimum field width check to its own function
Commit: 85174bd658f999cb3aa145885fd85674f8595fbb
https://github.com/dovecot/core/commit/85174bd658f999cb3aa145885fd85674f8595fbb
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2017-10-19 (Thu, 19 Oct 2017)
Changed paths:
M src/lib/printf-format-fix.c
M src/lib/test-printf-format-fix.c
Log Message:
-----------
lib: printf_format_fix*() - Support '*' in precision
We're commonly using "%.*s"
Compare: https://github.com/dovecot/core/compare/6d1372638a3e...85174bd658f9
More information about the dovecot-cvs
mailing list