Release Cosmopolitan v3.5.6

This commit is contained in:
Justine Tunney 2024-07-20 02:28:19 -07:00
parent 2018cac11f
commit 3374cbba73
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
4 changed files with 6 additions and 7 deletions

View file

@ -4,7 +4,7 @@
#define __COSMOPOLITAN_MAJOR__ 3
#define __COSMOPOLITAN_MINOR__ 5
#define __COSMOPOLITAN_PATCH__ 5
#define __COSMOPOLITAN_PATCH__ 6
#define __COSMOPOLITAN__ \
(100000000 * __COSMOPOLITAN_MAJOR__ + 1000000 * __COSMOPOLITAN_MINOR__ + \
__COSMOPOLITAN_PATCH__)

View file

@ -146,9 +146,7 @@ static int __muntrack(char *addr, size_t size, int pagesz,
__maps.count -= 1;
__maps_check();
} else if (IsWindows()) {
// you can't carve up memory maps on windows. our mmap() makes
// this not a problem (for non-enormous memory maps) by making
// independent mappings for each 64 kb granule, under the hood
// you can't carve up memory maps on windows ;_;
rc = einval();
} else if (addr <= map_addr) {
// shave off lefthand side of mapping