[Spice-devel] [usbredir PATCH 6/6] usbredirfilter: fix filter parsing for windows (mingw)

Uri Lublin uril at redhat.com
Mon May 7 06:30:22 PDT 2012


On 05/03/2012 07:09 PM, Christophe Fergeau wrote:
> On Thu, May 03, 2012 at 06:04:39PM +0300, Uri Lublin wrote:
>> From: Arnon Gilboa<agilboa at redhat.com>
>>
>> no strtok_r (reentrent) available, so use strtok instead.
> Wouldn't it be safer to use strtok_s? Any application using threads and
> strtok and libusbredirparser could get issues with this change no?
>

It seems mingw32 does not support strtok_s

The first implementation was with ifdef for linux and Win32.
I'll send another patch with it.

Thanks for the quick review,
     Uri.



More information about the Spice-devel mailing list