hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 57b44c2343a86cb2f44838c7af4bb60e8ce87886
parent eb220aa979f40372915c2dab9cd240db68e5dd20
Author: Ember Sawady <ecs@d2evs.net>
Date:   Wed, 31 May 2023 01:42:11 +0000

rt: fix platform_abort

Signed-off-by: Ember Sawady <ecs@d2evs.net>

Diffstat:
Mrt/+freebsd/platform_abort.ha | 4++--
Mrt/+linux/platform_abort.ha | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/rt/+freebsd/platform_abort.ha b/rt/+freebsd/platform_abort.ha @@ -6,8 +6,8 @@ const sep = ": "; const linefeed = "\n"; write(STDERR_FILENO, *(&prefix: **void): *const u8, len(prefix)): void; - write(STDERR_FILENO, *(&loc: **void): *const u8, len(prefix)): void; - write(STDERR_FILENO, *(&sep: **void): *const u8, len(prefix)): void; + write(STDERR_FILENO, *(&loc: **void): *const u8, len(loc)): void; + write(STDERR_FILENO, *(&sep: **void): *const u8, len(sep)): void; write(STDERR_FILENO, *(&msg: **void): *const u8, len(msg)): void; write(STDERR_FILENO, *(&linefeed: **void): *const u8, 1): void; kill(getpid(), SIGABRT): void; diff --git a/rt/+linux/platform_abort.ha b/rt/+linux/platform_abort.ha @@ -6,8 +6,8 @@ const sep = ": "; const linefeed = "\n"; write(STDERR_FILENO, *(&prefix: **void): *const u8, len(prefix)): void; - write(STDERR_FILENO, *(&loc: **void): *const u8, len(prefix)): void; - write(STDERR_FILENO, *(&sep: **void): *const u8, len(prefix)): void; + write(STDERR_FILENO, *(&loc: **void): *const u8, len(loc)): void; + write(STDERR_FILENO, *(&sep: **void): *const u8, len(sep)): void; write(STDERR_FILENO, *(&msg: **void): *const u8, len(msg)): void; write(STDERR_FILENO, *(&linefeed: **void): *const u8, 1): void; kill(getpid(), SIGABRT): void;