Delete abortion joke

Message ID 1525452041.13115.2.camel@jasp.net
State New, archived
Headers

Commit Message

Javier Serrano Polo May 4, 2018, 4:40 p.m. UTC
  None
  

Patch

--- 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.  */