On Sep 23, 2006, at 7:54 AM, Geir Magnusson Jr. wrote:


Ok. I think it's straightforward - look to see if the full string is
there by seeing if

   *(ptr + strstr() + 1) == either null or separator
Will not work. We should do this in loop at least.

Yes, that was shorthand for "for each match of the dir in the oldpath, see if the next char is a separator or the null at the end. if so, you found a match, otherwise keep going"


And on second glance, it was terrible shorthand as I forgot the strlen() :)

geir


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to