pkgsrc/shells/bash2/patches/patch-af
jschauma 7cb38bc887 On some systems (for example IRIX 5.3 with the IDO compilers), none of the
#ifdefs after this label leads to any code, so insert a no-op, just in case.

Based on emails from Georg Schwarz to wiz, also noted in
http://mail.gnu.org/archive/html/bug-bash/2003-04/msg00002.html.
2004-05-12 20:56:14 +00:00

13 lines
326 B
Text

$NetBSD: patch-af,v 1.1 2004/05/12 20:56:14 jschauma Exp $
--- ./lib/malloc/malloc.c.orig Wed May 12 16:07:37 2004
+++ ./lib/malloc/malloc.c Wed May 12 16:20:47 2004
@@ -880,6 +880,8 @@
free_return:
+ /* no-op in case nothing below is defined */;
+
#ifdef MALLOC_STATS
_mstats.nmalloc[nunits]--;
_mstats.nfre++;