Обсуждение: Re: new initdb.c available

Поиск
Список
Период
Сортировка

Re: new initdb.c available

От
"Zeugswetter Andreas SB SD"
Дата:
> . 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


Re: new initdb.c available

От
Andrew Dunstan
Дата:
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