Minor fixes.
h3rald h3rald@h3rald.com
Thu, 25 Jun 2026 11:21:41 +0200
5 files changed,
6 insertions(+),
5 deletions(-)
M
releases/490-3.html
→
releases/490-3.html
@@ -7,6 +7,7 @@ </ul>
<h4>Fixes</h4> <ul> + <li>Now using <code>HEX_STDIN_BUFFER_SIZE</code> when processing standard input.</li> <li>Added extra calls to free allocated items in some symbols.</li> </ul>
M
scripts/web.hex
→
scripts/web.hex
@@ -3,7 +3,7 @@
"./lib/utils.hbx" read "utils.hbx" ! "2026" "meta-year" : -"480-0" "meta-release" : +"490-3" "meta-release" : "web/assets" "d-assets" : "web/templates" "d-templates" : "web/contents" "d-contents" :
M
src/hex.c
→
src/hex.c
@@ -23,7 +23,7 @@ #include <sys/wait.h>
#endif // Constants -#define HEX_VERSION "480-0" +#define HEX_VERSION "490-3" #define HEX_STDIN_BUFFER_SIZE 16384 #define HEX_INITIAL_REGISTRY_SIZE 512 #define HEX_REGISTRY_SIZE 4096@@ -7177,7 +7177,7 @@ // Process piped input from stdin
void hex_process_stdin(hex_context_t *ctx) { - char buffer[8192]; // Adjust buffer size as needed + char buffer[HEX_STDIN_BUFFER_SIZE]; int bytesRead = fread(buffer, 1, sizeof(buffer) - 1, stdin); if (bytesRead == 0) {
M
src/main.c
→
src/main.c
@@ -198,7 +198,7 @@ // Process piped input from stdin
void hex_process_stdin(hex_context_t *ctx) { - char buffer[8192]; // Adjust buffer size as needed + char buffer[HEX_STDIN_BUFFER_SIZE]; int bytesRead = fread(buffer, 1, sizeof(buffer) - 1, stdin); if (bytesRead == 0) {