Re: BUG #6510: A simple prompt is displayed using wrong charset
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #6510: A simple prompt is displayed using wrong charset |
| Дата | |
| Msg-id | 26179.1350231042@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: BUG #6510: A simple prompt is displayed using wrong charset (Alexander Law <exclusion@gmail.com>) |
| Ответы |
Re: BUG #6510: A simple prompt is displayed using wrong
charset
|
| Список | pgsql-bugs |
Alexander Law <exclusion@gmail.com> writes:
> +#ifdef WIN32
> + termin = fopen("CONIN$", "r");
> + termout = fopen("CONOUT$", "w+");
> +#else
> termin = fopen(DEVTTY, "r");
> termout = fopen(DEVTTY, "w");
> +#endif
> if (!termin || !termout
My immediate reaction to this patch is "that's a horrible kluge, why
shouldn't we change the definition of DEVTTY instead?" Is there a
similar issue in other places where we use DEVTTY?
Also, why did you change the termout output mode, is that important
or just randomness?
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера