[Patches] [ python-Patches-555883 ] fcntl.ioctl2 - fix for bug #555817
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 14 May 2002 05:04:29 -0700
Patches item #555883, was opened at 2002-05-14 22:04
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=555883&group_id=5470
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Anthony Baxter (anthonybaxter)
Assigned to: Nobody/Anonymous (nobody)
Summary: fcntl.ioctl2 - fix for bug #555817
Initial Comment:
See bug #555817 - the basics of it are that some
ioctl calls rely on both getting back the modified
third argument and the return code. Python's ioctl
implementation doesn't allow this. Linux docs explicitly
mention this, the solaris docs also say it's possible
(but not so explicitly).
Anyway, this fix is a patch to fcntlmodule.c and a
test_ioctl.py script - it merely tries to use TIOCGPGRP
and compares it to os.getpgrp().
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=555883&group_id=5470