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 Michael.Felt
Recipients Michael.Felt
Date 2017-12-20.19:36:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1513798596.32.0.213398074469.issue32390@psf.upfronthosting.co.za>
In-reply-to
Content
OOps - wrong error! 

It is the new fsid variable!

michael@x071:[/data/prj/python/git/python3-3.7.0.a3]xlc_r  -DNDEBUG -O -I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5      -I. -I./Include -I/opt/in>
"./Modules/posixmodule.c", line 5514.11: 1506-131 (W) Explicit dimension specification or initializer required for an auto or static array.
"./Modules/posixmodule.c", line 9328.64: 1506-280 (S) Function argument assignment between types "unsigned long" and "struct fsid_t" is not allowed.

     9326 |     PyStructSequence_SET_ITEM(v, 9, PyLong_FromLong((long) st.f_namemax));
     9326 +     (((PyTupleObject *)(v))->ob_item[9] = PyLong_FromLong((long) st.f_namemax));
     9327 | #endif
"./Modules/posixmodule.c", line 9328.64: 1506-280 (S) Function argument assignment between types "unsigned long" and "struct fsid_t" is not allowed
.
     9328 |     PyStructSequence_SET_ITEM(v, 10, PyLong_FromUnsignedLong(st.f_fsid));
     9328 +     (((PyTupleObject *)(v))->ob_item[10] = PyLong_FromUnsignedLong(st.f_fsid));
     9329 |     if (PyErr_Occurred()) {
     9330 |         Py_DECREF(v);
     9330 +         do { PyObject *_py_decref_tmp = (PyObject *)(v); if (   --(_py_decref_tmp)->ob_refcnt != 0) ; else (      (*(((PyObject*)(_py_d
ecref_tmp))->ob_type)->tp_dealloc)((PyObject *)(_py_decref_tmp))); } while (0);
History
Date User Action Args
2017-12-20 19:36:36Michael.Feltsetrecipients: + Michael.Felt
2017-12-20 19:36:36Michael.Feltsetmessageid: <1513798596.32.0.213398074469.issue32390@psf.upfronthosting.co.za>
2017-12-20 19:36:36Michael.Feltlinkissue32390 messages
2017-12-20 19:36:36Michael.Feltcreate