|
| From: | Philip Nienhuis |
| Subject: | [Octave-bug-tracker] [bug #58332] pkg.m returns empty for 'local-list' in case of argment with leading tilde |
| Date: | Thu, 7 May 2020 17:23:54 -0400 (EDT) |
| User-agent: | Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0 |
URL:
<https://savannah.gnu.org/bugs/?58332>
Summary: pkg.m returns empty for 'local-list' in case of
argment with leading tilde
Project: GNU Octave
Submitted by: philipnienhuis
Submitted on: Thu 07 May 2020 11:23:52 PM CEST
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Philip Nienhuis
Originator Email:
Open/Closed: Open
Release: 6.0.90
Discussion Lock: Any
Operating System: GNU/Linux
_______________________________________________________
Details:
>> pkg 'local_list'
/home/philip/.octave_packages
>> pkg 'local_list' ~/some_new_file
>> pkg 'local_list'
>>
The culprit is in the case block after L.559 where tilde expansion seems to
have been forgotten. As a consequence on L.574 canonicalize-file-name returns
empty.
A patch will be uploaded once I have a bug number.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58332>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |