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

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

[Octave-bug-tracker] [bug #51388] Current directory does not change imme


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #51388] Current directory does not change immediatly with "cd" on some systems
Date: Wed, 5 Jul 2017 10:00:39 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #2, bug #51388 (project octave):

Attached is a test case that is very specific to the io package. It triggers
the bug quite reliably for Andrey (without the patch in bug #51203). I will
try to narrow it down to a more generic one. But something like this might
trigger the bug as well:

for i = 1:200
  cd (somedirectory1)
  while ~strcmpi (somedirectory1, pwd)
    warning ('bug triggered');
    cd (somedirectory1)
  endwhile
  cd (somedirectory2)
  while ~strcmpi (somedirectory2, pwd)
    warning ('bug triggered');
    cd (somedirectory2)
  endwhile
endfor


It might be possible that it is more likely to trigger under load (as in
[de-]compressing a file with InfoZip).

(file #41125)
    _______________________________________________________

Additional Item Attachment:

File name: o076xls_with_check.m           Size:0 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51388>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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