summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorZev Weiss <zev@bewilderbeest.net>2016-10-16 01:14:51 -0500
committerJim Meyering <meyering@fb.com>2016-10-20 07:53:57 -0700
commit39ee80d53f41b05ef1f483363e8e535db8137f90 (patch)
treeabb0e5d9e4b0fc35887fed81e26e3a599c2198f6 /build-aux
parent899b5189ec67bdefd2e294307a9be80de757583e (diff)
downloadgrep-39ee80d53f41b05ef1f483363e8e535db8137f90.tar.gz
grep: use 'j' intmax_t printf length modifier if supported
* configure.ac: Use gl_PRINTF_SIZES_C99 to test printf and (conditionally) define HAVE_PRINTF_C99_SIZES. * src/grep.c (print_offset): Use printf("%j...") for printing [u]intmax_t if HAVE_PRINTF_C99_SIZES is defined; otherwise continue using the existing hand-rolled loop.
Diffstat (limited to 'build-aux')
0 files changed, 0 insertions, 0 deletions