cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] curl_darwinssl.c: unsafe use of strtok

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 5 Aug 2014 09:00:43 +0200 (CEST)

On Mon, 4 Aug 2014, Toby Peterson wrote:

> It occurs to me that this should probably add #include "strtok.h" for
> platforms that don't have strtok_r, but I have no easy way to verify that.

Thanks! I added the include before I pushed this change.

I think the include is harmless but also probably mostly probably pointless as
I'm not sure there is any platform without strtok_r() that uses darwinssl...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-08-05