From ed598a4788c036304f00fef8050b2a8bdcea8e24 Mon Sep 17 00:00:00 2001 From: Kevin Masterson Date: Wed, 14 Jan 2026 16:04:14 +0200 Subject: [PATCH 1/3] bump to v2.0.0 --- qvmops.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qvmops.h b/qvmops.h index 3d724cb..5818b6e 100644 --- a/qvmops.h +++ b/qvmops.h @@ -19,7 +19,7 @@ Created By: #include #include -#define QVMOPS_VERSION "1.1.2" +#define QVMOPS_VERSION "2.0.0" // length in bytes of each row of the "hex editor" view of the data segment #define DATA_ROW_LEN 32 From 2f2122312006671fd558f6365fd598f4323fa476 Mon Sep 17 00:00:00 2001 From: Kevin Masterson Date: Wed, 14 Jan 2026 16:06:03 +0200 Subject: [PATCH 2/3] fix linux error --- symbols.c | 10 +++++----- util.h | 2 ++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/symbols.c b/symbols.c index 6d5fe9e..7cd44c7 100644 --- a/symbols.c +++ b/symbols.c @@ -189,7 +189,7 @@ static symbolmap_t parse_map_line_ex(char* line) { } lines[linecount].index = linecount; lines[linecount].offset = strtoul(buf[1], NULL, 16); - lines[linecount].symbol = _strdup(buf[2]); + lines[linecount].symbol = strdup(buf[2]); linecount++; ret.segment = -1; return ret; @@ -202,12 +202,12 @@ static symbolmap_t parse_map_line_ex(char* line) { // a if (i < 0) { ret.offset = i; - ret.symbol = _strdup(buf[3]); + ret.symbol = strdup(buf[3]); } // b else { ret.offset = strtoul(buf[1], NULL, 16); - ret.symbol = _strdup(buf[3]); + ret.symbol = strdup(buf[3]); } } } @@ -225,7 +225,7 @@ static symbolmap_t parse_map_line_ex(char* line) { if (ret.segment == 2 && !strncmp(buf[3], "_stack", 6)) ret.segment = 3; ret.offset = strtoul(buf[1], NULL, 16); - ret.symbol = _strdup(buf[3]); + ret.symbol = strdup(buf[3]); } else { ret.segment = -1; @@ -253,6 +253,6 @@ static symbolmap_t parse_map_line(char* line) { ret.segment = atoi(buf[0]); ret.offset = strtoul(buf[1], NULL, 16); - ret.symbol = _strdup(buf[2]); + ret.symbol = strdup(buf[2]); return ret; } diff --git a/util.h b/util.h index 1853c28..52fc1d7 100644 --- a/util.h +++ b/util.h @@ -32,6 +32,8 @@ char* strrstr(const char* str, const char* substr); #define MINIMUM_BUFFER_SIZE 128 typedef intptr_t ssize_t; ssize_t getline(char** lineptr, size_t* n, FILE* stream); + +#define strdup _strdup #endif #endif // __QVMOPS_UTIL_H__ From 26102a31e6668a2bb14a272f4be41c758d84ed63 Mon Sep 17 00:00:00 2001 From: Kevin Masterson Date: Wed, 14 Jan 2026 16:10:18 +0200 Subject: [PATCH 3/3] add readme, remove output files from package --- .github/build/linux/package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/build/linux/package.sh b/.github/build/linux/package.sh index 672db9a..0c552a1 100755 --- a/.github/build/linux/package.sh +++ b/.github/build/linux/package.sh @@ -3,5 +3,5 @@ mkdir -p package cd package rm * cp ../qvmops ./ -cp ../qagame.qvm.txt ./ +cp ../readme.md ./ cd ..