Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2018-05-11 13:59:26 -0400
committerAllan McRae <allan@archlinux.org>2018-05-12 21:36:35 +1000
commitaf6125fbcc51b2074321003c3cbd74aeb65d9b7b (patch)
treedbf4a445db1670c21d7c3d42fc90c643fb52a016 /configure.ac
parent0d356c27c17fb62ed31327d634748f64c781dc49 (diff)
Fix gcc8 warnings.
Attempting to compile pacman with gcc8 results in several warnings like: remove.c: In function ‘unlink_file.isra.4’: remove.c:407:34: warning: ‘.pacsave.’ directive output may be truncated writing 9 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] Fix by adding checks to error out if snprintf tries to reserve a truncated filename. Because the return values are checked, gcc delegates the truncation response to our code instead of throwing warnings. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions