Page MenuHomeFreeBSD

D41011.diff
No OneTemporary

D41011.diff

diff --git a/lib/libc/string/bcmp.c b/lib/libc/string/bcmp.c
--- a/lib/libc/string/bcmp.c
+++ b/lib/libc/string/bcmp.c
@@ -51,7 +51,7 @@
p2 = (char *)b2;
do
if (*p1++ != *p2++)
- break;
+ return (1);
while (--length);
- return (length);
+ return (0);
}

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 12, 1:47 PM (20 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15769855
Default Alt Text
D41011.diff (268 B)

Event Timeline