harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <g...@pobox.com>
Subject Re: [classlib][launcher][drlvm] Running vm inside gdb
Date Sat, 23 Sep 2006 11:59:48 GMT

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: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message