grep-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Grep-devel] [PATCH] grep: use 'j' printf length modifier for [u]intmax_


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

Attachment: 0001-grep-use-j-printf-length-modifier-for-u-intmax_t.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]