Re: [PATCH v1] name-hash: properly fold directory names in adjust_dirname_case()
On Wed, 2018-02-07 at 19:41 -0500, Ben Peart wrote:
Show 12 quoted lines
> Correct the pointer arithmetic in adjust_dirname_case() so that it
> calls
> find_dir_entry() with the correct string length. Previously passing
> in
> "dir1/foo" would pass a length of 6 instead of the correct 4. This
> resulted in
> find_dir_entry() never finding the entry and so the subsequent memcpy
> that would
> fold the name to the version with the correct case never executed.
>
> Add a test to validate the corrected behavior with name folding of
> directories.