replace: allow memmem() with an empty string to return NULL
authorAndrew Tridgell <tridge@samba.org>
Tue, 30 Mar 2010 07:12:46 +0000 (18:12 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 30 Mar 2010 09:34:17 +0000 (20:34 +1100)
commit08e0d94faedc0793958183372f26f778f8ec8953
tree87eeba1e9d625c43cbbb677741208179b796dc87
parentcc2ef27e369f0950ec931bf15cba4665c053ac53
replace: allow memmem() with an empty string to return NULL

This is how FreeBSD behaves. We don't rely on it returning the string
in Samba.
lib/replace/test/testsuite.c