mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-03 11:12:27 +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
|
@ -51,7 +51,7 @@ TEST(sched_getaffinity, firstOnly) {
|
|||
}
|
||||
|
||||
TEST(sched_getaffinity, secondOnly) {
|
||||
if (_getcpucount() < 2) return;
|
||||
if (__get_cpu_count() < 2) return;
|
||||
cpu_set_t x, y;
|
||||
CPU_ZERO(&x);
|
||||
CPU_SET(1, &x);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue