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

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: pgsql: Windows doesn't have strtok_r, so let's use strtok_s instead.
Дата
Msg-id 4F400625.5000700@dunslane.net
обсуждение исходный текст
Ответ на Re: pgsql: Windows doesn't have strtok_r, so let's use strtok_s instead.  (Michael Meskes <meskes@postgresql.org>)
Ответы Re: pgsql: Windows doesn't have strtok_r, so let's use strtok_s instead.  (Michael Meskes <meskes@postgresql.org>)
Список pgsql-committers

On 02/18/2012 02:38 PM, Michael Meskes wrote:
> On Sat, Feb 18, 2012 at 12:40:43PM -0500, Andrew Dunstan wrote:
>>> Which one of these functions is available on MinGW?
> So what is the system on pitta? It says gcc, but doesn't seem to know strtok_r.
>
> I'm tempted to remove strtok and program the bits and pieces I need myself.
>


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?

cheers

andrew

В списке pgsql-committers по дате отправления:

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Re: pgsql: Windows doesn't have strtok_r, so let's use strtok_s instead.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Update expected/collate.linux.utf8.out for recent plpgsql change