(trunk libT) #3867 "memmem(3) in Solaris 11 doesn't work as expected" -- fixed.

This commit is contained in:
Charles Kerr 2011-01-02 07:56:20 +00:00
parent 3192dae8c0
commit 36c8843ba5
1 changed files with 0 additions and 3 deletions

View File

@ -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;
}