From 92bb06de6e1f0bf32a5b2a8ecaa4c30d219da9aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Tue, 19 May 1998 20:46:06 +0200 Subject: [PATCH] Some minor changes. Rev: src/builtin_functions.c:1.109 --- src/builtin_functions.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/builtin_functions.c b/src/builtin_functions.c index 3fdf8d0be6..6a10ecacbe 100644 --- a/src/builtin_functions.c +++ b/src/builtin_functions.c @@ -4,7 +4,7 @@ ||| See the files COPYING and DISCLAIMER for more information. \*/ #include "global.h" -RCSID("$Id: builtin_functions.c,v 1.108 1998/05/19 18:30:56 grubba Exp $"); +RCSID("$Id: builtin_functions.c,v 1.109 1998/05/19 18:46:06 grubba Exp $"); #include "interpret.h" #include "svalue.h" #include "pike_macros.h" @@ -53,7 +53,7 @@ RCSID("$Id: builtin_functions.c,v 1.108 1998/05/19 18:30:56 grubba Exp $"); #endif /* #define DIFF_DEBUG */ - +/* #define ENABLE_DYN_DIFF */ void f_equal(INT32 args) { @@ -2179,6 +2179,8 @@ static struct array *diff_dyn_longest_sequence(struct array *cmptbl, int blen) unsigned int i; unsigned int off1 = 0; unsigned int off2 = blen + 1; + unsigned int l1 = 0; + unsigned int l2 = 0; table = calloc(sizeof(struct diff_magic_link_head)*2, off2); if (!table) { -- GitLab