Module Name: src
Committed By: riastradh
Date: Sat Dec 14 16:48:05 UTC 2024
Modified Files:
src/common/lib/libc/string: memmem.c
Log Message:
memmem(3): Nix trailing whitespace.
No functional change intended.
Preparation for:
PR lib/58906: memmem.c: sync with musl upstream that fixes UB on signed overflow
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/common/lib/libc/string/memmem.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/common/lib/libc/string/memmem.c
diff -u src/common/lib/libc/string/memmem.c:1.4 src/common/lib/libc/string/memmem.c:1.5
--- src/common/lib/libc/string/memmem.c:1.4 Sun May 16 09:43:39 2021
+++ src/common/lib/libc/string/memmem.c Sat Dec 14 16:48:05 2024
@@ -25,7 +25,7 @@
#if 0
__FBSDID("$FreeBSD: head/lib/libc/string/memmem.c 315468 2017-03-18 00:53:24Z emaste $");
#else
-__RCSID("$NetBSD: memmem.c,v 1.4 2021/05/16 09:43:39 rillig Exp $");
+__RCSID("$NetBSD: memmem.c,v 1.5 2024/12/14 16:48:05 riastradh Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -34,7 +34,7 @@ __RCSID("$NetBSD: memmem.c,v 1.4 2021/05
#include <stdint.h>
#else
#include <lib/libkern/libkern.h>
-#endif
+#endif
static char *twobyte_memmem(const unsigned char *h, size_t k,
const unsigned char *n)