bugGNU Octave - Bugs: bug #38009, "orderfields" function...

 
 

bug #38009: "orderfields" function documentation error

Submitter:  Robert Walton <bwalton>
Submitted:  Tue 01 Jan 2013 05:34:46 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Documentation
Status:  Fixed Assigned to:  None
Originator Name:  Robert Walton Open/Closed:  * Closed
Release:  * 3.6.2 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 03 Jan 2013 04:51:10 AM UTC, comment #2: 

The patch was applied to the development branch of Octave in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/6be613476e37).  It will show up in the next major release of Octave.

Rik <rik5>
Group administrator
Wed 02 Jan 2013 02:11:27 PM UTC, comment #1: 

Hi Robert,
thank you for reporting this bug. I've attached a patch to solve this.

Although I'm not a octave maintainer I want to encourage you to fix such documentation error yourself and attach a diff which can be used from developers to patch the source.

Thanks again, regards Andy

(file #27185)

Andreas Weber <andy1978>
Group Member
Tue 01 Jan 2013 05:34:46 PM UTC, original submission:  

Line 51 of the "orderfields" function reads:

## t = struct("d", @{@}, "c", @{@}, "b", "a", @{@});

It appears to be missing ", @{@}" after the "b" argument.  It should read like:

## t = struct("d", @{@}, "c", @{@}, "b", @{@}, "a", @{@});

This was noticed in the HTML documentation:  http://www.gnu.org/software/octave/doc/interpreter/Manipulating-Structures.html#Manipulating-Structures


Robert Walton <bwalton>

 

(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 rik5 (Posted a comment)
  • -email is unavailable- added by jordigh (Updated the item)
  • -email is unavailable- added by andy1978 (Updated the item)
  • -email is unavailable- added by bwalton (Submitted the item)
  • -email is unavailable- added by bwalton
  •  

    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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-01-03 rik5 StatusPatch Submitted Fixed
        Open/ClosedOpen Closed
    2013-01-02 jordigh StatusNone Patch Submitted
    2013-01-02 andy1978 Attached File- Added doc_fix_bug38009_oderfields.diff, #27185
    2013-01-01 bwalton Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code