| От | Andrew Dunstan |
|---|---|
| Тема | Re: [HACKERS] use of pager on Windows psql |
| Дата | |
| Msg-id | 483037D9.1030900@dunslane.net обсуждение исходный текст |
| Ответ на | Re: [HACKERS] use of pager on Windows psql (Bruce Momjian <bruce@momjian.us>) |
| Список | pgsql-patches |
Bruce Momjian wrote:
>
>
>> This broke the buildfarm and finally explains the following kluge which
>> has been puzzling me for four years:
>>
>> /*
>> * for some reason MinGW (and MSVC) outputs an extra newline, so
>> this
>> * suppresses it
>> */
>> #ifndef WIN32
>> fputc('\n', fout);
>> #endif
>>
>> I have removed the kluge (and yes, I tested it).
>>
>
> Oh, that kluge. Why did the isatty() addition fix this? Was the pager
> being used on Win32 for the regression tests and somehow eating a line
> or something?
>
It apparently produced an extra line which we had compensated for with
the kluge (without really understanding why we had to).
Anyway, all is good now, as the buildfarm shows.
cheers
andrew
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера