[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sindex() and strstr() //Re: To Paul D. Smith: "make -j" as a grea tt
From: |
Paul D. Smith |
Subject: |
Re: sindex() and strstr() //Re: To Paul D. Smith: "make -j" as a grea ttool for SMP and cluster parallelization |
Date: |
Fri, 16 Jul 2004 14:30:15 -0400 |
%% Markus Mauhart <address@hidden> 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 <address@hidden> 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