Adding definition for _SC_AVPHYS_PAGES#83
Adding definition for _SC_AVPHYS_PAGES#83MedourMehdi wants to merge 4 commits intofreemint:masterfrom
Conversation
|
Hmm, maybe we should also update posix/sysconf.c? It's quite outdated (see _SC_LAST...) and maybe we should add at least something like Malloch(-1)/PAGE_SIZE there (and something similar for total memory size) |
|
Yes I'm agree but doesn't it need to be part of an other commit? I though that missing values here are About SC_LAST I don't know where it comes from and what it does |
|
_SC_LAST is, if I understand correctly, the last index of all handled values, like you updated in FreeMiNT. The proposal with Malloch() was the first thing which came into my mind -- obviously, it's gonna be a hack anyway but we should return at least something so given software will not be working only in FreeMiNT. And sure, a separate commit is fine. |
|
Yes I understand that too but it doesn't exist elsewhere (at least no trace in my google searches) and it's not used in mintlib so I was wondering if you'll have some clue about it. Yes agreed better to give something than crashing :) |
Related to Freemint kernel commit ea227c8