We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c07c49 commit e6c77d8Copy full SHA for e6c77d8
Objects/fileobject.c
@@ -3,7 +3,8 @@
3
#define PY_SSIZE_T_CLEAN
4
#include "Python.h"
5
6
-#ifdef HAVE_GETC_UNLOCKED
+#if defined(HAVE_GETC_UNLOCKED) && !defined(MEMORY_SANITIZER)
7
+/* clang MemorySanitizer doesn't yet understand getc_unlocked. */
8
#define GETC(f) getc_unlocked(f)
9
#define FLOCKFILE(f) flockfile(f)
10
#define FUNLOCKFILE(f) funlockfile(f)
0 commit comments