mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-23 19:10:30 +00:00
Add epoll and do more release readiness changes
This change also pays off some of the remaining technical debt with stdio, file descriptors, and memory managemnt polyfills.
This commit is contained in:
parent
a9ea949df8
commit
3e4fd4b0ad
271 changed files with 5706 additions and 1365 deletions
|
@ -61,7 +61,7 @@ textwindows int madvise$nt(void *addr, size_t length, int advice) {
|
|||
if (fn(GetCurrentProcess(), &rangecount, ranges, 0)) {
|
||||
return 0;
|
||||
} else {
|
||||
return winerr();
|
||||
return __winerr();
|
||||
}
|
||||
} else {
|
||||
return enosys();
|
||||
|
@ -72,7 +72,7 @@ textwindows int madvise$nt(void *addr, size_t length, int advice) {
|
|||
if (fn(addr, length, kNtVmOfferPriorityNormal)) {
|
||||
return 0;
|
||||
} else {
|
||||
return winerr();
|
||||
return __winerr();
|
||||
}
|
||||
} else {
|
||||
return enosys();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue