Code

[PATCH] strcasestr compatibility replacement
authorLinus Torvalds <torvalds@osdl.org>
Mon, 19 Sep 2005 01:30:50 +0000 (18:30 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 19 Sep 2005 15:49:39 +0000 (08:49 -0700)
commitef34af24dc457f7a3ccfd8047e3d21e07f3f55e4
treeca37686692dbfcd93e17fa19f423ec1be8505e21
parent727132834e6be48a93c1bd6458a29d474ce7d5d5
[PATCH] strcasestr compatibility replacement

Some C libraries lack strcasestr(); add a stupid replacement
to help folks with such.

[jc: original Linus posting, updated with his "also need <ctype.h>",
 updated further with a fix from Joachim B Haga <cjhaga@fys.uio.no>"]

Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile
compat/strcasestr.c [new file with mode: 0644]