mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-06 11:18:30 +00:00
Fix small matters and improve sysconf()
- Fix mkdeps.com out of memory error - Remove static memory from __get_cpu_count() - Add support for passing hyphen to cat in cocmd - Change more ZipOS errors from ENOTSUP to EROFS - Specify mem_unit in sysinfo() output on BSD OSes
This commit is contained in:
parent
eebc24b9cd
commit
3a9cac4892
55 changed files with 411 additions and 262 deletions
|
@ -1916,7 +1916,7 @@ int main(int argc, char *argv[]) {
|
|||
// we don't have proper futexes on these platforms
|
||||
// we'll be somewhat less aggressive about workers
|
||||
if (IsXnu() || IsNetbsd()) {
|
||||
g_workers = MIN(g_workers, _getcpucount());
|
||||
g_workers = MIN(g_workers, (unsigned)__get_cpu_count());
|
||||
}
|
||||
|
||||
// user interface
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue