git: DragonFly_RELEASE_6_4 md5(1): Improve the previous commit

Aaron LI aly at crater.dragonflybsd.org
Tue Mar 5 06:43:33 PST 2024


commit 73c830425800e24b160d6c1fd35eb0a874856a33
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/73c830425800e24b160d6c1fd35eb0a874856a33


-- 
DragonFly BSD source repository


More information about the Commits mailing list