summaryrefslogtreecommitdiff
path: root/build-aux/gcc-warning.spec
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2014-08-31 19:19:44 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2014-08-31 19:21:56 -0700
commit1f5bc60c497c2b801681a3362c214fcf6a68f24a (patch)
tree9d136f4f6865f62c69559f9e63aef8c52c1176f0 /build-aux/gcc-warning.spec
parentc8842e6a275c7db033b14197d7dcb7de2b8d23b5 (diff)
downloadgnulib-1f5bc60c497c2b801681a3362c214fcf6a68f24a.tar.gz
vasnprintf: fix bugs in width computation
* lib/vasnprintf.c (VASNPRINTF): Rework previous change, which introduced a bug, to avoid the warning in a different way. Avoid undefined behavior if the width arg is less than -INT_MAX. Avoid unnecessary use of HAS_WIDTH local.
Diffstat (limited to 'build-aux/gcc-warning.spec')
0 files changed, 0 insertions, 0 deletions