projects
/
chise
/
xemacs-chise.git-
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(U+9D09): Apply new conventions for glyph granularity.
[chise/xemacs-chise.git-]
/
src
/
md5.c
diff --git
a/src/md5.c
b/src/md5.c
index
901ca58
..
ec1337c
100644
(file)
--- a/
src/md5.c
+++ b/
src/md5.c
@@
-579,9
+579,9
@@
file-coding or Mule support. Otherwise, they are ignored.
while (1)
{
Bufbyte tempbuf[1024]; /* some random amount */
while (1)
{
Bufbyte tempbuf[1024]; /* some random amount */
- ssize_t size_in_bytes =
+ Lstream_data_count size_in_bytes =
Lstream_read (XLSTREAM (instream), tempbuf, sizeof (tempbuf));
Lstream_read (XLSTREAM (instream), tempbuf, sizeof (tempbuf));
- if (!size_in_bytes)
+ if (size_in_bytes <= 0)
break;
/* Process the bytes. */
break;
/* Process the bytes. */