mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
ae2643a80f
- Don't use O_EXCL. [1] - Rename touched patches to patch-<patched file> format. - Import some fixes from Debian. PR: ports/93967 [1] Submitted by: Paul Schmehl <pauls@utdallas.edu> [1]
12 lines
274 B
C
12 lines
274 B
C
--- codes.c
|
|
+++ codes.c
|
|
@@ -128,7 +128,7 @@
|
|
int nbytes;
|
|
|
|
MD5Init(&context);
|
|
- while (nbytes = fread(buf, 1, sizeof(buf), infile)) {
|
|
+ while ((nbytes = fread(buf, 1, sizeof(buf), infile))) {
|
|
length += nbytes;
|
|
MD5Update(&context, buf, nbytes);
|
|
}
|