[interchange-cvs] interchange - racke modified scripts/interchange.PL

interchange-core@interchange.redhat.com interchange-core@interchange.redhat.com
Thu May 9 06:03:01 2002


User:      racke
Date:      2002-05-09 10:02:34 GMT
Modified:  scripts  interchange.PL
Log:
merged changes 2.7.2.10 vs 2.7.2.11
+++ 2.7.2.11 +++
RATIONALE AND WARNING

Patch for the problem detailed below.

Mike said to the correctness of this patch a while ago:

I don't know. If the reset_calc doesn't happen before that, then
yes. Make sure that if you put it in, we don't do it again later.

Due to the slow release cycle of Interchange STABLE I put it in
now, so we try if it breaks sth. On my applications it worked
without any problems for quite a while.

PROBLEM DESCRIPTION

First case:

Autoload <<EOR
[perl]
...
[/perl]
EOR

Catalog and global usertags are working fine.

Second case:

Sub <<EOS
sub initialize {
....
}

Autoload initialize

Global usertags are working fine, but catalog ones not:

Tag 'cartadd' not defined.

Revision  Changes    Path
2.27      +2 -1      interchange/scripts/interchange.PL


rev 2.27, prev_rev 2.26
Index: interchange.PL
===================================================================
RCS file: /anon_cvs/repository/interchange/scripts/interchange.PL,v
retrieving revision 2.26
retrieving revision 2.27
diff -u -r2.26 -r2.27
--- interchange.PL	20 Mar 2002 06:23:04 -0000	2.26
+++ interchange.PL	9 May 2002 10:02:33 -0000	2.27
@@ -50,7 +50,7 @@
 #
 # Interchange version 4.9.0
 #
-# $Id: interchange.PL,v 2.26 2002/03/20 06:23:04 jon Exp $
+# $Id: interchange.PL,v 2.27 2002/05/09 10:02:33 racke Exp $
 #
 # Copyright (C) 1996-2001 Red Hat, Inc. <interchange@redhat.com>
 #
@@ -2140,6 +2140,7 @@
 	# Do it here so we can use autoloads and such
 	Vend::Interpolate::reset_calc() if $Global::Foreground;
 	Vend::Interpolate::init_calc();
+	new Vend::Tags;
 # LEGACY
 	ROUTINES: {
 		last ROUTINES unless index($Vend::FinalPath, '/process/') == 0;