summaryrefslogtreecommitdiffstats
path: root/Modules/_io/textio.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-09-21 21:37:02 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-09-21 21:37:02 (GMT)
commitca767bd2db064e8e16ba45d48706dcb4aa6ec42b (patch)
treec9ad288331d294e7653949bc85f956c2be5fdaf7 /Modules/_io/textio.c
parent741984dc1771519be367bde5aa3a7655366bed98 (diff)
downloadcpython-ca767bd2db064e8e16ba45d48706dcb4aa6ec42b.zip
cpython-ca767bd2db064e8e16ba45d48706dcb4aa6ec42b.tar.gz
cpython-ca767bd2db064e8e16ba45d48706dcb4aa6ec42b.tar.bz2
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/textio.c')
-rw-r--r--Modules/_io/textio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/_io/textio.c b/Modules/_io/textio.c
index b91852e..333c93f 100644
--- a/Modules/_io/textio.c
+++ b/Modules/_io/textio.c
@@ -190,9 +190,9 @@ typedef struct {
PyObject_HEAD
PyObject *decoder;
PyObject *errors;
- int pendingcr:1;
- int translate:1;
- unsigned int seennl:3;
+ signed int pendingcr: 1;
+ signed int translate: 1;
+ unsigned int seennl: 3;
} nldecoder_object;
static int