Fix for /dev/tty on Win32

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Fix for /dev/tty on Win32
Date: 2006-03-04 04:37:56
Message-ID: 200603040437.k244bu224602@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

I found a better solution to the /dev/tty on Win32. I used 'con' which
works fine on Win32 except using the Msys 1.0.10 console, but it is
probably the best solution. Can someone test if newer Msys consoles
work with this?

Added DEVTTY macro for simplicity.

Applied to 8.0.X, 8.1.X, and HEAD.

--
Bruce Momjian http://candle.pha.pa.us
SRA OSS, Inc. http://www.sraoss.com

+ If your life is a hard drive, Christ can be your backup. +

Attachment Content-Type Size
unknown_filename text/plain 2.9 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2006-03-04 04:41:49 Re: [HACKERS] ACCESS EXCLUSIVE LOCK
Previous Message Bruce Momjian 2006-03-04 03:47:43 Re: OS X shared memory documentation