Alexander Law <exclus...@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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to