diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2017-10-22 13:08:56 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2017-10-22 13:08:56 -0400 |
commit | a3ed3e8dda52d39d3307a87b848b54606a6f0fed (patch) | |
tree | 2c777d93e434689068f6ce78ddcabc13cbc6fd19 /tests/test_0069.out | |
parent | 627ffbe2aafe05371dee9ca872b3da4f16424ad9 (diff) | |
download | bfs-a3ed3e8dda52d39d3307a87b848b54606a6f0fed.tar.xz |
exec: Apply more headroom to avoid E2BIG
I ran into "argument list too long" errors with a
bfs -type f -exec grep pattern '{}' +
command, despite the current accounting being pretty careful. Some
experimentation showed that an additional 2048 bytes of headroom is
always safe.
While we're at it, explicitly account for the terminating NULL pointers
in argv and environ.
Diffstat (limited to 'tests/test_0069.out')
0 files changed, 0 insertions, 0 deletions