Searched hist:"16150352 f592cc00900ab9eefbfd248a975230d2" (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/netbsd-tests/lib/libc/string/ |
H A D | t_memmem.c | diff 16150352f592cc00900ab9eefbfd248a975230d2 Tue May 26 23:16:07 CEST 2015 Ed Maste <emaste@FreeBSD.org> memmem(3): empty little string matches the beginning of the big string
This function originated in glibc, and this matches their behaviour (and NetBSD, OpenBSD, and musl).
An empty big string (arg "l") is handled by the existing l_len < s_len test.
Reviewed by: bapt, ngie Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D2657
|
/freebsd/lib/libc/string/ |
H A D | memmem.3 | diff 16150352f592cc00900ab9eefbfd248a975230d2 Tue May 26 23:16:07 CEST 2015 Ed Maste <emaste@FreeBSD.org> memmem(3): empty little string matches the beginning of the big string
This function originated in glibc, and this matches their behaviour (and NetBSD, OpenBSD, and musl).
An empty big string (arg "l") is handled by the existing l_len < s_len test.
Reviewed by: bapt, ngie Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D2657
|
H A D | memmem.c | diff 16150352f592cc00900ab9eefbfd248a975230d2 Tue May 26 23:16:07 CEST 2015 Ed Maste <emaste@FreeBSD.org> memmem(3): empty little string matches the beginning of the big string
This function originated in glibc, and this matches their behaviour (and NetBSD, OpenBSD, and musl).
An empty big string (arg "l") is handled by the existing l_len < s_len test.
Reviewed by: bapt, ngie Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D2657
|