Message340476
I don't understand why PR 12394 modifies flags afterwards, whereas "m = mmap.mmap(-1, 100)" doesn't specify explicitly flags. So the bug looks to be default flags set by Python, no?
int flags = MAP_SHARED;
...
if (!PyArg_ParseTupleAndKeywords(args, kwdict, "in|iii" _Py_PARSE_OFF_T, keywords,
&fd, &map_size, &flags, &prot,
&access, &offset))
Is MAP_SHARED constant available in C on VxWorks?
Is mmap.MAP_SHARED constant available in Python on VxWorks? |
|
Date |
User |
Action |
Args |
2019-04-18 09:27:04 | vstinner | set | recipients:
+ vstinner, lzhao |
2019-04-18 09:27:04 | vstinner | set | messageid: <1555579624.17.0.0221242534411.issue36648@roundup.psfhosted.org> |
2019-04-18 09:27:04 | vstinner | link | issue36648 messages |
2019-04-18 09:27:04 | vstinner | create | |
|