From 19f14adb9e0878440bb8ebb47293fcf9385e2326 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Sun, 7 May 2023 21:07:22 -0500 Subject: [PATCH] Update changelog. --- CHANGELOG.md | 3 +++ src/core/capi.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8bcbc75b..95c39ef4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,11 @@ All notable changes to this project will be documented in this file. ## Unreleased - ??? +- Fix `ev/select` on threaded channels sometimes live-locking. - Support the `NO_COLOR` environment variable to turn off VT100 color codes in repl (and in scripts). + See http://no-color.org/ - Disallow using `(splice x)` in contexts where it doesn't make sense rather than silently coercing to `x`. + Instead, raise a compiler error. - Change the names of `:user8` and `:user9` sigals to `:interrupt` and `:await` - Change the names of `:user8` and `:user9` fiber statuses to `:interrupted` and `:suspended`. - Add `ev/all-tasks` to see all currently suspended fibers. diff --git a/src/core/capi.c b/src/core/capi.c index 4972d8fb..6984d3ad 100644 --- a/src/core/capi.c +++ b/src/core/capi.c @@ -215,7 +215,7 @@ const char *janet_getcstring(const Janet *argv, int32_t n) { return janet_getcbytes(argv, n); } -const char* janet_getcbytes(const Janet *argv, int32_t n) { +const char *janet_getcbytes(const Janet *argv, int32_t n) { JanetByteView view = janet_getbytes(argv, n); const char *cstr = (const char *)view.bytes; if (strlen(cstr) != (size_t) view.len) {