Optimize new dircache_copy_path so that the helper (strlcat) doesn't need to walk... gsoc2-dircache-rework
commita9916771cd8aaa26fba8727bc64998710dac4a76
authorThomas Martitz <thomas.martitz@student.htw-berlin.de>
Sun, 5 Jun 2011 11:02:38 +0000 (5 12:02 +0100)
committerThomas Martitz <thomas.martitz@student.htw-berlin.de>
Sun, 5 Jun 2011 11:02:38 +0000 (5 12:02 +0100)
tree2472bc822d50110cb663e655ef1f33be18add1be
parent8d777eeb30bf2a3a54a311fe020461e4674d1040
Optimize new dircache_copy_path so that the helper (strlcat) doesn't need to walk through the entire string repeatedly.
Also fix a off-by-one.
firmware/common/dircache.c