diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2009-09-21 21:42:29 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2009-09-21 21:42:29 (GMT) |
commit | 384c92083296c7533fe36d5081c4c6dbee10990d (patch) | |
tree | 60e5f9a340f649cd2c63e477491f7c6810f09253 /Modules/_io/fileio.c | |
parent | 5a7619d26f55e689e06bfff2387605399df2c65a (diff) | |
download | cpython-384c92083296c7533fe36d5081c4c6dbee10990d.zip cpython-384c92083296c7533fe36d5081c4c6dbee10990d.tar.gz cpython-384c92083296c7533fe36d5081c4c6dbee10990d.tar.bz2 |
Merged revisions 75009 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r75009 | antoine.pitrou | 2009-09-21 23:37:02 +0200 (lun., 21 sept. 2009) | 13 lines
Merged revisions 75007 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75007 | antoine.pitrou | 2009-09-21 23:17:48 +0200 (lun., 21 sept. 2009) | 7 lines
Issue #6236, #6348: Fix various failures in the io module under AIX
and other platforms, when using a non-gcc compiler. Patch by egreen.
In addition, I made explicit the signedness of all bitfields in the
IO library.
........
................
Diffstat (limited to 'Modules/_io/fileio.c')
-rw-r--r-- | Modules/_io/fileio.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/_io/fileio.c b/Modules/_io/fileio.c index b21712c..f5ba971 100644 --- a/Modules/_io/fileio.c +++ b/Modules/_io/fileio.c @@ -45,10 +45,10 @@ typedef struct { PyObject_HEAD int fd; - unsigned readable : 1; - unsigned writable : 1; - int seekable : 2; /* -1 means unknown */ - int closefd : 1; + unsigned int readable : 1; + unsigned int writable : 1; + signed int seekable : 2; /* -1 means unknown */ + unsigned int closefd : 1; PyObject *weakreflist; PyObject *dict; } fileio; |