CVSROOT: /sources/m4
Module name: m4
Branch: branch-1_4
Changes by: Eric Blake <ericb> 06/10/26 04:45:31
Index: src/output.c
===================================================================
RCS file: /sources/m4/m4/src/Attic/output.c,v
retrieving revision 1.1.1.1.2.11
retrieving revision 1.1.1.1.2.12
diff -u -b -r1.1.1.1.2.11 -r1.1.1.1.2.12
--- src/output.c 13 Oct 2006 22:25:32 -0000 1.1.1.1.2.11
+++ src/output.c 26 Oct 2006 04:45:31 -0000 1.1.1.1.2.12
@@ -439,7 +439,7 @@
if (divnum >= diversions)
{
diversion_table = (struct diversion *)
- xrealloc (diversion_table, (divnum + 1) * sizeof (struct diversion));
+ xnrealloc (diversion_table, divnum + 1, sizeof (struct diversion));
for (diversion = diversion_table + diversions;
diversion <= diversion_table + divnum;
diversion++)