Menu

#2780 ::safe::interpCreate fails if "temp" is an array

obsolete: 8.4.6
closed-fixed
5
2004-06-29
2004-06-29
BarkerJr
No

Linux sco 2.4.21-226-default #1 Tue Jun 15 10:44:28 UTC
2004 i686 i686 i386 GNU/Linux

If a variable array name "temp" already exists in the
global namespace, creation of the safe interp fails.

% set temp(0) "testing"
testing
% ::safe::interpCreate "MyNewInt"
can't set "temp": variable is array

Discussion

  • Joe Mistachkin

    Joe Mistachkin - 2004-06-29
    • milestone: 358486 -->
    • status: open --> closed-duplicate
     
  • Joe Mistachkin

    Joe Mistachkin - 2004-06-29

    Logged In: YES
    user_id=113501

    Duplicate of bug #981735

     
  • Donal K. Fellows

    Logged In: YES
    user_id=79902

    (Joe, please close *newer* bugs as dups, not older ones!)

    Fixed in HEAD and 8.4 branch. It was due to the horrible
    horrible horrible variable name resolver crap. Adding
    [variable temp] at the top of the namespace stops the problem.

     
  • Donal K. Fellows

    • milestone: --> obsolete: 8.4.6
    • status: closed-duplicate --> closed-fixed
     
MongoDB Logo MongoDB