summaryrefslogtreecommitdiff
path: root/src/conf_post.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-06-08 23:53:58 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2018-06-08 23:54:50 -0700
commit49ba7544c2ebbcfc50ce1e02add6bd739f475c4c (patch)
tree69b5814b49dff5c92492ce068492e44e74c51b7e /src/conf_post.h
parentc67befd662571a822f3183c114ce3b1ad02e0ed9 (diff)
downloademacs-49ba7544c2ebbcfc50ce1e02add6bd739f475c4c.tar.gz
Remove AddressSanitizer bug workaround
This workaround no longer appears to be needed. * src/alloc.c (USE_ALIGNED_ALLOC): Don’t leave undefined merely because ADDRESS_SANITIZER is defined, as that bug in -fsanitize=address appears to have been fixed. See: https://github.com/google/sanitizers/issues/337 * src/conf_post.h (vfork): Improve comment.
Diffstat (limited to 'src/conf_post.h')
-rw-r--r--src/conf_post.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/conf_post.h b/src/conf_post.h
index bf2cfc4f05f..30f3b953056 100644
--- a/src/conf_post.h
+++ b/src/conf_post.h
@@ -350,7 +350,8 @@ extern int emacs_setenv_TZ (char const *);
# define ATTRIBUTE_NO_SANITIZE_UNDEFINED
#endif
-/* gcc -fsanitize=address does not work with vfork in Fedora 25 x86-64.
+/* gcc -fsanitize=address does not work with vfork in Fedora 28 x86-64. See:
+ https://lists.gnu.org/r/emacs-devel/2017-05/msg00464.html
For now, assume that this problem occurs on all platforms. */
#if ADDRESS_SANITIZER && !defined vfork
# define vfork fork