|
From: | Carnë Draug |
Subject: | [Octave-bug-tracker] [bug #58547] gzip()/bzip2() do not handle relative paths in first argument correctly |
Date: | Mon, 15 Jun 2020 06:02:46 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
Follow-up Comment #5, bug #58547 (project octave): Does anyone understand why sys::env::base_pathname even calls do_rooted_relative_pathname ? It's documentation states: // [...] If STRING is not a full pathname, // simply return it. But I don't know what is a full pathname. Why is 'foo/bar' not a full pathname and './foo/bar' is a full pathname? I would guess that the issue is there since this behaviour is not common in basename implementations. How many other functions are calling base_pathname and expect 'foo/bar' to return 'foo/bar' instead of 'bar'? _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?58547> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |