Re: pgsql: Windows doesn't have strtok_r, so let's use strtok_s instead. - Mailing list pgsql-committers

From Michael Meskes
Subject Re: pgsql: Windows doesn't have strtok_r, so let's use strtok_s instead.
Date
Msg-id 20120219135237.GA22320@feivel.credativ.lan
Whole thread Raw
In response to Re: pgsql: Windows doesn't have strtok_r, so let's use strtok_s instead.  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-committers
On Sat, Feb 18, 2012 at 03:12:21PM -0500, Andrew Dunstan wrote:
> Sorry, it looks like I was mistaken, and neither of these is
> available on mingw. Could you just use plain strtok(), possibly on a
> copy of the string?

I got tired of worrying about these differences and simply wrote the code
needed directly in ecpglib. Hopefully this will put this problem to rest.

Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at googlemail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL

pgsql-committers by date:

Previous
From: Michael Meskes
Date:
Subject: pgsql: In ecpglib rewrote code that used strtok_r to not use library fu
Next
From: Andrew Dunstan
Date:
Subject: pgsql: Improve pretty printing of viewdefs.