diff options
Diffstat (limited to 't/bin/content-md5-put')
-rwxr-xr-x | t/bin/content-md5-put | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/bin/content-md5-put b/t/bin/content-md5-put index c35c92c..4f02a85 100755 --- a/t/bin/content-md5-put +++ b/t/bin/content-md5-put @@ -22,7 +22,7 @@ if ARGV.grep("--no-headers").empty? end digest = Digest::MD5.new -if buf = $stdin.read(bs) +if buf = $stdin.readpartial(bs) begin digest.update(buf) $stdout.write("%x\r\n" % [ buf.size ]) |