author | Linus Torvalds <torvalds@osdl.org> | |
Mon, 19 Sep 2005 01:30:50 +0000 (18:30 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 19 Sep 2005 15:49:39 +0000 (08:49 -0700) | ||
commit | ef34af24dc457f7a3ccfd8047e3d21e07f3f55e4 | |
tree | ca37686692dbfcd93e17fa19f423ec1be8505e21 | tree | snapshot |
parent | 727132834e6be48a93c1bd6458a29d474ce7d5d5 | commit | diff |
[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>
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 | diff | blob | history | |
compat/strcasestr.c | [new file with mode: 0644] | blob |