Changeset 11619


Ignore:
Timestamp:
Jan 2, 2011, 7:56:20 AM (11 years ago)
Author:
charles
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils-test.c

    r11618 r11619  
    294294    check( tr_memmem( haystack, sizeof haystack, needle, sizeof needle) == haystack + 2 )
    295295    check( tr_memmem( needle, sizeof needle, haystack, sizeof haystack) == NULL )
    296     check( tr_memmem( haystack, sizeof haystack, "", 0) == haystack )
    297     check( tr_memmem( haystack, sizeof haystack, NULL, 0) == haystack )
    298     check( tr_memmem( haystack, 0, "", 0) == haystack )
    299296
    300297    return 0;
Note: See TracChangeset for help on using the changeset viewer.