From b947bcdc62252bc9aacda9c1e50f6e1258bf4a29 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Fri, 18 Apr 2025 16:42:53 +0900 Subject: [PATCH] Bump version to 1.20 --- CMakeLists.txt | 2 +- Changelog.md | 10 ++++++++-- cosmopolitan/Makefile | 2 +- src/version.h | 2 +- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9dd4e39..c2afe3c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.10) project(SimpleArchiver C) -set(SimpleArchiver_VERSION 1.19) +set(SimpleArchiver_VERSION 1.20) set(SimpleArchiver_SOURCES src/main.c diff --git a/Changelog.md b/Changelog.md index 118e345..3f73b0d 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,14 +2,20 @@ ## Upcoming Changes -Fix erronous usage of return value from `fcntl(...)`. - ## Alternate Changes (Alternate Changes are changes that are not in `main` or `dev`.) Attempt fix https://github.com/Stephen-Seo/SimpleArchiver/issues/6 . +## Version 1.20 + +Fix erronous usage of return value from `fcntl(...)`. + +Cleanup of warnings that show when building for 32-bit systems, including +integer conversions between `size_t` and `uint64_t` (`size_t` is 4 bytes on +32-bit systems and 8 bytes on 64-bit systems). + ## Version 1.19 Fix bug where writes fail sometimes (due to checking against wrong byte count diff --git a/cosmopolitan/Makefile b/cosmopolitan/Makefile index 8ec68d9..0ad84ca 100644 --- a/cosmopolitan/Makefile +++ b/cosmopolitan/Makefile @@ -1,6 +1,6 @@ COSMOCC ?= ${HOME}/Downloads/cosmocc/bin/cosmocc -VERSION_STR := $(shell /usr/bin/git describe --long --tags || /usr/bin/echo 1.19) +VERSION_STR := $(shell /usr/bin/git describe --long --tags || /usr/bin/echo 1.20) OTHER_FLAGS := -DSIMPLE_ARCHIVER_VERSION_STR=\"${VERSION_STR}\" diff --git a/src/version.h b/src/version.h index 86c9a88..dfb4420 100644 --- a/src/version.h +++ b/src/version.h @@ -20,7 +20,7 @@ #define SEODISPARATE_COM_SIMPLE_ARCHIVER_VERSION_H_ #ifndef SIMPLE_ARCHIVER_VERSION_STR -#define SIMPLE_ARCHIVER_VERSION_STR "1.19" +#define SIMPLE_ARCHIVER_VERSION_STR "1.20" #endif #endif -- 2.49.0