Re: [Openvpn-devel] strtok on Windows

2016-10-09 Thread Selva Nair
On Sun, Oct 9, 2016 at 11:02 AM, Selva Nair wrote: > As per MSDN, strtok on Windows is thread-safe --- uses thread-local > static for the internal state (though not reentrant). Anyone knows > whether this is true even when mingw is used --- does it use strtok from > Microsoft's run time or some i

[Openvpn-devel] strtok on Windows

2016-10-09 Thread Selva Nair
Hi, As per MSDN, strtok on Windows is thread-safe --- uses thread-local static for the internal state (though not reentrant). Anyone knows whether this is true even when mingw is used --- does it use strtok from Microsoft's run time or some internal implementation? I have patch for the GUI that u