bugGNU Octave - Bugs: bug #53829, small error found in deprecated...

 
 

bug #53829: small error found in deprecated md5sum.m docstring in stable branch

Submitter:  None
Submitted:  Fri 04 May 2018 02:45:22 AM 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.4.0
Operating System:  * Any Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 04 May 2018 04:05:39 AM UTC, comment #1: 

Fixed here: http://hg.savannah.gnu.org/hgweb/octave/rev/087030cf86a0.

Thanks for yet another documentation patch.

Rik <rik5>
Group administrator
Fri 04 May 2018 02:45:22 AM UTC, original submission:  

For string input parameter STR, fileread() should not be used.

Patch:

--- a/scripts/deprecated/md5sum.m        2018-05-04 10:25:37.141415658 +0800
+++ b/scripts/deprecated/md5sum.m        2018-05-04 10:30:01.944756620 +0800
@@ -24,21 +24,21 @@
 ## For equivalent functionality replace calls like @code{md5sum (@var{file})}
 ## with:
 ##
 ## @example
 ## hash ("md5", fileread (@var{file}))
 ## @end example
 ##
 ## And calls like @code{md5sum (@var{str}, true)} with:
 ##
 ## @example
-## hash ("md5", fileread (@var{str}))
+## hash ("md5", @var{str})
 ## @end example
 ##
 ## Calculate the MD5 sum of the file @var{file}.
 ##
 ## If the second parameter @var{opt} exists and is true, then calculate the MD5
 ## sum of the string @var{str}.
 ##
 ## @seealso{hash, fileread}
 ## @end deftypefn


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

    Date Changed by Updated Field Previous Value => Replaced by
    2018-05-04 rik5 StatusNone Fixed
        Open/ClosedOpen Closed
        Release4.2.2 4.4.0

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code