list_order.12
authorCamm Maguire <camm@debian.org>
Mon, 30 Dec 2019 15:46:22 +0000 (15:46 +0000)
committerCamm Maguire <camm@debian.org>
Mon, 30 Dec 2019 15:46:22 +0000 (15:46 +0000)
Gbp-Pq: Name list_order.12

o/regexpr.c

index 74f8a7ed2d3ca206bd638e72730c34c9c57b8c46..669776b81ccc905d207649471cc2bfc70ed802bf 100755 (executable)
@@ -66,6 +66,7 @@ DEFUN_NEW("COMPILE-REGEXP",object,fScompile_regexp,SI,1,1,NONE,OO,OO,OO,OO,(obje
 
   char *tmp;
   object res;
+  ufixnum i=0;
 
   if (type_of(p)!= t_string && type_of(p)!=t_symbol)
     not_a_string_or_symbol(p);
@@ -82,9 +83,9 @@ DEFUN_NEW("COMPILE-REGEXP",object,fScompile_regexp,SI,1,1,NONE,OO,OO,OO,OO,(obje
   res->v.v_adjustable=0;
   res->v.v_offset=0;
   res->v.v_self=NULL;
-  if (!(res->v.v_self=(void *)regcomp(tmp,&res->v.v_dim)))
+  if (!(res->v.v_self=(void *)regcomp(tmp,&i)))
     FEerror("regcomp failure",0);
-  res->v.v_fillp=res->v.v_dim;
+  res->v.v_fillp=res->v.v_dim=i;
 
   RETURN1(res);