bugGNU Octave - Bugs: bug #50301, small error in 'sleep' and...

 
 

bug #50301: small error in 'sleep' and 'usleep' docstring

Submitter:  None
Submitted:  Tue 14 Feb 2017 12:21:03 PM UTC
   
 
Category:  Documentation Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Documentation
Status:  Fixed Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.2.0
Operating System:  * Any Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 14 Feb 2017 07:23:12 PM UTC, comment #1: 

Thanks for noticing this.  I made the fix here (http://hg.savannah.gnu.org/hgweb/octave/rev/b5b86a6e96b8).  This will be part of the 4.2.1 bug fix release.

Rik <rik5>
Group administrator
Tue 14 Feb 2017 12:21:03 PM UTC, original submission:  

There are trailing '\n\' in 'sleep' and 'usleep' docstring,
although these functions are deprecated.


diff -u /usr/share/octave/4.2.0/m/deprecated/sleep.m ./sleep.m
--- /usr/share/octave/4.2.0/m/deprecated/sleep.m
+++ ./sleep.m
@@ -17,7 +17,7 @@
 ## <http://www.gnu.org/licenses/>.

 ## -*- texinfo -*-
-## @deftypefn {} {} sleep (@var{seconds})\n\
+## @deftypefn {} {} sleep (@var{seconds})
 ##
 ## @code{sleep} is deprecated and will be removed in Octave version 4.6.
 ## Use @code{pause} instead.
diff -u /usr/share/octave/4.2.0/m/deprecated/usleep.m ./usleep.m
--- /usr/share/octave/4.2.0/m/deprecated/usleep.m
+++ ./usleep.m
@@ -17,7 +17,7 @@
 ## <http://www.gnu.org/licenses/>.

 ## -*- texinfo -*-
-## @deftypefn {} {} usleep (@var{microseconds})\n\
+## @deftypefn {} {} usleep (@var{microseconds})
 ##
 ## @code{usleep} is deprecated and will be removed in Octave version 4.6.
 ## Use @code{pause} instead.


Anonymous

 

(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 None (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-02-14 rik5 StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code