bugGNU Octave - Bugs: bug #42346, netcdf: fprintf usage in ncdisp...

 
 

bug #42346: netcdf: fprintf usage in ncdisp (see also bug #42345)

Submitter:  Muhali <muhali>
Submitted:  Tue 13 May 2014 03:40:38 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 10 Jun 2015 01:55:49 PM UTC, comment #2: 


Sorry for my late response, but this issue is fixed.

https://sourceforge.net/p/octave/code/12746/

I use fprintf('%s',msg) instead of fprintf(msg);

Thank you for reporting it.

Alexander Barth <abarth>
Tue 13 May 2014 03:57:51 PM UTC, comment #1: 

Thanks for reporting based on my comment, appreciate it. I'm adding the netcdf maintainer to the cc list on this bug report.

If Matlab compatibility is not needed, puts is better than a printf function when you aren't using any conversion strings.

If the maintainer wishes the netcdf package to stay Matlab compatible, just use


fprintf('%s', foo);


instead, since I don't think puts works in Matlab.

Mike Miller <mtmiller>
Group Member
Tue 13 May 2014 03:40:38 PM UTC, original submission:  

as mentioned here:

the ncdisp command should avoid the fprintf function (last two instances) and use puts instead.

Muhali <muhali>

 

(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 abarth (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by mtmiller
  • -email is unavailable- added by muhali (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
    2015-06-10 mtmiller StatusNone Fixed
        Open/ClosedOpen Closed
    2014-05-13 mtmiller Item GroupNone Incorrect Result
        Carbon-Copy- Added abarth

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code