Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #237967

Category gcoreutils
Changed by Paul Eggert <eggertohnoyoudont@cs.ucla.edu>
Changed at Sun 29 Jun 2025 06:00:41
Repository git://git.savannah.gnu.org/coreutils.git
Project gcoreutils
Branch master
Revision 274226dbff6866b130bc69b84a7b7c8c00c3264d

Comments

od: support uintmax_t too
This has practical effect only on hypothetical platforms where
uintmax_t is wider than unsigned long long int.
* src/od.c (enum size_spec): New constant INTMAX.
(MAX_INTEGRAL_TYPE_WIDTH): Now equals UINTMAX_WIDTH.
(FMT_BYTES_ALLOCATED): Allow for the extra "l" in "%lld".
Also, fix off-by-two error in size calculation.
(width_bytes, integral_type_size): Add entries for uintmax_t.
(print_intmax): New function.
(decode_one_function): Use it.
(ISPEC_TO_FORMAT): New arg Max_fmt. All uses changed.

Changed files