From 6149c6189bd9c174d1bc2dcc477624b0756d0f8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Tue, 27 Jan 1998 10:11:35 -0800 Subject: [PATCH] fix for 'parent lost during cloning' problem Rev: src/program.c:1.56 --- src/program.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/program.c b/src/program.c index 546f989a33..797b05b549 100644 --- a/src/program.c +++ b/src/program.c @@ -4,7 +4,7 @@ ||| See the files COPYING and DISCLAIMER for more information. \*/ #include "global.h" -RCSID("$Id: program.c,v 1.55 1998/01/26 19:59:59 hubbe Exp $"); +RCSID("$Id: program.c,v 1.56 1998/01/27 18:11:35 hubbe Exp $"); #include "program.h" #include "object.h" #include "dynamic_buffer.h" @@ -211,14 +211,15 @@ struct node_s *find_module_identifier(struct pike_string *ident) { struct identifier *id; id=ID_FROM_INT(p->new_program, i); +#if 0 if(IDENTIFIER_IS_CONSTANT(id->identifier_flags)) { ret=mksvaluenode(PROG_FROM_INT(p->new_program, i)->constants+ id->func.offset); return ret; - }else{ - return mkexternalnode(n, i, id); } +#endif + return mkexternalnode(n, i, id); } } } -- GitLab