bugGNU Octave - Bugs: bug #57290, warning flags "on",...

 
 

bug #57290: warning flags "on", "off", etc. are case sensitive

Submitter:  Guillaume <gyom>
Submitted:  Fri 22 Nov 2019 10:18:42 AM UTC
   
 
Category:  Octave Function Severity:  2 - Minor
Priority:  3 - Low Item Group:  Matlab Compatibility
Status:  Fixed Assigned to:  None
Originator Name:  Guillaume Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 25 Nov 2019 06:16:01 PM UTC, comment #2: 

I checked in a fix for this bug on the development branch here https://hg.savannah.gnu.org/hgweb/octave/rev/ae821ac9ec74.

This will be a part of the 6.1 release of Octave.  Closing report.

Rik <rik5>
Group administrator
Fri 22 Nov 2019 02:10:27 PM UTC, comment #1: 

Confirmed.  I'm re-tagging this as a Matlab compatibility report since I verified that Matlab does not care about the case of the input.

Rik <rik5>
Group administrator
Fri 22 Nov 2019 10:18:42 AM UTC, original submission:  

Only the lower case version of the warning flags ("on", "off", "query", "error") are understood correctly, see e.g.:


> warning ("off", "foo:bar");
> warning ("OFF", "foo:bar");
warning: OFF


Guillaume <gyom>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by gyom (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-11-25 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2019-11-22 rik5 Severity3 - Normal 2 - Minor
        Priority5 - Normal 3 - Low
        Item GroupMissed Error or Warning Matlab Compatibility
        StatusNone Confirmed
        Summarywarning flags are case sensitive warning flags "on", "off", etc. are case sensitive

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code