On Tue, Mar 09, 2004 at 09:56:34AM +0000, [EMAIL PROTECTED] wrote:
> 
> Date: Tue Mar  9 09:56:34 2004
> Author:       abartlet
> 
> Update of /home/cvs/samba/source/lib
> In directory dp.samba.org:/tmp/cvs-serv7507/lib
> 
> Modified Files:
>       Tag: SAMBA_3_0
>       util_str.c 
> Log Message:
> JRA's recent strstr_m work really badly broke our string_sub code.  
> 
> For example:
> 
> strstr_m("%v foo bar", "%v") would fail...
> 
> only strstr_m("foo %v", "%v") could work.
> 
> I wonder what else this broke...
> 
> Fix is to move to using strncmp() inside the strstr_m function.

Ah yes - thanks for catching that ! I knew this would scare up
lots of early bugs if I screwed it up :-). Glad it was only a
short fix (ie. I think the general framework of the code was
correct).

Thanks,

        Jeremy.

Reply via email to