diff options
author | Rob Landley <rob@landley.net> | 2018-12-09 19:02:32 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2018-12-09 19:02:32 -0600 |
commit | 2eb2fdea88b848d07bb8aa7ca22cb624127e440d (patch) | |
tree | 6d3e83e192d49e1fc327640d327263833adc74f1 /toys/posix/od.c | |
parent | ac89784055a6add93a3f45eeae70e9da2e4a8c98 (diff) | |
download | toybox-2eb2fdea88b848d07bb8aa7ca22cb624127e440d.tar.gz |
Fix first grep.test failure (-B + -b not producing middle field).
When necessary, realloc() the line to add 4 aligned bytes of storage at
the end, stick the unsigned offset in there, and then fish it back out for
display (and add 1 because offset is 0 based and display is 1 based).
Diffstat (limited to 'toys/posix/od.c')
0 files changed, 0 insertions, 0 deletions