Date: Sat, 20 Jan 2001 15:33:36 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Tim Van Holder" Message-Id: <3791-Sat20Jan2001153335+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 CC: djgpp-workers AT delorie DOT com In-reply-to: Subject: Re: [patch] L_ctermid in stdio.h References: Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "Tim Van Holder" > Date: Sat, 20 Jan 2001 13:56:35 +0100 > > currently, this is #define'd away; however, the posix module > for Python uses: > > char buffer[L_ctermid]; > > which is rejected by the compiler. > > So I amended stdio.h to define it to 4 (ctermid always returns > "con", so 4 seems a good value). Someone might change ctermid, or otherwise use the Posix-standard /dev/tty. So I think 9 is better.