ditch the priority inheritance locks; use malloc's version of lock
[musl] / src / dirent / __dirent.h
index 07b3ee6..38a27b0 100644 (file)
@@ -1,9 +1,9 @@
 struct __DIR_s
 {
-       int lock;
        int fd;
        off_t tell;
        int buf_pos;
        int buf_end;
+       int lock[2];
        char buf[2048];
 };