Searched hist:283584 (Results 1 - 3 of 3) sorted by relevance

/freebsd-11.0-release/lib/libc/string/
H A Dmemmem.3diff 283584 Tue May 26 21:27:44 MDT 2015 emaste 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 Dmemmem.cdiff 283584 Tue May 26 21:27:44 MDT 2015 emaste 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-11.0-release/contrib/netbsd-tests/lib/libc/string/
H A Dt_memmem.cdiff 283584 Tue May 26 21:27:44 MDT 2015 emaste 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

Completed in 111 milliseconds