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

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

[Octave-bug-tracker] [bug #55823] Calling a subfunction containing rmdir


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #55823] Calling a subfunction containing rmdir() from a m-file in an editortab closes the tab
Date: Sun, 17 Mar 2019 16:51:42 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48

Follow-up Comment #36, bug #55823 (project octave):

Torsten, 
can you confirm the original bug report in comment #0 with the files in
comment #1 ?

What I find is that initially the command-line function try2_rmdir() works as
it should (= no bug), but after calling

xlsread('test.xlsx', 1, '', 'oct')

try2_rmdir() will reliably close editor tabs, sometimes several I opened.

In fact all that is needed to set the stage for the bug are these lines:

xls = xlsopen ('test.xlsx', 0, 'oct')  ## creates the unzipped archive
xls = xlsclose (xls)                   ## deletes the archive


It appears like some code snippet in the IO package somehow changes a state so
that the bug gets activated.
I checked the relevant io package OCT interface functions for some global
settings changes but I can't find any in there that look suspicious.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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