Release Cosmopolitan v3.3.7

This commit is contained in:
Justine Tunney 2024-05-24 19:35:19 -07:00
parent ed93fc3dd7
commit ce9aeb2aed
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
2 changed files with 2 additions and 6 deletions

View file

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

View file

@ -45,12 +45,8 @@ int test(void) {
return 6;
if (!(buf = malloc(SIZE)))
return 7;
if ((rc = fread(buf, SIZE, 1, f)) != 1) {
fprintf(stderr, "tell = %zu\n", ftello(f));
fprintf(stderr, "rc = %zu\n", rc);
perror("fread");
if ((rc = fread(buf, SIZE, 1, f)) != 1)
return 8;
}
if (buf[0] != 'a')
return 9;
if (buf[SIZE - 1] != 'z')