Am Mittwoch, 13. Juni 2012, 15:47:59 schrieb Vicente Hernando: > Looking into strstr man page: char *strstr(const char *haystack, const > char *needle); > > the patch advantage would be it already knows string lengths and has not > to calculate them. Otherwise I expect strstr use a similar to Raita > algoritm.
Hello Vincente, in the past I replaced some internally re-implemented string functions with the ones from the glibc. So in my opinion we could do the same with this function here, maybe add a small wrapper around it to not change the signature. Regards, Henning _______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
