File:  [parser3project] / win32 / gc / misc.diff
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Tue Dec 3 16:34:58 2019 UTC (6 years, 6 months ago) by moko
Branches: MAIN
CVS tags: gc-8-0-4, HEAD
gc-7.6.2 -> gc-8.0.4

--- misc.c	2019-12-02 16:22:06.772305100 +0300
+++ ../misc.c	2019-11-28 18:08:50.538009100 +0300
@@ -1905,8 +1905,14 @@
   /* Print (or display) a message before abnormal exit (including       */
   /* abort).  Invoked from ABORT(msg) macro (there msg is non-NULL)     */
   /* and from EXIT() macro (msg is NULL in that case).                  */
-  STATIC void GC_CALLBACK GC_default_on_abort(const char *msg)
+
+void *pa_fail_alloc(const char* what);
+
+STATIC void GC_CALLBACK GC_default_on_abort(const char *msg)
   {
+    pa_fail_alloc(msg);
+
+
 #   ifndef DONT_USE_ATEXIT
       skip_gc_atexit = TRUE; /* disable at-exit GC_gcollect() */
 #   endif

E-mail: