[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62780] oruntests looks in file without respec
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #62780] oruntests looks in file without respecting .oct-config |
Date: |
Tue, 19 Jul 2022 03:26:56 -0400 (EDT) |
Follow-up Comment #4, bug #62780 (project octave):
There are a couple of places where `fopen` is called with a bare file argument
in `oruntests.m`.
These bare calls can probably be modified to look somewhat like this:
fid = fopen (f, "rt", "n", dir_encoding (filedir));
And some logic to gather the `filedir` for the file `f`. Maybe, that is just
the following if it is clear that `f` will always be the full path to the
file:
fid = fopen (f, "rt", "n", dir_encoding (fileparts (f)));
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62780>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #62780] oruntests looks in file without respecting .oct-config, Colin Macdonald, 2022/07/18
- [Octave-bug-tracker] [bug #62780] oruntests looks in file without respecting .oct-config, Markus Mützel, 2022/07/18
- [Octave-bug-tracker] [bug #62780] oruntests looks in file without respecting .oct-config, Colin Macdonald, 2022/07/18
- [Octave-bug-tracker] [bug #62780] oruntests looks in file without respecting .oct-config, Colin Macdonald, 2022/07/18
- [Octave-bug-tracker] [bug #62780] oruntests looks in file without respecting .oct-config,
Markus Mützel <=
- [Octave-bug-tracker] [bug #62780] oruntests looks in file without respecting .oct-config, Markus Mützel, 2022/07/20
- [Octave-bug-tracker] [bug #62780] oruntests looks in file without respecting .oct-config, Colin Macdonald, 2022/07/23
- [Octave-bug-tracker] [bug #62780] oruntests looks in file without respecting .oct-config, Colin Macdonald, 2022/07/23
- [Octave-bug-tracker] [bug #62780] oruntests looks in file without respecting .oct-config, Colin Macdonald, 2022/07/23
- [Octave-bug-tracker] [bug #62780] oruntests looks in file without respecting .oct-config, Markus Mützel, 2022/07/24
- [Octave-bug-tracker] [bug #62780] oruntests looks in file without respecting .oct-config, Colin Macdonald, 2022/07/24
- [Octave-bug-tracker] [bug #62780] oruntests looks in file without respecting .oct-config, Markus Mützel, 2022/07/25