> 
> Spencer Oliver wrote:
> > strok_r is not available on win32 - strok is said to be 
> reentrant on win32.
> > Not near a dev pc at the moment so i thought i would point 
> it out - i 
> > can make the change later if you do not have time.
> >   
> 
> Hmm...  Perhaps we should add "strtok_r()" to the replacments.c file.
> 
> We could take an instance from Newlib - it has a BSD licensed 
> implimentation.
> 
> What do you think?
> 

i think just using the win32 strtok will be fine - msdn state it as being
thread safe.
the other msdn choice is to use strtok_s, but that seesm to also be missing
from mingw.

http://social.msdn.microsoft.com/forums/en-US/vcgeneral/thread/963aac07-da1a
-4612-be4a-faac3f1d65ca

Cheers
Spen
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to