This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Konjkov
Recipients Konjkov, georg.brandl, kraai, loewis
Date 2007-09-19.05:22:22
SpamBayes Score 0.0018615108
Marked as misclassified No
Message-id <1190179343.07.0.283236632495.issue1722225@psf.upfronthosting.co.za>
In-reply-to
Content
addition
TCGETA is a constant. That's right!
under QNX4 TCGETA defined as MACRO in <sys/ioctl.h>. That's right!
in Modules/termios.c there's
#include <sys/ioctl.h>
That's right too!
What's problem after all?
Problem is that MACRO definition of TCGETA need sizeof(struct termio),
that's (struct termio) defined in <sys/termio.h>.
But <sys/termio.h> not included in <sys/ioctl.h> instead of it
<sys/ioctl.h> included in <sys/termio.h> and we need, if we want to 
have TCGETA, start with <sys/termio.h> that's included both 
<sys/ioctl.h> and <termios.h> too and do it right way!
It's clearly now?
History
Date User Action Args
2007-09-19 05:22:23Konjkovsetspambayes_score: 0.00186151 -> 0.0018615108
recipients: + Konjkov, loewis, georg.brandl, kraai
2007-09-19 05:22:23Konjkovsetspambayes_score: 0.00186151 -> 0.00186151
messageid: <1190179343.07.0.283236632495.issue1722225@psf.upfronthosting.co.za>
2007-09-19 05:22:23Konjkovlinkissue1722225 messages
2007-09-19 05:22:22Konjkovcreate