[Spice-devel] [usbredir v2 PATCH] usbredirfilter: Win32: implement strtok_r to be used by windows (win_strtok_r)
cfergeau at redhat.com
Wed May 30 03:40:52 PDT 2012
On Mon, May 28, 2012 at 11:04:54AM +0200, Hans de Goede wrote:
> On 05/24/2012 04:40 PM, Uri Lublin wrote:
> >mingw imlpements neigther strtok_r nor strtok_s.
> >So here is a simple implementation of strtok_r (for windows).
> >It assumes the delimiter is a single character, which is
> >good enough for usbredirfilter.
> If we're going to do this I would prefer to do a full
> implementation, without the delimiter is a single char
> limit. I know this is not important right now, but we
> might start depending on multi-char delimiters in the
> future and then this will come back to bite us.
Other projects with the same issue seem to be reusing glibc's code
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: not available
More information about the Spice-devel