aboutsummaryrefslogtreecommitdiff
path: root/scripts/install.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2018-12-09 19:02:32 -0600
committerRob Landley <rob@landley.net>2018-12-09 19:02:32 -0600
commit2eb2fdea88b848d07bb8aa7ca22cb624127e440d (patch)
tree6d3e83e192d49e1fc327640d327263833adc74f1 /scripts/install.c
parentac89784055a6add93a3f45eeae70e9da2e4a8c98 (diff)
downloadtoybox-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 'scripts/install.c')
0 files changed, 0 insertions, 0 deletions