• Gregory P. Smith's avatar
    Prevent ioctl op codes from being sign extended from int to unsigned long · a5cfcad0
    Gregory P. Smith yazdı
    when used on platforms that actually define ioctl as taking an unsigned long.
    (the BSDs and OS X / Darwin)
    
    Adds a unittest for fcntl.ioctl that tests what happens with both positive and
    negative numbers.
    
    This was done because of issue1471 but I'm not able to reproduce -that- problem
    in the first place on Linux 32bit or 64bit or OS X 10.4 & 10.5 32bit or 64 bit.
    a5cfcad0
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
RISCOS Loading commit data...
Tools Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...