bugGNU Octave - Bugs: bug #51869, 3rd output of uname should be...

 
 

bug #51869: 3rd output of uname should be empty string if successful

Submitter:  Avinoam Kalma <avinoam>
Submitted:  Sun 27 Aug 2017 05:52:11 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Avinoam Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 29 Aug 2017 02:05:52 PM UTC, comment #3: 

I added a test and pushed your change here:

http://hg.savannah.gnu.org/hgweb/octave/rev/382cc01a60e1

John W. Eaton <jwe>
Group administrator
Mon 28 Aug 2017 05:26:46 PM UTC, comment #2: 

Thanks, the patch fixed the bug (checked on win-7).

Avinoam Kalma <avinoam>
Group Member
Sun 27 Aug 2017 06:57:37 PM UTC, comment #1: 

With the attached patch, uname should return an empty error message when it was successful.

(file #41682)

Markus Mützel <mmuetzel>
Group administrator
Sun 27 Aug 2017 05:52:11 PM UTC, original submission:  



>> [~, err, msg] = uname ()
err = 0
msg = uname not supported on this system


but in uname documentation: "If successful, ERR is 0 and MSG is an empty string."

Avinoam Kalma <avinoam>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #41682:  bug51869_uname_msg.patch added by mmuetzel (653B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by mmuetzel (Updated the item)
  • -email is unavailable- added by avinoam (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
    2017-08-29 jwe StatusPatch Submitted Fixed
        Open/ClosedOpen Closed
    2017-08-27 mmuetzel StatusNone Patch Submitted
    2017-08-27 mmuetzel Attached File- Added bug51869_uname_msg.patch, #41682
        Release4.2.1 dev
        Operating SystemMicrosoft Windows Any
    2017-08-27 avinoam Summary3rd argument of uname should be empty string if successful 3rd output of uname should be empty string if successful

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code