[interchange-cvs] interchange - racke modified scripts/interchange.PL
interchange-core@interchange.redhat.com
interchange-core@interchange.redhat.com
Thu May 9 05:52:01 2002
User: racke
Date: 2002-05-09 09:51:38 GMT
Modified: scripts Tag: STABLE_4_8-branch interchange.PL
Log:
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
No revision
No revision
2.7.2.11 +2 -1 interchange/scripts/interchange.PL
rev 2.7.2.11, prev_rev 2.7.2.10
Index: interchange.PL
===================================================================
RCS file: /anon_cvs/repository/interchange/scripts/interchange.PL,v
retrieving revision 2.7.2.10
retrieving revision 2.7.2.11
diff -u -r2.7.2.10 -r2.7.2.11
--- interchange.PL 8 May 2002 23:21:08 -0000 2.7.2.10
+++ interchange.PL 9 May 2002 09:51:38 -0000 2.7.2.11
@@ -50,7 +50,7 @@
#
# Interchange version 4.8.6
#
-# $Id: interchange.PL,v 2.7.2.10 2002/05/08 23:21:08 jon Exp $
+# $Id: interchange.PL,v 2.7.2.11 2002/05/09 09:51:38 racke Exp $
#
# Copyright (C) 1996-2002 Red Hat, Inc. <interchange@redhat.com>
#
@@ -2120,6 +2120,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;