Change #237966
Category | gcoreutils |
Changed by | Paul Eggert <eggert | @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 | d8aaafc09492e9edef7bcd74f8da332b54e02d74 |
Comments
od: initialize type-size tables statically * src/od.c (NO_SIZE): Make it explicitly 0, as the initializers now rely on this. (MAX_INTEGRAL_TYPE_SIZE): Remove. All uses replaced by ARRAY_CARDINALITY (integral_type_size) - 1. Move static assertion down to where this can be used. (integral_type_size, fp_type_size): Make them const, and initialize them statically. (main): Omit no-longer-needed initialization code.
Changed files
- src/od.c