Re: Bug in Octave 8.2.0

Markus Mützel <[email protected]> Mon, 3 Jul 2023 13:08:27 +0200
Newsgroups gmane.comp.gnu.octave.general
Message-ID <trinity-a7dddd12-97c9-44f2-a404-b9754bb822f9-1688382507358@3c-app-gmx-bap09>
Ian,

That looks like a bug to me, too.

Could you please open a report on GNU Octave - Bugs: Submit Item [Savannah] ?

Markus

Gesendet: Montag, 03. Juli 2023 um 12:13 Uhr

Von: "Ian McCallion" <[email protected]>

An: [email protected]

Betreff: Re: Bug in Octave 8.2.0

The problem seems to be in the first line of fullfile which converts all empty parameters into []

On Mon, 3 Jul 2023 at 11:01, Ian McCallion <[email protected] > wrote:

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 ''

Cheers... Ian

---------- We are transitioning to a web based forum for community help discussions at https://octave.discourse.group/c/help


----------
We are transitioning to a web based forum
for community help discussions at
https://octave.discourse.group/c/help