git: md5(1): Improve the previous commit

Aaron LI aly at crater.dragonflybsd.org
Tue Mar 5 06:42:11 PST 2024


commit 2d52e8a36991cf7a11cb9f0be4a8f6e8a5a27948
Author: Aaron LI <aly at aaronly.me>
Date:   Tue Mar 5 22:30:12 2024 +0800

    md5(1): Improve the previous commit
    
    Improve digestbig() to further check for read() errors and return NULL
    in that case.
    
    Add a comment to explain why can't use file size (st_size).

Summary of changes:
 sbin/md5/md5.c | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2d52e8a36991cf7a11cb9f0be4a8f6e8a5a27948


-- 
DragonFly BSD source repository


More information about the Commits mailing list