od: prefer xpalloc to x2nrealloc
commita824f50d96e4a9f5ee7f4ec3f04339015926f6e2
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 7 Nov 2024 20:58:49 +0000 (7 12:58 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 9 Nov 2024 07:41:18 +0000 (8 23:41 -0800)
treeab20572a761aad51ed8e0e239b043d7a1333b81d
parent7572abed94323f0d566a531e8efba7793602ea3a
od: prefer xpalloc to x2nrealloc

* src/od.c (n_specs, n_specs_allocated, write_block, get_lcm, main):
Use idx_t instead of size_t for some sizes, so that we can
use xpalloc.
(decode_format_string): Prefer xpalloc to X2NREALLOC.
src/od.c