Re: windows consolidated cleanup

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: windows consolidated cleanup
Дата
Msg-id 22624.1303661656@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: windows consolidated cleanup  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: windows consolidated cleanup  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> The hunk below looks a bit evil.
> At least a comment would be good to explain why this is necessary.

Yeah, having to cast away const seems uglier than the original problem.
Can't we avoid that?

BTW, all of my machines as well as the Single Unix Spec are agreed that
the second argument to send() is "const void *", not "const char *".
If we're going to tweak this I think we should make it match exactly.
        regards, tom lane


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: windows consolidated cleanup
Следующее
От: Tom Lane
Дата:
Сообщение: Re: windows consolidated cleanup