%% Markus Mauhart <[EMAIL PROTECTED]> writes: mm> OTOH the whole patch is redundant once Paul follows your previous mm> suggestion to removes sindex() and switches to strstr(). mm> Allthough sindex() has a more sophisticated semantic than strstr() mm> (sindex() can deal with strings w/o term zero), that case is never mm> used in make381beta1: either blen/slen are compile time constants mm> > 0 equal to strlen(string litteral), or they are values that have mm> been just computed via strlen(big/small).
I'm pretty sure there _ARE_ places in make which invoke sindex() with length values which are less than EOS; in fact I think I even thought I'd provided an example but I can't find it at the moment. I'd have to look at it again to be sure though. -- ------------------------------------------------------------------------------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://make.paulandlesley.org "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/help-make
