From 36c8843ba5be2dc080797323e91b681a61822f0e Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sun, 2 Jan 2011 07:56:20 +0000 Subject: [PATCH] (trunk libT) #3867 "memmem(3) in Solaris 11 doesn't work as expected" -- fixed. --- libtransmission/utils-test.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libtransmission/utils-test.c b/libtransmission/utils-test.c index 1d460f5b6..34bc1cfc9 100644 --- a/libtransmission/utils-test.c +++ b/libtransmission/utils-test.c @@ -293,9 +293,6 @@ test_memmem( void ) check( tr_memmem( haystack, sizeof haystack, haystack, sizeof haystack) == haystack ) check( tr_memmem( haystack, sizeof haystack, needle, sizeof needle) == haystack + 2 ) check( tr_memmem( needle, sizeof needle, haystack, sizeof haystack) == NULL ) - check( tr_memmem( haystack, sizeof haystack, "", 0) == haystack ) - check( tr_memmem( haystack, sizeof haystack, NULL, 0) == haystack ) - check( tr_memmem( haystack, 0, "", 0) == haystack ) return 0; }