Description[NaCl SDK] MountNodeDir::GetDents sets d_off instead of leaving it undefined.
This fixes the response from readdir when applied to memfs mounts.
Also added tests for st_ino (from MountNode::GetStat) and d_ino, d_off and
d_reclen (from MountNodeDir::GetDents). In a test environment, MountNode now
sets st_ino to 1, instead of 0 (since 0 is an invalid inode value).
BUG=244315
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202767
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|