octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #40117] Corruption of symbol table when editin


From: Guillaume
Subject: [Octave-bug-tracker] [bug #40117] Corruption of symbol table when editing functions in private/ dirs
Date: Thu, 26 Sep 2019 09:28:38 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Follow-up Comment #3, bug #40117 (project octave):

I came across the same bug with this configuration:


.
├── A.m
└── private
    ├── B.m
    └── C.m


with files defined as:


function A ()
  disp ('A');
  B ();
endfunction

function B ()
  disp ('B');
  C ();
endfunction

function C ()
  disp ('C');
endfunction


An error occurs when B.m has his timestamp changed:


octave:1> A
A
B
C
octave:2> system ('touch A.m');
octave:3> A
A
B
C
octave:4> system ('touch private/C.m');
octave:5> A
A
B
C
octave:6> system ('touch private/B.m');
octave:7> A
A
B
error: 'C' undefined near line 3 column 3
error: called from
    B at line 3 column 3
    A at line 3 column 3




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?40117>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]