[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #64377] fullfile produces incorrect result on
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #64377] fullfile produces incorrect result on empty cell array |
Date: |
Mon, 3 Jul 2023 10:37:25 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?64377>
Summary: fullfile produces incorrect result on empty cell
array
Group: GNU Octave
Submitter: None
Submitted: Mon 03 Jul 2023 02:37:22 PM UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name: iamn
Originator Email: ian.mccallion@gmail.com
Open/Closed: Open
Release: 8.1.0
Discussion Lock: Any
Operating System: Microsoft Windows
Fixed Release: None
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Mon 03 Jul 2023 02:37:22 PM UTC By: Anonymous
fullfile() operates on strings or cells. so:
fullfile('path', {'a','b'})
produces:
ans =
{
[1,1] = path\a
[1,2] = path\b
}
However:
fullfile('path', {})
produces:
ans = path
This is surely a bug?? {} is not the same as ''
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64377>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #64377] fullfile produces incorrect result on empty cell array,
anonymous <=