[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53829] small error found in deprecated md5sum
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #53829] small error found in deprecated md5sum.m docstring in stable branch |
Date: |
Thu, 3 May 2018 22:45:23 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
URL:
<http://savannah.gnu.org/bugs/?53829>
Summary: small error found in deprecated md5sum.m docstring
in stable branch
Project: GNU Octave
Submitted by: None
Submitted on: Fri 04 May 2018 02:45:22 AM UTC
Category: Documentation
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Documentation
Status: None
Assigned to: None
Originator Name:
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 4.2.2
Operating System: Any
_______________________________________________________
Details:
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
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53829>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #53829] small error found in deprecated md5sum.m docstring in stable branch,
anonymous <=