
> . using "wb" for writing out on Windows is so that we don't 
> get Windows' gratuitous addition of carriage returns. I will document that.

Please use the #define PG_BINARY_W from c.h which is defined
with the correct letters for all platforms ("wb" on Windows).

That is how Peter's comment was meant.

Andreas

Wed, 8 Oct 2003 13:55:58 +0200
"Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.at>
Re: new initdb.c available
Zeugswetter Andreas SB SD wrote:

>>. using "wb" for writing out on Windows is so that we don't 
>>get Windows' gratuitous addition of carriage returns. I will document that.
>>    
>>
>
>Please use the #define PG_BINARY_W from c.h which is defined
>with the correct letters for all platforms ("wb" on Windows).
>
>That is how Peter's comment was meant.
>
>  
>
Ahh. Ok. thanks.

cheers

andrew


Wed, 08 Oct 2003 08:59:20 -0400
Andrew Dunstan <andrew@dunslane.net>
Re: new initdb.c available