delorie.com/archives/browse.cgi | search |
Date: | Sat, 20 Jan 2001 15:33:36 +0200 |
From: | "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> |
Sender: | halo1 AT zahav DOT net DOT il |
To: | "Tim Van Holder" <tim DOT van DOT holder AT pandora DOT be> |
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: | <NEBBIOJNGMKPNOBKHCGHKENKCAAA.tim.van.holder@pandora.be> |
Subject: | Re: [patch] L_ctermid in stdio.h |
References: | <NEBBIOJNGMKPNOBKHCGHKENKCAAA DOT tim DOT van DOT holder AT pandora DOT be> |
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 |
> From: "Tim Van Holder" <tim DOT van DOT holder AT pandora DOT be> > 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.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |