|
From: | Zev Weiss |
Subject: | [Grep-devel] [PATCH] grep: use 'j' printf length modifier for [u]intmax_t |
Date: | Sun, 16 Oct 2016 02:13:44 -0500 |
User-agent: | NeoMutt/20160916 (1.7.0) |
Hi,I noticed the print_offset() function in src/grep.c has been formatting its uintmax_t argument manually since sometime in the 1990s, when that was apparently necessary. The C99 'j' printf length modifer for [u]intmax_t has been around for a while now though -- hopefully long enough that grep can safely use it instead of reimplementing it.
Thanks, Zev
0001-grep-use-j-printf-length-modifier-for-u-intmax_t.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |