krytarowski added inline comments.

================
Comment at: lib/tsan/rtl/tsan_interceptors.cc:45
 #define dirfd(dirp) (*(int *)(dirp))
 #define fileno_unlocked fileno
 
----------------
We might want to go for emulating `_unlocked`:

```
#define fileno_unlocked(p)      \
    488     ((p)->_file == -1 ? -1 : (int)(unsigned short)(p)->_file)
```


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56109/new/

https://reviews.llvm.org/D56109



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to