Page MenuHomeFreeBSD

D9936.diff
No OneTemporary

D9936.diff

Index: head/usr.bin/uuencode/uuencode.c
===================================================================
--- head/usr.bin/uuencode/uuencode.c
+++ head/usr.bin/uuencode/uuencode.c
@@ -160,7 +160,7 @@
fprintf(output, "begin-base64 %o %s\n", mode, *av);
while ((n = fread(buf, 1, sizeof(buf), stdin))) {
++sequence;
- rv = b64_ntop(buf, n, buf2, (sizeof(buf2) / sizeof(buf2[0])));
+ rv = b64_ntop(buf, n, buf2, nitems(buf2));
if (rv == -1)
errx(1, "b64_ntop: error encoding base64");
fprintf(output, "%s%s", buf2, (sequence % GROUPS) ? "" : "\n");

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 10:29 PM (14 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15547963
Default Alt Text
D9936.diff (568 B)

Event Timeline