Skip site navigation (1) Skip section navigation (2)

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

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Michael Meskes <meskes(at)postgresql(dot)org>, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Windows doesn't have strtok_r, so let's use strtok_s instead.
Date: 2012-02-19 13:52:37
Message-ID: 20120219135237.GA22320@feivel.credativ.lan (view raw or flat)
Thread:
Lists: 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

In response to

pgsql-committers by date

Next:From: Andrew DunstanDate: 2012-02-19 16:50:37
Subject: pgsql: Improve pretty printing of viewdefs.
Previous:From: Michael MeskesDate: 2012-02-19 13:50:43
Subject: pgsql: In ecpglib rewrote code that used strtok_r to not use libraryfu

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group