diff options
author | Eric Blake <ebb9@byu.net> | 2008-06-12 11:05:09 -0600 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-06-13 23:07:58 +0200 |
commit | 20c0b8701fda7e34f3a2f944d795da487274cf10 (patch) | |
tree | 78b451e6a8d764f27387b26906fa303738d1b78f /src/dd.c | |
parent | 46a811b9e7c0e9fefb75864d198f9a4f3fd0e6cf (diff) | |
download | coreutils-20c0b8701fda7e34f3a2f944d795da487274cf10.tar.xz |
od: improve handling of padding
* src/od.c (decode_one_format): Alter the format, again.
(FMT_BYTES_ALLOCATED): Reduce size by adjusting to new format.
(MAX_INTEGRAL_TYPE_SIZE): Move earlier in the file.
(charname): Turn it into a 2D array, since there's no need for
pointers now.
(PRINT_TYPE, print_named_ascii, print_ascii): Add a width
parameter.
(write_block): Account for width parameter.
Using ideas from Paul Eggert.
Diffstat (limited to 'src/dd.c')
0 files changed, 0 insertions, 0 deletions