Re: windows consolidated cleanup - Mailing list pgsql-hackers

From Tom Lane
Subject Re: windows consolidated cleanup
Date
Msg-id 22624.1303661656@sss.pgh.pa.us
Whole thread Raw
In response to Re: windows consolidated cleanup  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: windows consolidated cleanup  (Andrew Dunstan <andrew@dunslane.net>)
List 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 by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: windows consolidated cleanup
Next
From: Tom Lane
Date:
Subject: Re: windows consolidated cleanup