[tlbuild] strstr universal?

Boris Veytsman borisv at lk.net
Mon Mar 9 02:24:48 CET 2015


KB> Date: Sun, 8 Mar 2015 21:45:21 +0000
KB> From: Karl Berry <karl at freefriends.org>

KB> Pursuant to comments I got on kpathsea's replacement for strstr, I
KB> wonder if strstr is now universally available on all the systems for
KB> which TL is compiled.  I rather suspect so.  In which case I'd just as
KB> soon get rid of the replacement function in kpathsea instead of
KB> tinkering with it.

KB> If you don't know for sure about your platform, can you please try
KB> compiling (and linking :) the following two-line C program?

KB> #include <string.h>
KB> int main() { const char *a = strstr ("foo", "bar"); return 0; }

I was 100% sure any Debian system has strstr, but just for the fun of
doing it I complied this for arm-gnulinux.  Of course it works :)

-- 
Good luck

-Boris

That's the funniest thing I've ever heard and I will _not_ condone it.
		-- DyerMaker, 17 March 2000 MegaPhone radio show


More information about the tlbuild mailing list