FreeBSD Bugzilla – Attachment 136319 Details for
Bug 181493
[PATCH] www/nostromo: Fix build with clang plust other fixes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch-src-libmy-strb64d
patch-src-libmy-strb64d (text/plain; charset=us-ascii), 521 bytes, created by
ast
on 2013-09-15 10:14:03 UTC
(
hide
)
Description:
patch-src-libmy-strb64d
Filename:
MIME Type:
Creator:
ast
Created:
2013-09-15 10:14:03 UTC
Size:
521 bytes
patch
obsolete
>$NetBSD$ > >Better style, clang fails to compile here > >--- src/libmy/strb64d.c.orig 2013-09-10 09:58:37.814139989 +0200 >+++ src/libmy/strb64d.c 2013-09-10 10:00:47.489957357 +0200 >@@ -47,14 +47,14 @@ > int > strb64d(char *dst, const char *src, const int dsize) > { >- int ch, i, j = 0; >+ int ch, i, j; > char out[3]; > unsigned char in_a[4], in_b[4]; > > dst[0] = '\0'; > > while (1) { >- for (i = 0, j = j; i < 4; i++, j++) { >+ for (i = 0, j = 0; i < 4; i++, j++) { > if (src[j] == '\0') > goto quit; > ch = src[j];
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 181493
:
136313
|
136314
|
136315
|
136316
|
136317
|
136318
| 136319