Delete abortion joke

Javiera Serrano Polo javier@jasp.net
Fri May 4 16:40:00 GMT 2018


--- a/stdlib/stdlib.h	2018-05-04 04:41:52.000000000 +0200
+++ b/stdlib/stdlib.h	2018-05-04 04:49:06.000000000 +0200
@@ -584,8 +584,14 @@
      __THROW __attribute_malloc__ __attribute_alloc_size__ ((2)) __wur;
 #endif
 
+#if !defined ENABLE_FUN || defined I_OPPOSE_CENSORSHIP
 /* Abort execution and generate a core-dump.  */
 extern void abort (void) __THROW __attribute__ ((__noreturn__));
+#else
+extern void abort (void) __THROW __attribute__ ((__noreturn__))
+     __attribute__ ((error (
+          "Political regulations prohibit calling this function")));
+#endif
 
 
 /* Register a function to be called when `exit' is called.  */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3386 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20180504/cc820029/attachment.p7s>


More information about the Libc-alpha mailing list