projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use bb_xbind/bb_xlisten
[oweals/busybox.git]
/
coreutils
/
md5_sha1_sum.c
diff --git
a/coreutils/md5_sha1_sum.c
b/coreutils/md5_sha1_sum.c
index 633b6e534b89ceb6122fe9c4eefe21e786ddc4f3..eeee1844954a935555aee12427c0665f1d23f81d 100644
(file)
--- a/
coreutils/md5_sha1_sum.c
+++ b/
coreutils/md5_sha1_sum.c
@@
-71,7
+71,7
@@
static uint8_t *hash_file(const char *filename, hash_algo_t hash_algo)
bb_error_msg_and_die("algorithm not supported");
}
- while (0 < (count = read(src_fd, in_buf,
sizeof in_buf
))) {
+ while (0 < (count = read(src_fd, in_buf,
4096
))) {
update(in_buf, count, &context);
}