Skip to content

Commit

Permalink
Add quirk gating on abi wrapper for directory API (youtube#3664)
Browse files Browse the repository at this point in the history
b/348689034
  • Loading branch information
madhurajayaraman authored Jun 24, 2024
1 parent 8340a97 commit 63f7b1c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ int __abi_wrap_readdir_r(DIR* dirp,
if (retval != 0) {
return retval;
}
#if !SB_HAS_QUIRK(INCOMPLETE_DIRENT_STRUCTURE)
musl_entry->d_ino = entry.d_ino;
musl_entry->d_off = entry.d_off;
#endif
musl_entry->d_reclen = entry.d_reclen;
musl_entry->d_type = entry.d_type;

Expand Down

0 comments on commit 63f7b1c

Please sign in to comment.