X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fdirent%2F__dirent.h;h=828a5f178917a97426d4fa35784494d894d25ccc;hb=c5d118ebbcfe41d928d8ffc913bc532c59237189;hp=101b036838baab73f4b6d0cb67773b288f978209;hpb=32482f61da7650ff10741bd5aedd66bbc3ea165b;p=musl diff --git a/src/dirent/__dirent.h b/src/dirent/__dirent.h index 101b0368..828a5f17 100644 --- a/src/dirent/__dirent.h +++ b/src/dirent/__dirent.h @@ -1,9 +1,11 @@ struct __dirstream { - int fd; off_t tell; + int fd; int buf_pos; int buf_end; volatile int lock[1]; + /* Any changes to this struct must preserve the property: + * offsetof(struct __dirent, buf) % sizeof(off_t) == 0 */ char buf[2048]; };