[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58547] gzip()/bzip2() do not handle relative
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #58547] gzip()/bzip2() do not handle relative paths in first argument correctly |
Date: |
Tue, 16 Jun 2020 15:08:08 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Follow-up Comment #8, bug #58547 (project octave):
I can be more precise, "foo/bar" is neither rooted relative nor absolute.
Octave is currently checking for rooted relative paths for which the fragment
returns false.
I suppose the question is why Octave has this test at all:
if (! (do_absolute_pathname (s) || do_rooted_relative_pathname (s)))
return s;
If you comment this out, does do_base_pathname now do what you expect?
If you comment this out, does 'make check' pass?
I tried using 'hg blame' to figure out when this bit of code was added, but it
didn't particularly help. It's been there since at least 2012, but possibly
goes even further back.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58547>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #58547] gzip() does not handle relative paths in first argument correctly, anonymous, 2020/06/11
- [Octave-bug-tracker] [bug #58547] gzip() does not handle relative paths in first argument correctly, Kai Torben Ohlhus, 2020/06/12
- [Octave-bug-tracker] [bug #58547] gzip() does not handle relative paths in first argument correctly, anonymous, 2020/06/12
- [Octave-bug-tracker] [bug #58547] gzip()/bzip2() do not handle relative paths in first argument correctly, Rik, 2020/06/13
- [Octave-bug-tracker] [bug #58547] gzip()/bzip2() do not handle relative paths in first argument correctly, Kai Torben Ohlhus, 2020/06/14
- [Octave-bug-tracker] [bug #58547] gzip()/bzip2() do not handle relative paths in first argument correctly, Carnë Draug, 2020/06/15
- [Octave-bug-tracker] [bug #58547] gzip()/bzip2() do not handle relative paths in first argument correctly, Rik, 2020/06/15
- [Octave-bug-tracker] [bug #58547] gzip()/bzip2() do not handle relative paths in first argument correctly, Carnë Draug, 2020/06/16
- [Octave-bug-tracker] [bug #58547] gzip()/bzip2() do not handle relative paths in first argument correctly,
Rik <=
- [Octave-bug-tracker] [bug #58547] gzip()/bzip2() do not handle relative paths in first argument correctly, John W. Eaton, 2020/06/16