You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in posix/src/os-impl-tasks.c sysconf() is used. Its storage is into a type size_t, but sysconf() can return -1. We should change the storage to ssize_t to accommodate this, or we should check for -1 and then store a non-negative value to POSIX_GlobalVars.PageSize. sysconf() shouldn't return -1 when passed _SC_PAGESIZE, so this may be low priority.
The text was updated successfully, but these errors were encountered:
skliper
added a commit
to skliper/osal
that referenced
this issue
Dec 9, 2020
in posix/src/os-impl-tasks.c sysconf() is used. Its storage is into a type size_t, but sysconf() can return -1. We should change the storage to ssize_t to accommodate this, or we should check for -1 and then store a non-negative value to POSIX_GlobalVars.PageSize. sysconf() shouldn't return -1 when passed _SC_PAGESIZE, so this may be low priority.
The text was updated successfully, but these errors were encountered: