>> But! sizeof(".wh.") is actually 5
>
>Correct, because string constants contain the zero.What I mean is that when we have a length object, such as dentry->d_name.len, then we do not even need a NUL, because we already know the size. But that's just one possibility. If one uses str*() functions on the d_name.str, then of course, we need the NUL byte in there, then the question is if d_name.len is the string length with or without the NUL. Jan Engelhardt -- | Alphagate Systems, http://alphagate.hopto.org/ | jengelh's site, http://jengelh.hopto.org/ _______________________________________________ unionfs mailing list [email protected] http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs
