bugGNU Octave - Bugs: bug #57082, [io] Inconsistent use of...

 
 

bug #57082: [io] Inconsistent use of "<fcn_name>: " prefix in error and warning messages

Submitter:  Andrew Janke <apjanke>
Submitted:  Sat 19 Oct 2019 04:34:23 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Fixed Assigned to:  philipnienhuis
Originator Name:  Open/Closed:  * Closed
Release:  * other Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 19 Oct 2019 12:36:00 PM UTC, comment #1: 

Pushed here, after fixing a few rejects (maybe due to the fixes for bug 57080):
http://hg.code.sf.net/p/octave/io/rev/efeaff3fc236

Philip Nienhuis <philipnienhuis>
Group Member
Sat 19 Oct 2019 04:34:23 AM UTC, original submission:  

The io Octave Forge package, as of 2.4.13, does the standard Octave thing of prefixing its error and (some) warning messages with "<fcn>: ", indicating which function raised the error. However:

  • Not all occurrences of error(...) use this prefix.
  • In some, the prefix includes the ".m" for the function M-file name; I don't think that's standard
  • In a couple places, it uses the wrong function name.


The attached patch cleans this up, making the error messages more consistent.

Andrew Janke <apjanke>

 

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

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by apjanke (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-10-19 philipnienhuis StatusNone Fixed
        Assigned toNone philipnienhuis
        Open/ClosedOpen Closed
    2019-10-19 apjanke Attached File- Added octave-io-consistent-fcn-name-prefix-in-error-messages.patch, #47717

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code