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 bradh
Recipients
Date 2005-09-30.10:18:49
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
The  fcntl call doesn't work correctly on AMD-64, because of an 
unsigned int conversion problem. I found the problem using the 
dnotify.py code from buildbot.sf.net (attached). It (roughly) does: 
        self.flags = reduce(lambda x, y: x | y, flags) | 
fcntl.DN_MULTISHOT 
        self.fd = os.open(dirname, os.O_RDONLY) 
        fcntl.fcntl(self.fd, fcntl.F_NOTIFY, self.flags) 
 
fcntl.DN_MULTISHOT is 0x80000000, which causes 
OverflowError: signed integer is greater than maximum 
 
There is a similar fix already committed for ioctl - see 
http://cvs.sourceforge.net/viewcvs.py/python/python/dist/src/Modules/fcntlmodule.c?r1=2.43&r2=2.44 
 
 
History
Date User Action Args
2007-08-23 15:44:05adminlinkissue1309352 messages
2007-08-23 15:44:05admincreate