From: Stephen Seo Date: Wed, 9 Apr 2025 09:56:22 +0000 (+0900) Subject: v1.19, fix write error, refactor error handling X-Git-Tag: 1.19^2 X-Git-Url: https://git.seodisparate.com/stephenseo/LD55?a=commitdiff_plain;h=20ee7e91a60b7339a7a371911841b0df9e4904f4;p=SimpleArchiver v1.19, fix write error, refactor error handling --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 80bf9ca..9dd4e39 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.10) project(SimpleArchiver C) -set(SimpleArchiver_VERSION 1.18) +set(SimpleArchiver_VERSION 1.19) set(SimpleArchiver_SOURCES src/main.c diff --git a/Changelog.md b/Changelog.md index d447c01..ce27603 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,6 +2,13 @@ ## Upcoming Changes +## Version 1.19 + +Fix bug where writes fail sometimes (due to checking against wrong byte count +(read instead of write)). + +Refactoring of error handling. + ## Version 1.18 Add file format version 4 to support more than 4 billion symlinks, and more diff --git a/cosmopolitan/Makefile b/cosmopolitan/Makefile index 9d4abde..8ec68d9 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.18) +VERSION_STR := $(shell /usr/bin/git describe --long --tags || /usr/bin/echo 1.19) OTHER_FLAGS := -DSIMPLE_ARCHIVER_VERSION_STR=\"${VERSION_STR}\" diff --git a/src/version.h b/src/version.h index bba8670..86c9a88 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.18" +#define SIMPLE_ARCHIVER_VERSION_STR "1.19" #endif #endif