Message335731
> It looks like it does skip calling ftruncate() if size is 0. From posixshmem.c:
Let me rephrase: are we forced to specify a value (aka call ftruncate()) on create ? If we are as I think, could size have a reasonable default value instead of 0? Basically I'm wondering if we can relieve the common user from thinking about what size to use, mostly because it's sort of a low level detail. Could it perhaps default to mmap.PAGESIZE? |
|
Date |
User |
Action |
Args |
2019-02-16 23:28:34 | giampaolo.rodola | set | recipients:
+ giampaolo.rodola, brett.cannon, nascheme, rhettinger, terry.reedy, ronaldoussoren, pitrou, osvenskan, skrah, pmpp, lukasz.langa, eric.snow, yselivanov, davin |
2019-02-16 23:28:34 | giampaolo.rodola | set | messageid: <1550359714.34.0.14469022576.issue35813@roundup.psfhosted.org> |
2019-02-16 23:28:34 | giampaolo.rodola | link | issue35813 messages |
2019-02-16 23:28:34 | giampaolo.rodola | create | |
|