We store the CLU's name in the CLU structure. Whether or not that's actually the right thing to do in the first place, we're definitely doing one thing wrong right now: We take the first 16 characters of the path by which we referred to the CLU, which might include slashes from a full path:
We store the CLU's name in the CLU structure. Whether or not that's actually the right thing to do in the first place, we're definitely doing one thing wrong right now: We take the first 16 characters of the path by which we referred to the CLU, which might include slashes from a full path:
Instead, we should be storing only the basename: