octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44981] strcat: allow call with empty argument


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #44981] strcat: allow call with empty argument list
Date: Fri, 01 May 2015 15:27:15 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.6.0

Follow-up Comment #1, bug #44981 (project octave):

Attached suggested changeset.

In strvcat the changes are mostly dropping the indentation one level. I simply
dropped the check for nargin which automatically makes it loop zero times and
return an empty string.

On the case of strcat and cstrcat because [cellstr{:}] returns an empty matrix
of class double, I was more specific.

(file #33857)
    _______________________________________________________

Additional Item Attachment:

File name: allow-empty-arguments-strcat.cset Size:5 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44981>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]