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: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #51388] Current directory does not change immediatly with "cd" on some systems
Date: Fri, 14 Jul 2017 09:54:53 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46

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

After renaming cwdtest-1.cc to cwdtest.cc and building with mkoctfile, I get

>> cwdtest ('c:/tmp', 'f:/tmp')
cwdtest: FAIL getcwd != destdir
cwdtest: FAIL getcwd != destdir
cwdtest: FAIL getcwd != destdir
cwdtest: FAIL getcwd != destdir
cwdtest: FAIL getcwd != destdir
cwdtest: FAIL getcwd != destdir
cwdtest: FAIL getcwd != destdir
cwdtest: FAIL getcwd != destdir
cwdtest: FAIL getcwd != destdir
cwdtest: FAIL getcwd != destdir
cwdtest: FAIL getcwd != destdir
cwdtest: FAIL getcwd != destdir
cwdtest: FAIL getcwd != destdir
:


(repeated seemingly indefinitely, I just hit Ctrl-C)

This is with a cross-built 4.3.0+ hg id 58cb2f52ce67 ("maint: Periodic merge
of stable to default.") on Win7 Prof. 64-bit.

Note:
Specifying forward or backward slash as filesep (in SQ string filenames) makes
no difference for cwdtest.oct.
However, that does make a difference in the code in comment #2.



    _______________________________________________________

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]