summaryrefslogtreecommitdiffstats
path: root/tests/test_depth.out
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2020-09-18 16:48:53 -0400
committerTavian Barnes <tavianator@tavianator.com>2020-09-18 16:48:53 -0400
commit0aa71f890777d2aaddeca53384b94742e4b2678b (patch)
treedf44e7c577d733b4d219fe2d8d18ce139c92e2bd /tests/test_depth.out
parent72cfcb1fa636017611ce0aeddbe2970003a01cfa (diff)
downloadbfs-0aa71f890777d2aaddeca53384b94742e4b2678b.tar.xz
util: Make the initial allocation bigger for xreadlinkat()
Most symlinks are more than 1 character long, so rather than wasting time with 1, 2, 4, ... when we don't have a good guess for the length, start with a bigger one. Credit to https://twitter.com/RichFelker/status/1306321019108556806 for reminding me of this.
Diffstat (limited to 'tests/test_depth.out')
0 files changed, 0 insertions, 0 deletions